-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All,

I have the same error messages on Debian etch with mysql 5.0.24-1, and
bacula-director-mysql 1.38.11-1.

Restarting doesn't seem to solve the problem.

I switched on mysql logging, and only the connection made by bacula-dir
can be seen, and not even a transaction or a disconnect :(

I also made a tcpdump(attached). Seems that authentication works fine,
but the first command from client is made with an invalid command code(81).

Any ideas?

regards,
Gabor


On Tuesday 08 August 2006 13:45, Silver Salonen wrote:
> Hi.
>
> I moved my Bacula to another machine (both FreeBSD-6.1 and
Bacula-1.38.11).
On
> an old machine there's MySQL 4.1.21, but on the new MySQL is 5.0.24.
>
> I moved bacula database over with mysqldump and got no errors during that.
>
> If I now try to start my new bacula-dir, it says:
> ====
> # /usr/local/etc/rc.d/bacula-dir start
> Starting bacula_dir.
> 08-Aug 12:46 bacula-dir:  Fatal error: Version error for database
"bacula".
> Wanted 9, got 0
> 08-Aug 12:46 bacula-dir:  Fatal error: Could not open Catalog "MySQL",
> database "bacula".
> 08-Aug 12:46 bacula-dir:  Fatal error: Version error for database
"bacula".
> Wanted 9, got 0
> 08-Aug 12:46 bacula-dir ERROR TERMINATION
> Please correct configuration file: /usr/local/etc/bacula-dir.conf
> ====
>
> Is the problem in MySQL, database, data, Bacula, or bacula-dir's
> configuration? Any suggestions for fixing this?
>
> Thanks in advance,
> Silver

It seems that the problem was in MySQL. Restarting mysql made it
possible to
start bacula-dir.

Silver
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE7H/5DiqVI6Xm21MRArppAJ0eZiz/HVwcWVgV1RqglJoyiWhD7wCfZtbH
cGN9pVR9ceWuuEuZ2sPATgk=
=chg9
-----END PGP SIGNATURE-----

Attachment: dump
Description: Binary data

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to