Re: ConnectDBStart() error
| От | Oliver Elphick |
|---|---|
| Тема | Re: ConnectDBStart() error |
| Дата | |
| Msg-id | 200012121149.eBCBnBr11652@linda.lfix.co.uk обсуждение исходный текст |
| Ответ на | ConnectDBStart() error ("Andrew Chan" <happyfish@cheerful.com>) |
| Ответы |
Re: ConnectDBStart() error
|
| Список | 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.Elphick@lfix.co.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
В списке pgsql-novice по дате отправления: