Обсуждение: connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

Поиск
Список
Период
Сортировка

connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

От
Srinivas Iyyer
Дата:
Dear group,
  When I try create a database mydb, I am getting this
unix socket domain error.

What is this problem. Is this because the postmaster
is not running or some other problem.

Can any one help me avoiding this situation?

Please help me.


Thank you.

Srini.




[mymach]$ /usr/local/pgsql/bin/createdb mydb
createdb: could not connect to database template1:
could not connect to server: No such file or directory
        Is the server running locally and accepting
        connections on Unix domain socket
"/tmp/.s.PGSQL.5432"?




_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

Re: connections on Unix domain socket "/tmp/.s.PGSQL.5432"?

От
Steven Klassen
Дата:
* Srinivas Iyyer <srini_iyyer_bio@yahoo.com> [2004-10-20 14:18:42 -0700]:

> [mymach]$ /usr/local/pgsql/bin/createdb mydb
> createdb: could not connect to database template1:
> could not connect to server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket
> "/tmp/.s.PGSQL.5432"?

This reply from Tom Lane seems suitable:

http://archives.postgresql.org/pgsql-general/2004-10/msg00043.php

--
Steven Klassen - Lead Programmer
Command Prompt, Inc. - http://www.commandprompt.com/
PostgreSQL Replication & Support Services, (503) 667-4564