Re: psql command error. - Mailing list pgsql-cygwin

From Henshall, Stuart - WCP
Subject Re: psql command error.
Date
Msg-id E2870D8CE1CCD311BAF50008C71EDE8E01F74766@MAIL_EXCHANGE
Whole thread Raw
In response to psql command error.  (Anil Jangam <anilj@indts.com>)
List pgsql-cygwin
Have you set permissions set up on /tmp that would stop it being created?
Also I don't know wether putting in the postgresql.conf file:
tcpip_socket = True would help.
Also there are some unix socket option in postgresql.conf (namely:
#unix_socket_directory = ''
#unix_socket_group = ''
#unix_socket_permissions = 0777
) Good luck on finding the problem
- Stuart

-----Original Message-----
From: Anil Jangam [mailto:anilj@indts.com]
Sent: 21 December 2001 11:01
To: pgsql-cygwin@postgresql.org
Subject: [CYGWIN] psql command error.
Importance: High


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.

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/users-lounge/docs/faq.html

pgsql-cygwin by date:

Previous
From: Anil Jangam
Date:
Subject: psql command error.
Next
From: Dave Page
Date:
Subject: Re: psql command error.