On 09/22/17 08:57, Rick Sutphin wrote:
I recently installed bareos from the bareos repos on Ubuntu 16.04 (lxc
container).
The bareos-dir daemon will start from the command line, but will not start via
the startup scripts i.e.:
# bareos-dir
successfully starts the daemon (ps aux | grep bareos).
but the following will not and silently fail (except the /etc/init.d/bareos-dir script
which displays "[ ok ] Starting bareos-dir (via systemctl): bareos-dir.service."
:
# /etc/init.d/bareos-dir start
# service bareos-dir start
# systemctl start bareos-dir.service
The bareos-sd and bareos-fd do start normally at startup.
Any help would be greatly appreciated.
From the bareos-dir man page:
-d nn Set debug level to nn.
-dt Print timestamp in debug output.
-f Run in foreground (for debugging).
You'll want to run the director not as root but as (probably) the user bareos.
(I'm not using Ubuntu, so I'm not sure what user the director runs as.) So su
to the user bareos and then run the director in the foreground with debugging
turned on. That will probably tell you the problem.
My first guess would be a problem with the configuration file.
Also, have you checked the Bareos log file? Mine is in
/var/log/bareos/bareos.log.
--
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.