psql command error. - Mailing list pgsql-cygwin

From Anil Jangam
Subject psql command error.
Date
Msg-id F73B646FCC01D5118F530002B32C337263B276@INDTS_FS
Whole thread Raw
List pgsql-cygwin
Hi,

I am stuck with an error as follows. I am trying to create a user with
'createuser' command. Also the same error is thrown even when I am trying to
run the 'psql' command.

$ createuser uss
Shall the new user be allowed to create databases? (y/n) y
Shall the new user be allowed to create more new users? (y/n) n
psql: connectDBStart() -- connect() failed: No such file or directory
        Is the postmaster running locally
        and accepting connections on Unix socket '/tmp/.s.PGSQL.5432'?
createuser: creation of user "uss" failed

Administrator@ANILJ ~
$ psql
psql: connectDBStart() -- connect() failed: No such file or directory
        Is the postmaster running locally
        and accepting connections on Unix socket '/tmp/.s.PGSQL.5432'?

Administrator@ANILJ ~
$

I searched the directory /tmp/, but the .S.PGSQL.5432 file doesn't exist.

regds,
-anil.

pgsql-cygwin by date:

Previous
From: Jason Tishler
Date:
Subject: Re: Installation problem
Next
From: "Henshall, Stuart - WCP"
Date:
Subject: Re: psql command error.