Bacula-users

Re: [Bacula-users] (Version error for database "bacula". Wanted 14, got 12) - Bacula DB Ver Upgrade

2012-07-25 11:53:02
Subject: Re: [Bacula-users] (Version error for database "bacula". Wanted 14, got 12) - Bacula DB Ver Upgrade
From: Simone Caronni <negativo17 AT gmail DOT com>
To: Humphrey Bryant <hbryant AT fogadaley DOT com>
Date: Wed, 25 Jul 2012 17:50:34 +0200
Hello,

you should do the following:

cd /usr/libexec/bacula
./update_bacula_tables mysql

Some note here, unfortunately the manual is omitting the database
parameter if you're not using postgresql:

http://bacula.org/5.2.x-manuals/en/main/main/Installing_Bacula.html#SECTION001920000000000000000

Regards,
--Simone



On 25 July 2012 17:27, Humphrey Bryant <hbryant AT fogadaley DOT com> wrote:
> Hi all,
>
> I'm running CentOS 6.3 and I've just upgraded Bacula 5.0.0.x to the newest
> version 5.2.10. from the rawhide repository. ( I'm using MYSQL as my
> Database)
>
> Ever since i did the upgrade my "bacula-dir and bacula-sd" Failed to Start
> after the upgrade.
>
> I read some documentation and they said after and upgrade i should also
> upgrade the Database as well
> I've also read that there's a script to convert/upgrade the database, can
> anyone shed some light on that.
>
> Based on the error in my "bacula.log" i have come to the conclusion that its
> a database issue.
> How upgrade the database and get around the error messages below ?
>
>
> Please see the error below from "/var/log/bacula.log"
>
> 25-Jul 09:55 bacula-dir JobId 0: Fatal error: Version error for database
> "bacula". Wanted 14, got 12
> 25-Jul 09:55 bacula-dir JobId 0: Fatal error: Could not open Catalog
> "MyCatalog", database "bacula".
> 25-Jul 09:55 bacula-dir JobId 0: Fatal error: Version error for database
> "bacula". Wanted 14, got 12
> 25-Jul 09:55 bacula-dir ERROR TERMINATION
> Please correct configuration file: /etc/bacula/bacula-dir.conf
> 25-Jul 09:55 bacula-dir JobId 0: Fatal error: Version error for database
> "bacula". Wanted 14, got 12
> 25-Jul 09:55 bacula-dir JobId 0: Fatal error: Could not open Catalog
> "MyCatalog", database "bacula".
> 25-Jul 09:55 bacula-dir JobId 0: Fatal error: Version error for database
> "bacula". Wanted 14, got 12
> 25-Jul 09:55 bacula-dir ERROR TERMINATION
> Please correct configuration file: /etc/bacula/bacula-dir.conf
> 25-Jul 09:56 bacula-dir JobId 0: Fatal error: Version error for database
> "bacula". Wanted 14, got 12
> 25-Jul 09:56 bacula-dir JobId 0: Fatal error: Could not open Catalog
> "MyCatalog", database "bacula".
> 25-Jul 09:56 bacula-dir JobId 0: Fatal error: Version error for database
> "bacula". Wanted 14, got 12
> 25-Jul 09:56 bacula-dir ERROR TERMINATION
> Please correct configuration file: /etc/bacula/bacula-dir.conf
>
> Any Help Appreciated.
>
> Thanks in advance
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>



-- 
You cannot discover new oceans unless you have the courage to lose
sight of the shore (R. W. Emerson).

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>