Gauri Kanekar wrote:
Hi List,

Machine was down due to some hardware problem.

After then when i issue this command /usr/local/pgsql/bin/psql -l
its giving me the following error

psql: 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"?

Can anybody tell me what going wrong??

Well, it's either looking in the wrong place or the server isn't actually running.

1. Do your startup scripts start PG?
2. Is there a server process? "ps auxw | grep postgres"
3. What do your logfiles say?

--
  Richard Huxton
  Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

              http://archives.postgresql.org

Reply via email to