Seems to be a permission issue, i experienced a similar problem last week after upgrading Bacula. The following response from Simone corrected the errors i had backing up my catalog.
See below (hope that helps, also check mailing list to see full thread)


*On 02/25/2013 03:30 AM, Simone Caronni wrote:*
On 25 February 2013 09:14, Simone Caronni <negativ...@gmail.com <mailto:negativ...@gmail.com>> wrote:

   Restore /etc/bacula to the default permissions + bacula group:

   chown -R root:root /etc/bacula
   chgrp bacula /etc/bacula \
            /etc/bacula/bacula-dir.conf
            /etc/bacula/query.sql


Well, this should be better; same result but a bit more restrictive.
Fixes also the console permissions to be more restrictive while preventing the bacula daemon to poke with other files in case of being compromised:

chown -R root:root /etc/bacula
chmod 755 /etc/bacula
chmod 640 /etc/bacula/*
chgrp bacula /etc/bacula/bacula-dir.conf /etc/bacula/query.sql

On 03/04/2013 01:46 PM, Carlos Perez wrote:
Anyone, who can lead me in the right direction? I have been tasked with testing bacula so we can hopefully moved from our commercial solutions since it doesn't meet our requirements at this time. Bacula, seems to be the perfect solution but I have to do a lots of testing. Almost, everything runs with the exception of catalog I i'm attaching the error code, any help will be highly appreciated:

2013-03-03 23:10:02   baculaserver-dir JobId 133: shell command: run BeforeJob 
"/usr/lib64/bacula/make_catalog_backup.pl  <http://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  <http://10.1.2.48/webacula/log/view-log-id/jobid/133#>  Level:       
    Full
   Client:                 "baculaserver-fd" 5.2.12 (12Sep12) 
x86_64-suse-linux-gnu,suse,11



------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<<attachment: hbryant.vcf>>

------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to