On 09.10.18 14:26, krashoverr...@free.fr wrote: > I'm having a problem on a virtualized Debian 9 server where i want to install > bacula (7.4.4) > I'm not able to start the SD, while FD and DIR are OK > > When I try to start it with _systemd start bacula-sd_, i'm getting the > following > > Oct 9 14:11:29 bacula-sd[6539]: Config error: Cannot open config file > "/etc/bacula/bacula-sd.conf": Permission denied > Oct 9 14:11:29 bacula-sd[6539]: 09-Oct 14:11 bacula-sd: ERROR TERMINATION > at parse_conf.c:919 > Oct 9 14:11:29 bacula-sd[6539]: Config error: Cannot open config file > "/etc/bacula/bacula-sd.conf": Permission denied > Oct 9 14:11:29 systemd[1]: bacula-sd.service: Main process exited, > code=exited, status=1/FAILURE
How did you install bacula-sd on your system? If you used the packages from the Debian repository it should just work out of the box, at least it does in my tests. /etc/bacula/bacula-sd.conf should be owned by bacula:bacula and have permissions of 640 (-rw-r-----). The systemd unit starts bacula-sd as user bacula, and this user has bacula as main and tape as secondary group, it is able to read the configuration file. Unless you did something to your system you are not describing here, I can't see how above error can happen with the Debian packages. Grüße, Sven.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users