Re: [Bacula-users] resurrecting an FC11 install - cannot connect to postgresql

2010-05-27 Thread Mehma Sarja
On 5/27/10 6:56 AM, Gary Stainburn wrote: > I can connect manually... > > but when I start bacula-dir I get the message below in /var/lib/bacula/log > > The Catalog definition is: > > Catalog { >Name = MyCatalog >DB Address = '127.0.0.1'; dbname = bacula; user = bacula; password = > "*

Re: [Bacula-users] resurrecting an FC11 install - cannot connect to postgresql

2010-05-27 Thread Martin Simmons
> On Thu, 27 May 2010 14:56:19 +0100, Gary Stainburn said: > > Catalog { > Name = MyCatalog > DB Address = '127.0.0.1'; dbname = bacula; user = bacula; password = "*" > } This should be DB Address = "127.0.0.1" i.e. double-quotes instead of single-quotes. __Martin --

Re: [Bacula-users] resurrecting an FC11 install - cannot connect to postgresql

2010-05-27 Thread Lampzy
Gary, I'm using bacula 5.0.2 so there may be some differences in the directives names from the version you are using. For example I use dbuser and it seems like using just "user" works for you. What I would try next is to add dbport (if it exists for your version of Bacula). Verify what port p

[Bacula-users] resurrecting an FC11 install - cannot connect to postgresql

2010-05-27 Thread Gary Stainburn
Hi folks. I've had a main server die (2 HDD's out of a RAID5 - would you believe it) I've manually rebuilt it and all looked fine until I tried to start the director. It then fails to connect to the database - which I again rebuilt manually. I can connect manually thus: [r...@lou ~]# psql -d