Bacula-users

Re: [Bacula-users] Upgrading Debian 8 to Debian 9 sees a broken bacula server install

2017-07-19 18:29:28
Subject: Re: [Bacula-users] Upgrading Debian 8 to Debian 9 sees a broken bacula server install
From: Wanderlei Huttel <wanderleihuttel AT gmail DOT com>
To: Thing <thing.thing AT gmail DOT com>
Date: Wed, 19 Jul 2017 19:28:30 -0300
Hello 

First of all run the command "bacula -dir -t" and check what error is showing and try to fix it
Verify if the paramaters in Catalog resource in bacula-dir.conf are correct.

It looks Bacula was upgraded too, so, it's necessary to run the script "update_mysql_tables or update_postgresql_tables


Best Regards

Wanderlei Hüttel

2017-07-19 19:11 GMT-03:00 Thing <thing.thing AT gmail DOT com>:
I have an error, unable to find how to fix this via google however.

=======
root@vuwunicobculat1:~# systemctl restart  bacula-director
Job for bacula-director.service failed because the control process exited with error code.
See "systemctl status bacula-director.service" and "journalctl -xe" for details.
root@vuwunicobculat1:~# journalctl -xe
--
-- The start-up result is done.
Jul 20 10:02:39 vuwunicobculat1.ods.vuw.ac.nz gnome-terminal-[1493]: Allocating size to GtkScrollbar 0x5609b9d022a0 without calli
Jul 20 10:02:39 vuwunicobculat1.ods.vuw.ac.nz gnome-terminal-[1493]: Allocating size to GtkScrollbar 0x5609b9d022a0 without calli
Jul 20 10:02:39 vuwunicobculat1.ods.vuw.ac.nz gnome-terminal-[1493]: Allocating size to GtkScrollbar 0x5609b9d022a0 without calli
Jul 20 10:02:39 vuwunicobculat1.ods.vuw.ac.nz gnome-terminal-[1493]: Allocating size to GtkScrollbar 0x5609b9d022a0 without calli
Jul 20 10:02:39 vuwunicobculat1.ods.vuw.ac.nz gnome-terminal-[1493]: Allocating size to GtkScrollbar 0x5609b9d022a0 without calli
Jul 20 10:02:39 vuwunicobculat1.ods.vuw.ac.nz gnome-terminal-[1493]: Allocating size to GtkScrollbar 0x5609b9d022a0 without calli
Jul 20 10:02:49 vuwunicobculat1.ods.vuw.ac.nz dbus[544]: [system] Failed to activate service 'org.bluez': timed out
Jul 20 10:02:52 vuwunicobculat1.ods.vuw.ac.nz x-session-manager[1255]: WARNING: t+32.29767s: Could not launch application 'print-
Jul 20 10:03:27 vuwunicobculat1.ods.vuw.ac.nz systemd[1]: Starting Bacula Director Daemon service...
-- Subject: Unit bacula-director.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit bacula-director.service has begun starting up.
Jul 20 10:03:27 vuwunicobculat1.ods.vuw.ac.nz bacula-dir[1507]: bacula-dir: dird.c:969-0 Could not open Catalog "MyCatalog", data
Jul 20 10:03:27 vuwunicobculat1.ods.vuw.ac.nz bacula-dir[1507]: bacula-dir: dird.c:974-0 Version error for database "bacula". Wan
Jul 20 10:03:27 vuwunicobculat1.ods.vuw.ac.nz bacula-dir[1507]: 20-Jul 10:03 bacula-dir ERROR TERMINATION
Jul 20 10:03:27 vuwunicobculat1.ods.vuw.ac.nz bacula-dir[1507]: Please correct configuration file: /etc/bacula/bacula-dir.conf
Jul 20 10:03:27 vuwunicobculat1.ods.vuw.ac.nz systemd[1]: bacula-director.service: Control process exited, code=exited status=1
Jul 20 10:03:27 vuwunicobculat1.ods.vuw.ac.nz 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
--
-- Unit bacula-director.service has failed.
--
-- The result is failed.
Jul 20 10:03:27 vuwunicobculat1.ods.vuw.ac.nz systemd[1]: bacula-director.service: Unit entered failed state.
Jul 20 10:03:27 vuwunicobculat1.ods.vuw.ac.nz systemd[1]: bacula-director.service: Failed with result 'exit-code'.
root@vuwunicobculat1:~#
========

I can connect to the mysql database fine.  

------------------------------------------------------------------------------
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


------------------------------------------------------------------------------
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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

ADSM.ORG Privacy and Data Security by https://kimlaw.us