> On May 23, 2018, at 1:02 PM, Chris Wilkinson <winstonia...@gmail.com> wrote:
> 
> This will seem a dumb question to the experienced Bacula user. I would prefer 
> to use mysql rather than the default sqlite. During installation (Debian 
> Stretch repo, Bacula v7.4.4) I said no to configuring sqlite expecting to be 
> offered the opportunity to configure mysql instead. That didn't happen. I 
> have created an empty bacula database with the appropriate user/permissions 
> but can't figure out how to make Bacula populate it or connect.

That sounds like a Debian packaging problem.

> 
> At present the director fails to start of course.
> 
> An extract from journalctl -xe follows indicating it is looking for sqlite.
> 
> -- Unit bacula-director.service has begun starting up.
> May 23 17:40:41 HOMESERVER bacula-dir[16139]: bacula-dir: dird.c:969-0 Could 
> not open Catalog "MyCatalog", databasMay 23 17:40:41 HOMESERVER 
> bacula-dir[16139]: bacula-dir: dird.c:974-0 sqlite.c:199 Database 
> /var/lib/bacula/XXX_DMay 23 17:40:41 HOMESERVER bacula-dir[16139]: 23-May 
> 17:40 bacula-dir ERROR TERMINATION
> May 23 17:40:41 HOMESERVER bacula-dir[16139]: Please correct configuration 
> file: /etc/bacula/bacula-dir.conf
> May 23 17:40:41 HOMESERVER systemd[1]: bacula-director.service: Control 
> process exited, code=exited status=1
> May 23 17:40:41 HOMESERVER systemd[1]: Failed to start Bacula Director Daemon 
> service.
> -- Subject: Unit bacula-director.service has failed
> -- Defined-By: systemd
> -- Support: https://www.debian.org/support <https://www.debian.org/support>
> --
> -- Unit bacula-director.service has failed.
> --
> -- The result is failed.
> May 23 17:40:41 HOMESERVER systemd[1]: bacula-director.service: Unit entered 
> failed state.
> May 23 17:40:41 HOMESERVER systemd[1]: bacula-director.service: Failed with 
> result 'exit-code'.
> May 23 17:47:01 HOMESERVER minissdpd[716]: 4 new devices added
> lines 2591-2644/2644 (END)
> 
> 
> This seems to indicate that bacula-dir is wrong but I haven't found an 
> example of what it should be.
> 
> Any help with that would be great.

Does this help? 
http://www.bacula.org/7.4.x-manuals/en/main/Installing_Configuring_MySQ.html 
<http://www.bacula.org/7.4.x-manuals/en/main/Installing_Configuring_MySQ.html>
Bacula will not create the required tables etc. You must do that.

-- 
Dan Langille - BSDCan / PGCon
d...@langille.org


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to