The code: else if ( $this->driver == "pgsql") { $dbsize = $this->link->query("select pg_database_size('$this->dbs_name')") or die ("classes.inc: Error query: 4");
Maybe "db_type" in bacula.conf file is wrong. If you have mysql then: db_type = mysql El Wednesday 27 February 2008 16:15:17 nda escribió: > John Drescher-2 wrote: > > Is your database mysql? > > > > I ask this because I use postgresql and I know for a fact that > > bacula-web does not work with postgresql without some patching. > > John > > Hi, > > We are using Mysql but i first installed bacula with SQLite, then installed > the package for mysql, but didn't reinstall all from scratch. > I installed using apt-get (Ubuntu Server 7.10) and not from source. > > Regards, > > nico ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users