I will attempt to leave as much and detailled information as
possible.

I installed Apache 1.3.4 with PostgreSQL 6.4.2 and PHP 3.0.7

On it's own, Apache and PHP3 work fine.

On it's own, PostgreSQL works fine, I'm able to PSQL into a database and
perform wonderfull things.

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

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 ?

How do I fix it ?

Reply via email to