Hello,
On 12/23/2005 3:49 AM, [EMAIL PROTECTED] wrote:
Gentoo Linux
Mysql-5.0.16-r4
bacula cvs latest
Just getting a newly built bacula started up and hitting this error
when starting bacula.
Let me say first, the mysql daemon is running. The bacula scripts to
grant privs build db etc ran with no problems. I've run:
create_mysql_database
create_bacula_database
grant_mysql_privileges
grant_bacula_privileges
No error output from them.
But you forgot one. IIRC there's also make_bacula_tables
Unless the manual is broken - in which case you might report that as a
bug - I really recommend you re-read the manual and the documentation in
the distribution again. It seems that you need some more informtion
about lots of vital details...
The error below winds up by telling me to change the configuration in
bacula-dir.conf but I don't see where from this error message.
That's because the DIR can't decide if it's configured to use the wrong
database or if the database is not populated correctly.
Arno
Version error for database "bacula". Wanted 9, got 0
Full output below
=============================
root # ./bacula start -d100
Starting the Bacula Storage daemon
bacula-sd: stored_conf.c:613 Inserting director res: reader-mon
reader-sd: jcr.c:113 read_last_jobs seek to 188
reader-sd: jcr.c:120 Read num_items=0
Starting the Bacula File daemon
bacula-fd: filed_conf.c:415 Inserting director res: reader-mon
reader-sd: pythonlib.c:94 No script dir. prog=SDStartUp
reader-fd: jcr.c:113 read_last_jobs seek to 188
reader-fd: jcr.c:120 Read num_items=0
reader-fd: pythonlib.c:94 No script dir. prog=FDStartUp
reader-fd: filed.c:238 filed: listening on port 9102
reader-fd: bnet_server.c:83 Addresses host[ipv4:0.0.0.0:9102]
reader-sd: bnet_server.c:83 Addresses host[ipv4:0.0.0.0:9103]
reader-sd: stored.c:451 calling init_dev /tmp
reader-sd: dev.c:242 init_dev: tape=0 dev_name=/tmp
reader-sd: stored.c:453 SD init done /tmp
Starting the Bacula Director daemon
bacula-dir: dird.c:128 Debug level = 100
bacula-dir: mysql.c:81 db_open first time
bacula-dir: mysql.c:142 mysql_init done
bacula-dir: mysql.c:162 mysql_real_connect done
bacula-dir: mysql.c:164 db_user=bacula db_name=bacula db_password=
22-Dec 20:41 bacula-dir: Fatal error: Version error for database "bacula".
Wanted 9, got 0
22-Dec 20:41 bacula-dir: Fatal error: Could not open database "bacula".
22-Dec 20:41 bacula-dir: Fatal error: Version error for database "bacula".
Wanted 9, got 0
22-Dec 20:41 bacula-dir ERROR TERMINATION
Please correct configuration file: /usr/local/etc/bacula/bacula-dir.conf
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users