Re: ConnectDBStart() error

From: "Robert B(dot) Easter" <reaster(at)comptechnews(dot)com>
To: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>, "Andrew Chan" <happyfish(at)cheerful(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: ConnectDBStart() error
Date: 2000-12-12 15:20:52
Message-ID: 0012121020521V.00289@comptechnews
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)comptechnews(dot)com ---------
- CompTechNews Message Board http://www.comptechnews.com/ -
- CompTechServ Tech Services http://www.comptechserv.com/ -
---------- http://www.comptechnews.com/~reaster/ ------------

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Chr. Rossmanith 2000-12-12 16:33:03 foreign keys & pg_dump
Previous Message Neil Kidd 2000-12-12 11:55:06 JDBC tutorial code