Hello,
something has changed that is preventing this from working, the package has
not changed in the last months regarding this.
Can you please test the following?
On 23 February 2013 21:57, Timo Neuvonen <timo-n...@tee-en.net> wrote:
> I updated 5.2.12 -> 5.2.13 via 'yum update' from EPEL repo on CentOS 6 x64
> system.
>
> A couple of issues:
>
> - storage daemon run as bacula:tape could not any more access the tape
> changer owned by root:tape (660).
> As a dirty fix I changed the daemon to run as root. I don't know if the
> same
> issue would have rosen with the actual tape drive.
>
> - director running as bacula:bacula could not any more run the catalog
> backup perl script
> /usr/libexec/bacula/make_catalog_backup.pl
> It resulted in error message
> BeforeJob: Can't find your catalog (MyCatalog) in director configuration
> Another dirty fix I used: running director as root:bacula
>
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
The result should look like this, with only bacula-dir.conf, query.sql and
/etc/bacula directory owned by group "bacula":
# ls -al
total 52
drwxrwx---. 2 root bacula 4096 Feb 25 08:50 .
drwxr-xr-x. 159 root root 12288 Feb 25 08:57 ..
-rw-r-----. 1 root bacula 8704 Feb 22 18:56 bacula-dir.conf
-rw-r-----. 1 root root 925 Feb 22 18:56 bacula-fd.conf
-rw-r-----. 1 root root 5822 Feb 22 18:56 bacula-sd.conf
-rw-r--r--. 1 root root 157 Feb 22 18:56 bat.conf
-rw-r--r--. 1 root root 155 Feb 22 18:56 bconsole.conf
-rw-r-----. 1 root bacula 256 Feb 21 17:59 query.sql
Please also restore the original users:
# ps -eaf | grep bacula
root 9333 1 0 13:14 ? 00:00:00 bacula-fd -c
/etc/bacula/bacula-fd.conf -u root -g root
bacula 9359 1 0 13:15 ? 00:00:00 bacula-sd -c
/etc/bacula/bacula-sd.conf -u bacula -g tape
bacula 9390 1 0 13:15 ? 00:00:00 bacula-dir -c
/etc/bacula/bacula-dir.conf -u bacula -g bacula
This should fix both the catalog backup and the director "reload" command.
Can you please give me feedback on how it goes?
Many thanks,
--Simone
------------------------------------------------------------------------------
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