Bacula-users

Re: [Bacula-users] Problems with Webacula

2008-11-13 02:15:10
Subject: Re: [Bacula-users] Problems with Webacula
From: Bruno Friedmann <bruno AT ioda-net DOT ch>
Date: Thu, 13 Nov 2008 08:10:14 +0100
Hi
It seems all is in this sentence
"The pgsql driver is not currently installed"

Did you have your bacula running with postgresql ?

So to access the bacula catalog the underlaying Zend Framework & PHP need also 
the pdo_pgsql extension
(which is quite easy to install : just activate it or get it from pecl)


Reynier Perez Mira wrote:
> Hi:
> I'm trying to install Webacula in my Ubuntu Server in wich I have Bacula and 
> PostgreSQL running fine. I have this configuration in the file config.ini:
> 
> [general]
> ;db.adapter = PDO_MYSQL
> db.adapter = PDO_PGSQL
> db.config.host = localhost
> db.config.username = postgres
> db.config.password = postgresadmin
> db.config.dbname = bacula
> 
> ; see http://www.php.net/timezones
> def.timezone = "Europe/Minsk"
> 
> ; if language undefined, webacula use autodetect
>  language = "es"
> ;language = "en"
> ;language = "de"
> ;language = "fr"
> ;language = "ru"
> 
> ; see INSTALL file for details
> bacula.sudo = "/usr/bin/sudo"
> bacula.bconsole = "/usr/bin/bconsole"
> 
> ; for bacula 1.38
> ;bacula.bconsolecmd = "-c /etc/bacula/bconsole.conf"
> ; for new version bacula
> bacula.bconsolecmd = "-n -c /etc/bacula/bconsole.conf"
> 
> tmpdir = "/tmp"
> 
> [timeline]
> gdfontpath = "/usr/share/fonts/dejavu-lgc"
> fontname   = "DejaVuLGCSansMono"
> fontsize   = 10
> 
> 
> [webacula]
> ; support only MySQL
> db.adapter = PDO_MYSQL
> db.config.host = localhost
> db.config.username = wbuser
> db.config.password = "wbpass"
> db.config.dbname = webacula
> email.to_admin = root@localhost
> email.from = webacula@localhost
> 
> And all is setup OK because I follow every step in the README file. When I 
> try to access to Webacula I get this error:
> 
> Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The 
> pgsql driver is not currently installed' in 
> /var/www/webacula/library/Zend/Db/Adapter/Pdo/Abstract.php:104 Stack trace: 
> #0 /var/www/webacula/library/Zend/Db/Adapter/Abstract.php(743): 
> Zend_Db_Adapter_Pdo_Abstract->_connect() #1 
> /var/www/webacula/library/Zend/Db/Adapter/Pdo/Pgsql.php(152): 
> Zend_Db_Adapter_Abstract->quote('job') #2 
> /var/www/webacula/library/Zend/Db/Table/Abstract.php(605): 
> Zend_Db_Adapter_Pdo_Pgsql->describeTable('job', NULL) #3 
> /var/www/webacula/library/Zend/Db/Table/Abstract.php(534): 
> Zend_Db_Table_Abstract->_setupMetadata() #4 
> /var/www/webacula/library/Zend/Db/Table/Abstract.php(269): 
> Zend_Db_Table_Abstract->_setup() #5 
> /var/www/webacula/application/models/Job.php(33): 
> Zend_Db_Table_Abstract->__construct(Array) #6 
> /var/www/webacula/application/controllers/IndexController.php(50): 
> Job->__construct() #7 
> /var/www/webacula/library/Zend/Controller/Action.php(502): 
> IndexController->ind
exAction() #8 /var/www/webacula/library/Zend/Cont in 
/var/www/webacula/library/Zend/Db/Adapter/Pdo/Abstract.php on line 104
> 
> What I'm doing wrong?
> 
> PS: I want to stay in contact with Yuri Timotef (I tink this is the leader of 
> the project) to send the Spanish translation maded by me.
> 
> Regards and thanks in advance
> Ing. Reynier Pérez Mira
> Dirección Técnica IP 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


-- 

     Bruno Friedmann



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>