It appears that you loaded or built the SQLite version of Bacula rather than
the MySQL, so it is looking for an SQLite database rather than your MySQL
database. I recommend removing the "DB Socket = ..." since the default
action should work once you get the DB driver issue resolved.
On Sunday 17 December 2006 08:55, Henrik Hudson wrote:
> Hey Peeps-
>
> I'm running FreeBSD 6.1-stable and just did an upgrade of Bacula using the
> ports. The upgrade was really minor from 1.38.10 -> 1.38., but now whenever
I
> start the bacula-director it barfs with this:
>
> 17-Dec 01:48 bacula-dir: Fatal error: Could not open Catalog "mysql",
> database "bacula".
> 17-Dec 01:48 bacula-dir: Fatal error: sqlite.c:137
> Database /var/db/bacula/bacula.db does not exist, please create it.
> 17-Dec 01:48 bacula-dir ERROR TERMINATION
>
> The MySQL dtabase does exist and I checked that I could login to it. My
> bacula-dir.conf looks like this, among other things:
>
> #clients to backup
> Client {
> Name=bugs-fd
> Address=bugs.xxxxx
> FDPort=9102
> Catalog=mysql
> password="xxxxxxx"
> AutoPrune = yes
> }
>
> Catalog
> {
> Name = mysql
> DB Name= bacula
> DB Socket = /tmp/mysql.sock
> user = bacula
> password = xxxxxx
> }
>
>
> Any idea what the issue is? I checked for mysql table upgrades (seem to be
> good) and verified the socket path. It wasn't defined before, so I thought I
> would try adding it.
>
> Thoughts?
>
> Henrik
> --
> Henrik Hudson
> [EMAIL PROTECTED]
> ------------------------------
> "God, root, what is difference?" Pitr; UF (http://www.userfriendly.org/)
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users