On 04/24/2015 05:17 PM, Taylor wrote: > I went ahead and ran the bareos-sd daemon with debug level set to 1000. > > This is the only difference that I picked up until the job started writing > (when running under root). > > pkc-backup01-sd: bsys.c:622-0 Could not open state file. sfd=-1 size=192: > ERR=Permission denied > > When running under bareos, same issue, the job fails to run. (All other > backup jobs work when the daemon runs under bareos) > > Which state file is it looking for?
that's probably /var/lib/bareos/bareos-sd.<PID>.state, if bareos-sd was run as root before, it's owned by root and next run as bareos will have no permission. Same for /var/lib/bareos/bareos-sd.<PID>.pid Deleting them before starting again as bareos should fix that. -- Stephan Dühr [email protected] Bareos GmbH & Co. KG Phone: +49 221-630693-90 http://www.bareos.com Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646 Komplementär: Bareos Verwaltungs-GmbH Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz, M. v. Wieringen -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
