> > > Have you tried doing a network connection with your "apache" user? (su -
> > > apache; psql -h localhost group3.)
> >
> > Yes, I've tried it and get the following:
> >
> > psql: could not connect to server: Connection refused
> > Is the server running on host 192.168.1.2 and accepting
>
--Original Message-
> From: Mark Tessier [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 02, 2002 1:27 PM
> To: Nick Fankhauser
> Cc: [EMAIL PROTECTED]
> Subject: Re: [ADMIN] db connection fails
>
>
> > > > Have you tried doing a network connection with your
> "a
> > Have you tried doing a network connection with your "apache" user? (su -
> > apache; psql -h localhost group3.)
>
> Yes, I've tried it and get the following:
>
> psql: could not connect to server: Connection refused
> Is the server running on host 192.168.1.2 and accepting
> TCP/I
1.765.962.9788
Ray Ontko & Co. Software Consulting Services http://www.ontko.com/
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mark Tessier
> Sent: Saturday, June 29, 2002 2:41 PM
> To: [EMAIL PROTECTED]
> Subject: [ADMIN]
I get a script error when trying to connect to postgres. It fails in the following
part of the script:
PgDatabase conn ("host=localhost dbname=group3");
if (conn.ConnectionBad())
{
...
}
/var/log/messages shows
authentication failure; logname=capmag uid=502 euid=0 tty= ruser = rhost=