Already done:
#PGOPTS="-B 256"
PGOPTS="-i -B 256"# -i to enable TCP/IP rather than Unix socket
What about the fact that PSQL under NOBODY gives me a broken pipe ? That
can't be normal!
> -----Original Message-----
> From: Egon Schmid [SMTP:[EMAIL PROTECTED]]
> Sent: May 7, 1999 9:30 AM
> To: Karell Ste-Marie
> Cc: '[EMAIL PROTECTED]'
> Subject: Re: [ADMIN] Problem using the user "NOBODY" under
> apache/php3
>
>
>
> On Fri, 7 May 1999, Karell Ste-Marie wrote:
>
> > When a PHP3 scripts attempts to connect to a postgres database (user
> > "nobody") I get the following message:
> > Warning: Unable to connect to PostgresSQL server: connectDB() failed: Is
> the
> > postmaster running and accepting TCP/IP(with -i) connections at
> 'localhost'
> > on port '5432'? in
> /usr/local/apache/htdocs/MontrealSmokedMeat/products.php3
> > on line 13
>
> You should run postmaster with the -i flag. Look at the table in:
>
> http://www.php.net/manual/ref.pgsql.php3
>
> > This suggest that the server is not running, it is, I can connect to it
> > using other means, however this is interesting, if I SU NOBODY to get
> into
> > that account (which I do without problems), I get a BROKEN PIPE:
> > [root@master bin]# su nobody
> > [nobody@master bin]$ psql
> > Broken pipe
> > [nobody@master bin]$
> >
> > Anybody ever seen this ?
>
> Don't know.
>
> -Egon