| 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: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| 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 | Date | Subject | |
|---|---|---|---|
| Next Message | Neil Kidd | 2000-12-12 11:55:06 | JDBC tutorial code |
| Previous Message | Andrew Chan | 2000-12-12 11:10:06 | ConnectDBStart() error |