On 11 Sep 2006 at 13:31, Gabriele Bulfon wrote:

> Hello,
> after discovering that Postgres is too slow on Sun 280R machines forBacula 
> management, I decided to test one of them and have the PostgresDB run on 
> another faster Solaris machine on the LAN.
> So I prepared the new DB from scratch, modified my original bacula-dir.conf 
> to connect to the new DB host :
> Catalog {
>   Name = MyCatalog
>   dbname = bacula;
>   user = bacula;
>   password = "bacula"
>   DB Address = myhost.mydomain.com
>   DB Port = 5432
> }
> Now I see the Director starts on the new DB (the old one is down), but.......

I just moved my DB to another server to test this.

> ....if I run bconsole as before on the Director's machine, any command hangs 
> for a while and then says:
> Could not open database "bacula".
> postgresql.c:168 Unable to connect to PostgreSQL server.
> Database=bacula User=bacula
> It is probably not running or your password is incorrect.

I do not get this error.

> I am absolutely sure that Director connects to the DB, because debug
> is enabled, and I can see the Director is ok at startup. Infact, if I
> shutdown the remote DB, Directors complains and does not start up.
> ...what is my problem?!?

Have you tried starting bconsole with "-d"?

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to