On Thursday 2021-03-18 02:57:51 Ismael Matos wrote: > Hello Everyone, > > I'm new to Bacula, trying to backup a couple of Ubuntu and Windows 10 > machines. I'm also no expert in Linux/Ubuntu. > > After installation of the latest version available, and the initial > configuration, I'm stuck with this situation: > - all 3 bacula-* services start automatically at boot without problems > or error messages, > - but the bacula-dir.service exits immediately. Again no error or > diagnostic messages, > - bacula-dir runs 100% OK when started manually from the console. > > Would anyone be able to help and point me in the right direction to get > bacula-dir service working automatically? > > Thanks and regards, > > Ismael
In such cases I always do the next few steps before anything else: 1. Check if Bacula services are running or not ps aux | grep -i bacula 2. Perform configuration syntax check using Bacula daemon programs # for bacula file daemon bacula-fd -t # for bacula storage daemon bacula-sd -t # for bacula director daemon bacula-dir -t 3. If that doesn't reveal the issue, try to run the daemon manually in foreground mode without systemd or init scripts. Make sure you are doing this as the same user a particular Bacula daemon is supposed to run (this is important). For example, you could temporary become "bacula" user using this command: sudo su - bacula -s /bin/bash If you are already root, leave out the sudo command. Check the output of the "bacula-fd --help" command to see the list the daemon options. Since you have mentioned that you are experienced in Linux administration this might be a bit difficult for you. But then again, this also an opportunity to gain new knowledge. :-) -- Josip Deanovic _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users