Bacula-users

[Bacula-users] bacula-dir can't open database

2012-02-26 15:02:55
Subject: [Bacula-users] bacula-dir can't open database
From: Stuart McGraw <smcg4191 AT frii DOT com>
To: Bacula-users AT lists.sourceforge DOT net
Date: Sun, 26 Feb 2012 13:01:21 -0700
I just updated to bacula-5.2.6 (from 5.2.5) using the Fedora-15 
rpms at repos.fedorapeople.org/repos/slaanesh/bacula/.

However, when I try to start the bacula-dir, it appears it 
is trying to open a sqlite database catalog, rather than the 
postgresql one I have been using.   

  # cd /etc/bacula/
  # bacula-dir -c ./bacula-dir.conf -t
  bacula-dir: dird.c:954 Could not open Catalog "MyCatalog", database "bacula".
  bacula-dir: dird.c:959 sqlite.c:182 Database /var/spool/bacula/bacula.db does 
not exist, please create it.
  26-Feb 11:59 bacula-dir ERROR TERMINATION
  Please correct configuration file: ./bacula-dir.conf

My bacula.conf files are unchanged from before the update and 
in particular, bacula-dir.conf has,

  Catalog {
    Name = MyCatalog
    dbname = "bacula"; dbuser = "bacula"; dbpassword = "***"
    }

The database, db user, etc all exist and worked fine before the
update.  Why is it now trying to open a sqlite database (if that 
is the problem, and now that I think about it, what was telling 
it before that I am using a postgresql database)?
 
I am sure I am being really stupid but I'd appreciate a hint.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>