Hey Josh, Sorry for delayed answer. Yes i did try to force user / group, still no success I installed a fresh VM, with a fresh bacula, everything works as expected.
I've also seen that this "old" VM was installed using LVM. Maybe it came from here (missing rights somewhere somehow) Anyway, thank you everyone for your support, as always, fully appreciated. Thibault ----- Mail original ----- De: "Josh Fisher" <jfis...@pvct.com> À: krashoverr...@free.fr Cc: bacula-users@lists.sourceforge.net Envoyé: Mercredi 10 Octobre 2018 12:32:25 Objet: Re: [Bacula-users] bacula-sd.conf: permission denied On 10/10/2018 2:35 AM, krashoverr...@free.fr wrote: > Hey Sven, > > I've installed like 5/6 bacula solutions for now, and all of them worked as > you say, out of the box, all of them installed from Debian repository > I just don't understand where the problem is from, and have no idea where to > find more debug log (and i like to understand) > > I've also tried to start bacula-sd with -d 99 in order to have debug, > everything is correct and the SD starts (but from CLI only) Then do 'ps aux | grep bacula-sd' and see what bacula-sd ends up running as when systemd starts it. I suspect that it runs as a different user:group. Have you tried passing -u and -g flags to bacula-sd when you run it from the cli? > > I guess i'll have to re-install a fresh VM > > Thank you, > > Thibault > > > ----- Mail original ----- > De: "Sven Hartge" <s...@svenhartge.de> > À: bacula-users@lists.sourceforge.net > Envoyé: Mardi 9 Octobre 2018 20:42:43 > Objet: Re: [Bacula-users] bacula-sd.conf: permission denied > > 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. > > > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > > > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users