I'm not sure about config checking, but I've found running the failing
service with '-f' (run in foreground) to be invaluable (and far better at
telling you what's going on that Systemd seems to be able to manage). For
example:

sudo bacula-dir -f

...Ralph

On Thu, Sep 8, 2016 at 8:53 PM, orocairion <acheron...@gmail.com> wrote:

> Hello all.
>
> I'm having a bit of issue with my bacula installation. Still doing some
> testing so I get an idea of how to make it work properly before deploying
> it
> in our servers
>
> I've been following the DigitalOcean tutorial and how to do basic
> installation and configuration; backing up and restoring locally(localhost.
> The sd, fd and dir are in the same VM) works just fine with a pretty much a
> default installation and configuration. The problem starts when I add the
> functions to include remote clients.
>
> I set up the bacula-dir.conf, bacula-sd.conf and the client's
> bacula-fd.conf
> as shown in the tutorial. When I check for inconsistencies with *bacula-dir
> /etc/bacula/bacula-dir.conf* it doesn't show any error, but when it's time
> to restart the service, it fails with no specific error message or location
> other than *"Bacula-dir - The configtest failed"* and to check journalctl
> -xe.
>
> I check the journal but it doesn't show much in the way of what might be
> wrong
>
> "/Failed to start LSB: Start Bacula Director at boot time.
> 0m
> -- Subject: Unit bacula-director.service has failed
> -- Defined-By: systemd
> -- Support: https//www.debian.org/support
> --
> -- Unit bacula-director.service has failed.
> --
> -- The result is failed.
> sep 08 16:46:37 bacula systemd[1]: bacula-director.service: Unit entered
> failed state./"
>
> I have run through the configuration files a few times now, checking for
> mismatching passwords and such but everything seems just fine.
>
> This is the tutorial in question
> https://www.digitalocean.com/community/tutorials/how-to-
> configure-remote-backups-using-bacula-in-an-ubuntu-12-04-vps
>
>
>
> --
> View this message in context: http://bacula.10910.n7.nabble.
> com/Bacula-Director-not-starting-after-set-up-tp84453.html
> Sent from the Bacula - Users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------
> ------------------
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



-- 

*Ralph Bolton*
Systems Administrator

*Calltracks Ltd*

Email:   ralph.bol...@calltracks.com
Web:    www.calltracks.com
Tel:      +44 20 3199 9000
Fax:     +44 20 3199 9009
High availability call monitoring, tracking and NTS services. The opinions
expressed are those of the individual and not the company. Internet
communications are not secure and therefore Calltracks Ltd ("the company")
does not accept liability for any claims arising as a result of the use of
this medium for transmissions by or to the company. This email and any
files transmitted with it are confidential. If you are not the intended
recipient, you are hereby notified that any disclosure, distribution or
copying of this communication is strictly prohibited. Whilst we take every
reasonable precaution to screen out computer viruses from emails,
attachments to the email may contain such viruses. We cannot accept
liability for loss or damage resulting from such viruses. Calltracks Ltd is
registered in England and Wales 6539973 at Unit 15, 3rd Floor, 23-28 Penn
Street, London, N1 5DL
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to