My database connection details in the directory config are as follows:
# Generic catalog service
Catalog {
Name = JokefireCatalog
# Uncomment the following line if you want the dbi driver
#dbdriver = "dbi:mysql"; dbaddress = localhost; dbport = 3306
dbname = "bacula"; dbuser = "root"; dbpassword = "secret-pass"
}
And these are the bacula programs and libraries that I have installed are:
[root@ops:/etc/bacula] #rpm -qa | grep bacula
bacula-libs-sql-7.0.5-1.el5.x86_64
bacula-common-7.0.5-1.el5.x86_64
bacula-storage-7.0.5-1.el5.x86_64
bacula-libs-7.0.5-1.el5.x86_64
bacula-console-7.0.5-1.el5.x86_64
bacula-director-7.0.5-1.el5.x86_64
bacula-client-7.0.5-1.el5.x86_64
I tried uncommenting the dbd driver section of the bacula-dir.conf file and restarted. But I got the same result.
# Generic catalog service
Catalog {
Name = JokefireCatalog
# Uncomment the following line if you want the dbi driver
dbdriver = "dbi:mysql"; dbaddress = localhost; dbport = 3306
dbname = "bacula"; dbuser = "root"; dbpassword = "secret"
}
[root@ops:/etc/bacula] #service bacula-dir status
bacula-dir dead but subsys locked
I'd like to know why my bacula director is operating under the impression that it's using a postgres database. Even when I uncomment the dbdriver section and specify that I'm using mysql. It still seems to be thinking it's using postgres.
How can I correct this section and get my backups on line again?
I'm using bacula 7 under centos 5.9.
Thanks!
Tim
--