Re: [CentOS] Bacula dbcheck in CentOS6

2011-11-24 Thread John Hodrien
On Thu, 24 Nov 2011, Tilman Schmidt wrote:

> I don't have an account on the Redhat bugzilla, so that'll be for
> someone else.

The accounts are free to all.

jh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bacula dbcheck in CentOS6

2011-11-24 Thread Tilman Schmidt
Am 24.11.2011 14:28, schrieb Karanbir Singh:
> On 11/24/2011 09:13 AM, Tilman Schmidt wrote: 
>>> Anyone else notice that /usr/libexec/bacula/make_catalog_backup.pl runs a 
>>> "dbcheck -B"
>>> which doesn't seem to exist in the version of dbcheck shipped with it?
>>>
>>> That makes it rather hard to do a catalogue backup with the shipped script?
>>
>> That's an error in the RPM install script. 
> 
> Hope you filed a bugreport! ( bugs.centos.org and the if needed followup
> with a report at bugzilla.redhat.com, and cross reference )

Indeed I did, after finding to my surprise that it hadn't been reported yet:

http://bugs.centos.org/view.php?id=5260

I don't have an account on the Redhat bugzilla, so that'll be for
someone else.

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bacula dbcheck in CentOS6

2011-11-24 Thread Karanbir Singh
On 11/24/2011 09:13 AM, Tilman Schmidt wrote:   
>> Anyone else notice that /usr/libexec/bacula/make_catalog_backup.pl runs a 
>> "dbcheck -B"
>> which doesn't seem to exist in the version of dbcheck shipped with it?
>>
>> That makes it rather hard to do a catalogue backup with the shipped script?
> 
> That's an error in the RPM install script. 

Hope you filed a bugreport! ( bugs.centos.org and the if needed followup
with a report at bugzilla.redhat.com, and cross reference )

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Bacula dbcheck in CentOS6

2011-11-24 Thread Tilman Schmidt
[Is it true that nobody replied to this in four months?]

On Mon Jul 18 09:34:08 EDT 2011, Joseph L. Casale wrote:

> Anyone else notice that /usr/libexec/bacula/make_catalog_backup.pl runs a 
> "dbcheck -B"
> which doesn't seem to exist in the version of dbcheck shipped with it?
> 
> That makes it rather hard to do a catalogue backup with the shipped script?

That's an error in the RPM install script. It uses the "alternatives"
mechanism for switching between database backends but messes up.
/usr/sbin/dbcheck ends up being linked to /usr/sbin/bscan.mysql instead
of /usr/sbin/dbcheck.mysql. Consequently, when make_catalog_backup.pl
tries to run dbcheck it's actually bscan which gets run. Not
understanding the -B option is probably the least of its problems. :-)

Until the RPM gets fixed, you can manually correct the bad symlink with:

ln -sf /etc/alternatives/bacula-dbcheck /usr/sbin/dbcheck

HTH
T.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Bacula dbcheck in CentOS6

2011-07-18 Thread Joseph L. Casale
Anyone else notice that /usr/libexec/bacula/make_catalog_backup.pl runs a 
"dbcheck -B"
which doesn't seem to exist in the version of dbcheck shipped with it?

# strings /usr/sbin/dbcheck |grep -i print
sprintf
vfprintf
snprintf
   -dt   print timestamp in debug output
   -?print this message
%d block read errors not printed.

That makes it rather hard to do a catalogue backup with the shipped script?
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos