Hi. I ran the Ubuntu 10.04 upgrade the other day (from 9.10) and it fell over
at the bacula update stage. It was complaining about the database.
I can see now that I have the 5.0.1 binaries laid down. Prior to the upgrade
attempt I was running 2.4.4.
The error messages in /var/log/bacula/log are:
08-May 13:24 bacula-dir JobId 0: Fatal error: Version error for database
"bacula". Wanted 12, got 10
08-May 13:24 bacula-dir JobId 0: Fatal error: Could not open Catalogue
"MyCatalog", database "bacula"
08-May 13:24 bacula-dir JobId 0: Fatal error: Version error for database
"bacula". Wanted 12, got 10
08-May 13:24 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf
08-May 13:27 bacula-dir JobId 0: Fatal error: Version error for database
"bacula". Wanted 12, got 10
08-May 13:27 bacula-dir JobId 0: Fatal error: Could not open Catalogue
"MyCatalog", database "bacula"
08-May 13:27 bacula-dir JobId 0: Fatal error: Version error for database
"bacula". Wanted 12, got 10
08-May 13:27 bacula-dir ERROR TERMINATION
Please correct configuration file: /etc/bacula/bacula-dir.conf
So I'm guessing the DB upgrade hasn't worked.
I've downloaded the 3.0.3 and 5.0.1 gzip files and extracted the updatedb
directories. I can see lots of scripts to update the DB. My questions are
1. Do I need to update the DB from v10 to v11 before updating to v12?
2. I can see in the 5.0.1 download there's a update_mysql_tables_10_to_11.in
that's not executable. Is there a special procedure to run this set of commands?
3. There's no v11 to v12 script, but the README says to run the
update_bacula_tables script. However that's not on my system. How do I get/run
this script to get my DB to v12?
Thanks.
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users