Hello,
after discovering that Postgres is too slow on Sun 280R machines for Bacula management, I decided to test one of them and have the Postgres DB 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.......
....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 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?!?
Thanx
Gabriele.
after discovering that Postgres is too slow on Sun 280R machines for Bacula management, I decided to test one of them and have the Postgres DB 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.......
....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 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?!?
Thanx
Gabriele.
|
Gabriele Bulfon - Sonicle S.r.l. Tel +39 028246016 Int. 30 - Fax +39 028243880 Via Felice Cavallotti 16 - 20089, Rozzano - Milano - ITALY http://www.sonicle.com |
------------------------------------------------------------------------- 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