Bacula-users

Re: [Bacula-users] director won't start

2015-03-27 09:19:27
Subject: Re: [Bacula-users] director won't start
From: Heitor Faria <heitor AT bacula.com DOT br>
To: Tim Dunphy <bluethundr AT gmail DOT com>
Date: Fri, 27 Mar 2015 10:13:56 -0300 (BRT)
So, just to be thorough, I dropped the database again and ran these commands again!

[root@ops:/etc/bacula] #./create_mysql_database
Creation of bacula database succeeded.

[root@ops:/etc/bacula] #./make_mysql_tables
Creation of Bacula MySQL tables succeeded.

[root@ops:/etc/bacula] #./grant_mysql_privileges
....
Privileges for user bacula granted on database bacula.

And went to start the director again!

[root@ops:~] #service bacula-dir start
Starting bacula-dir:                                       [  OK  ]

Checked to see if it was running:

[root@ops:~] #service bacula-dir status
bacula-dir dead but subsys locked

Hmmm... NOPE!!

And checked the log file:

[root@ops:~] #tail /var/log/bacula/bacula.log
27-Mar 00:14 bacula-dir JobId 0: Fatal error: Query failed: SELECT VersionId FROM Version: ERR=no such table: Version
27-Mar 00:14 bacula-dir JobId 0: Fatal error: Could not open Catalog "JokefireCatalog", database "bacula".
27-Mar 00:14 bacula-dir JobId 0: Fatal error: Query failed: SELECT VersionId FROM Version: ERR=no such table: Version
27-Mar 00:14 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf
You have new mail in /var/spool/mail/root
Hey Tim: it seems that the make_mysql_tables scripts isn't creating the Version table for some reason. I would suggest you to download Bacula 5.2.13 code and run the database creation scripts from there.
Ps.: I really like your posts at US Govmnt list.

Regards,
============================================================
Heitor Medrado de Faria - LPIC-III | ITIL-F
============================================================


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users