Bacula-users

Re: [Bacula-users] BConsole Error

2010-06-07 10:38:10
Subject: Re: [Bacula-users] BConsole Error
From: Phil Stracchino <alaric AT metrocast DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 07 Jun 2010 10:35:08 -0400
On 06/07/10 09:56, rugamu wrote:
> 
> I think that i have got a database problem, this is the exit for the command
> 
> bacula-dir -d 100 -c /etc/bacula/bacula-dir.conf 
> bacula-dir: dird.c:184-0 Debug level = 100
> bacula-dir: bsys.c:511-0 Could not open state file. sfd=-1 size=192: ERR=No 
> existe el fichero ó directorio
> bacula-dir: mysql.c:101-0 db_open first time
> bacula-dir: mysql.c:130-0 initdb ref=1 connected=0 db=0
> root@glorfindel:/etc/bacula# bacula-dir: mysql.c:166-0 mysql_init done
> bacula-dir: mysql.c:187-0 mysql_real_connect done
> bacula-dir: mysql.c:189-0 db_user=bacula db_name=bacula db_password=XXXXXXXXXX
> bacula-dir: dird.c:950 No se pudo abrir Catálogo "MyCatalog", base de datos 
> "bacula".
> bacula-dir: dird.c:955 Version error for database "bacula". Wanted 12, got 10
> bacula-dir: mysql.c:236-0 closedb ref=0 connected=1 db=e84d60
> bacula-dir: mysql.c:240-0 close db=e84d60
> 07-jun 15:53 bacula-dir: ERROR DE TERMINACIÓN
> Por favor, corrija el archivo de configuración: /etc/bacula/bacula-dir.conf
> 
> 
> I think that it can't connect to the mysql database, but I don't know why.

You just upgraded Bacula, but did not upgrade the database, and Ubuntu
didn't do it for you.  You'll need to find the db upgrade scripts;
unfortunately I can't tell you where Ubuntu put them.  (I hope it at
least installed them.)  You'll need to run first the v10-to-v11 update
script, then the v11-to-v12 script.  If Ubuntu didn't install them, you
should be able to get them from Sourceforge.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT 
co.ordinate DOT org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
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