Re: ConnectDBStart() error - Mailing list pgsql-novice

From Robert B. Easter
Subject Re: ConnectDBStart() error
Date
Msg-id 0012121020521V.00289@comptechnews
Whole thread Raw
In response to Re: ConnectDBStart() error  ("Oliver Elphick" <olly@lfix.co.uk>)
List pgsql-novice
On Tuesday 12 December 2000 06:49, Oliver Elphick wrote:
> "Andrew Chan" wrote:
>   >I'm using SuSE Linux 7.0 with PostgreSQL 7.0.3. I encounter the
>   > following e= rror while adding a user
>   >
>   >test:~# su postgres
>   >test:/root ~# createuser
>   >Shall the user be allowed to create databases?(y/n) : y
>   >Shall the user be allowed to create more users? (y/n) : y
>   >psql: ConnectDBStart() -- connect failed - Connection refused
>   >    Is the postmaster running at localhost?
>   >    and accepting connection on Unix sockets '5432'?
>
> What's the answer to those questions? Do:
>
>   ps ax | grep postmaster
>
> to answer the first, and
>
>   ls -l /tmp/.s.PGSQL.5432
>
> or (as root)
>
>   lsof -U | grep 5432
>
> to answer the second.


I don't have the "lsof" command on my system: Slackware 7.1.  What does it
do?  Should I download it from somewhere and install it?

--
-------- Robert B. Easter  reaster@comptechnews.com ---------
- CompTechNews Message Board   http://www.comptechnews.com/ -
- CompTechServ Tech Services   http://www.comptechserv.com/ -
---------- http://www.comptechnews.com/~reaster/ ------------

pgsql-novice by date:

Previous
From: Neil Kidd
Date:
Subject: JDBC tutorial code
Next
From: Etienne De Kerckhove
Date:
Subject: RE: default password