Re: ConnectDBStart() error

Lists: pgsql-novice
From: "Oliver Elphick" <olly(at)lfix(dot)co(dot)uk>
To: "Andrew Chan" <happyfish(at)cheerful(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: ConnectDBStart() error
Date: 2000-12-12 11:49:11
Message-ID: 200012121149.eBCBnBr11652@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-novice

"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.

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47 6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Be of good courage, and he shall strengthen your
heart, all ye that hope in the LORD."
Psalms 31:24


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
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/ ------------