Re: [PHP] problem with PostgreSQL

2002-08-21 Thread Ray Hunter
" <[EMAIL PROTECTED]>; "Richard Kurth" <[EMAIL PROTECTED]> Sent: Wednesday, August 21, 2002 12:55 PM Subject: Re: [PHP] problem with PostgreSQL > Just to throw my $.02 in, if you are running an RPM based linux > distribution on your server (such as RedHat), ed

Re: [PHP] problem with PostgreSQL

2002-08-21 Thread Ray Hunter
t;; "Richard Kurth" <[EMAIL PROTECTED]> Sent: Wednesday, August 21, 2002 12:55 PM Subject: Re: [PHP] problem with PostgreSQL > Just to throw my $.02 in, if you are running an RPM based linux > distribution on your server (such as RedHat), edit your > /etc/rc.d/init.d/postgr

Re: [PHP] problem with PostgreSQL

2002-08-21 Thread Adam Williams
Just to throw my $.02 in, if you are running an RPM based linux distribution on your server (such as RedHat), edit your /etc/rc.d/init.d/postgresql file and look for the code in it: # Check for postmaster already running... pid=`pidof -s postmaster` if [ $pid ] the

Re: [PHP] problem with PostgreSQL

2002-08-21 Thread Ray Hunter
Basically, That is your problem here: > [Wed Aug 21 11:06:56 2002] [error] PHP Warning: pg_pconnect() unable to connect to PostgreSQL server: PQconnec > tPoll() -- connect() failed: Connection refused > Is the postmaster running (with -i) at '127.0.0.1' > and accepting connectio