Bacula-users

Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration

2013-03-05 12:58:31
Subject: Re: [Bacula-users] BeforeJob: Can't find your catalog (MyCatalog) in director configuration
From: Carlos Perez <carlos.r.perez AT gmail DOT com>
To: compdoc AT hotrodpc DOT com, "bacula-users at lists.sourceforge.net" <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 5 Mar 2013 09:55:40 -0800
 # 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

Yes, I have windows, linux clients and the server itself doing backups without any errors.  Catalog, is the one not cooperating, thanks for you help and I will put a few more hours into before starting from scratch.






On Tue, Mar 5, 2013 at 8:03 AM, compdoc <compdoc AT hotrodpc DOT com> wrote:

>2013-03-03 23:10:02   baculaserver-dir JobId 133: shell command: run BeforeJob "/usr/lib64/bacula/make_catalog_backup.pl MyCatalog"

 

>2013-03-03 23:10:02   baculaserver-dir JobId 133: BeforeJob: sh: /usr/sbin/dbcheck.mysql: No such file or directory

>2013-03-03 23:10:02   baculaserver-dir JobId 133: BeforeJob: Can't find your catalog (MyCatalog) in director configuration

 

>2013-03-03 23:10:02   baculaserver-dir JobId 133: Error: Runscript: BeforeJob returned non-zero status=1. ERR=Child exited with code 1

 

>2013-03-03 23:10:02   baculaserver-dir JobId 133: Error: Bacula baculaserver-dir 5.2.12 (12Sep12):

>  Build OS:               x86_64-suse-linux-gnu suse 11

>  JobId:                  133

>  Job:                    MyCatalog.2013-03-03_23.10.00_23

>  Backup Level:           Full

>  Client:                 "baculaserver-fd" 5.2.12 (12Sep12) x86_64-suse-linux-gnu,suse,11

 

 

 

I'm thinking it might be useful to step through this manually. What is the result of the following command:

 

sudo /usr/lib64/bacula/make_catalog_backup.pl MyCatalog

 

On mine this takes a few minutes then exits without an error code.

 

The command:   "/usr/sbin/dbcheck.mysql: No such file or directory" isn’t working because the file doesn’t exist. You need to correct that. Sounds like you need to rename the file.

 

This site might be useful to you:

 

https://dan.langille.org/2010/03/23/baccula-errors-with-500-backup-catalog/

 

Is bacula working otherwise? Are you able to create backups of your clients?

 

 


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>