Skip site navigation (1) Skip section navigation (2)

psql command error.

From: Anil Jangam <anilj(at)indts(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: psql command error.
Date: 2001-12-21 11:00:56
Message-ID: F73B646FCC01D5118F530002B32C337263B276@INDTS_FS (view raw or flat)
Thread:
Lists: 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(at)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(at)ANILJ ~
$

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

regds,
-anil.

pgsql-cygwin by date

Next:From: Henshall, Stuart - WCPDate: 2001-12-21 14:00:42
Subject: Re: psql command error.
Previous:From: Jason TishlerDate: 2001-12-20 14:22:16
Subject: Re: Installation problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group