Bacula-users

Re: [Bacula-users] Upgrade to 5.02 fails with some sort of database error

2010-06-11 06:09:55
Subject: Re: [Bacula-users] Upgrade to 5.02 fails with some sort of database error
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 11 Jun 2010 11:07:51 +0100
>>>>> On Fri, 11 Jun 2010 10:36:19 +0100, Mike Holden said:
> 
> Marc Chamberlin wrote:
> > I just downloaded and installed the following RPMs for Version 5.02
> > (upgrading from 5.01) on SuSE11.2 -
> >
> > ?bacula-mysql-5.0.2-1.su112.x86_64.rpm
> > <https://sourceforge.net/projects/bacula/files/rpms-contrib-psheaffer/5.0.2/bacula-mysql-5.0.2-1.su112.x86_64.rpm/download>
> > ?bacula-libs-5.0.2-1.su112.x86_64.rpm
> > <https://sourceforge.net/projects/bacula/files/rpms-contrib-psheaffer/5.0.2/bacula-libs-5.0.2-1.su112.x86_64.rpm/download>
> > ?bacula-bat-5.0.2-1.su112.x86_64.rpm
> > <https://sourceforge.net/projects/bacula/files/rpms-contrib-psheaffer/5.0.2/bacula-bat-5.0.2-1.su112.x86_64.rpm/download>
> >
> > I removed the previous version of Bacula and the installation went
> > fine.
> > I simply reused my conf files from version 5.01. (couldn't see
> > anything
> > different in the example conf files so I figured nothing much has
> > changed...) Tried to restart the bacula daemons and I get the
> > following
> > error -
> >
> > 10-Jun 20:01 bacula-dir JobId 0: Fatal error: Could not open Catalog
> > "MyCatalog", database "bacula".
> > 10-Jun 20:01 bacula-dir JobId 0: Fatal error: sqlite.c:178 Database
> > /var/lib/bacula/bacula.db does not exist, please create it.
> 
> The sqlite.c error in the log would suggest that maybe it is trying
> to use sqlite rather than mysql?

I think the 5.0.2 binary rpms on sourceforge are broken (they only work with
sqlite).

Try downloading the bacula-5.0.2-1.src.rpm and rebuilding the rpms from it for
mysql.

__Martin

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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>