I'm getting the following error, and have no idea why - hoping someone
can shed some light on it.  It seems to be only happening for the Full
backup (which is the only one that has a RunBeforeJob defined
currently - I'm not sure what that does so I hadn't added it to others
yet).  I've included the message and permissions listings below.  This
is on Ubuntu 8.04.

---------- Forwarded message ----------
Subject: Bacula: Backup Error of flamtap.com-fd Full

07-Mar 23:10 flamtap.com-dir JobId 1594: BeforeJob: run command
"/usr/bin/awk -f /etc/bacula/scripts/make_catalog_backup_awk -v
cat1=BackupCatalog /etc/bacula/bacula-dir.conf"
07-Mar 23:10 flamtap.com-dir JobId 1594: BeforeJob: awk:
/etc/bacula/scripts/make_catalog_backup_awk:10: fatal: cannot open
file `/etc/bacula/bacula-dir.conf' for reading (Permission denied)
07-Mar 23:10 flamtap.com-dir JobId 1594: Error: Runscript: BeforeJob
returned non-zero status=2. ERR=Child exited with code 2

ls -l /etc/bacula:
-rw-r----- 1 root   root   11184 2009-03-05 23:27 bacula-dir.conf
-rw-r----- 1 root   root    8710 2009-03-01 22:54 bacula-dir.conf.dist
-rw-r----- 1 root   root    1024 2009-03-01 22:54 bacula-fd.conf
-rw-r----- 1 root   root    1023 2009-03-01 22:54 bacula-fd.conf.dist
-rw-r----- 1 bacula bacula  6481 2009-03-01 22:54 bacula-sd.conf
-rw-r----- 1 bacula bacula  6467 2009-03-01 22:54 bacula-sd.conf.dist
-rw-r----- 1 root   bacula   178 2009-03-01 22:54 bconsole.conf
-rw-r----- 1 root   bacula   178 2009-03-01 22:54 bconsole.conf.dist
drwx------ 2 root   root    4096 2009-03-01 22:54 dir-files
drwxr-xr-x 2 root   root    4096 2009-03-01 22:55 scripts

ls -l /etc/bacula/scripts:
-rw-r--r-- 1 root root   280 2009-03-01 22:54 btraceback.gdb
-rwxr-xr-x 1 root root   104 2009-03-01 22:54 delete_catalog_backup
-rwxr-xr-x 1 root root  6752 2009-03-01 22:54 disk-changer
-rwxr-xr-x 1 root root 16997 2009-03-01 22:54 dvd-handler
-rwxr-xr-x 1 root root  1949 2009-03-01 22:54 make_catalog_backup
-rw-r--r-- 1 root root  1646 2009-03-01 22:54 make_catalog_backup_awk
-rwxr-xr-x 1 root root  5861 2009-03-01 22:54 mtx-changer
-rw-r--r-- 1 root root  6635 2009-03-01 22:54 query.sql

-- 
Tony Yarusso
http://tonyyarusso.com/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to