Skip site navigation (1) Skip section navigation (2)

Re: problem with Connection refused

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Richard Kurth <rdkurth(at)starband(dot)net>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: problem with Connection refused
Date: 2002-08-21 09:30:32
Message-ID: 1029922233.19784.894.camel@linda (view raw or flat)
Thread:
Lists: pgsql-novice
On Wed, 2002-08-21 at 05:02, rdkurth(at)starband(dot)net wrote:
> Hello pgsql-novice,
> 
> I keep getting this when I try to access the PostgreSQL database. The
> funny thing is this used to work. I am using a cobalt Linux server.
> And Postgresql is used for the GUI on that server . The GUI works I
> just can't access this other Database.
> How can I start the server with the -i . PostgreSQL is started at boot
> up with the script down below how can I change that to use the -i
> switch or do I even halve to
> 
> 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 connections on TCP/IP port '5901'?

It's trying to connect to a non-standard port (5901) and I didn't see
anything in your start-up script to indicate that postmaster would be
listening on that port.

-- 
Oliver Elphick                                Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK                            
http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "For the Lord himself shall descend from heaven with a 
      shout, with the voice of the archangel, and with the 
      trump of God; and the dead in Christ shall rise first;
      Then we which are alive and remain shall be caught 
      up together with them in the clouds, to meet the Lord 
      in the air; and so shall we ever be with the Lord."   
                          I Thessalonians 4:16,17 


In response to

pgsql-novice by date

Next:From: Hugh ScullyDate: 2002-08-21 14:07:28
Subject: configure options
Previous:From: Oliver ElphickDate: 2002-08-21 09:27:44
Subject: Re: Installing PostgreSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group