Am 05.03.2013 18:55, schrieb Carlos Perez:
>  # sudo /usr/lib64/bacula/make_catalog_backup.pl MyCatalog
> sh: /usr/sbin/dbcheck.mysql: No such file or directory
> Can't find your catalog (MyCatalog) in director configuration

The original make_catalog_backup.pl script uses the command
/usr/sbin/dbcheck to find the catalog. In your case it seems
to try /usr/sbin/dbcheck.mysql, which fails, and consequently
reports: "Can't find your catalog." If it cannot find your
catalog it cannot back it up. :-)

Look on your system if there is a file /usr/sbin/dbcheck.
If not, there's something fundamentally wrong with your
installation as that file is an essential part of Bacula,
so you should reinstall Bacula from scratch.

If the file /usr/sbin/dbcheck is there, search the script
/usr/lib64/bacula/make_catalog_backup.pl for the call to
dbcheck. Mine has this in line 45:

my $dir_conf='/usr/sbin/dbcheck -B -c /etc/bacula/bacula-dir.conf';

If yours says /usr/sbin/dbcheck.mysql instead, remove the .mysql
suffix.

HTH
T.

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to