Hello.
I'm trying to run Bacula on Windows XP with MySQL. When I'm trying to start
bacula-dir I got this messages in log:
23-Jun 10:07 bacula-dir JobId 0: Fatal error: Query failed: SELECT VersionId
FROM Version: ERR=Commands out of sync; you can't run this command now
23-Jun 10:07 bacula-dir JobId 0: Fatal error: Could not open Catalog
"MyCatalog", database "bacula".
23-Jun 10:07 bacula-dir JobId 0: Fatal error: Query failed: SELECT VersionId
FROM Version: ERR=Commands out of sync; you can't run this command now
23-Jun 10:07 bacula-dir ERROR TERMINATION
Please correct configuration file: C:\Program Files\Bacula\bacula-dir.conf
Catalog part of bacula-dir.conf:
Catalog {
Name = MyCatalog
dbname = "bacula";
dbuser = "bacula";
dbpassword = "bacula"
}
User bacula has all privileges. DB bacula has version 12 - i used creating
script for version 10 and updates 10to11 and 11to12.
>mysql -u bacula -p bacula
mysql> show tables;
+------------------+
| Tables_in_bacula |
+------------------+
| basefiles |
| cdimages |
| client |
| counters |
| device |
| file |
| filename |
| fileset |
| job |
| jobhisto |
| jobmedia |
| location |
| locationlog |
| log |
| media |
| mediatype |
| path |
| pathhierarchy |
| pathvisibility |
| pool |
| status |
| storage |
| unsavedfiles |
| version |
+------------------+
mysql> select Versionid from version;
+-----------+
| Versionid |
+-----------+
| 12 |
+-----------+
Any ideas, how to fix it?
Timofey Medvedev
------------------------------------------------------------------------------
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users