[SATLUG] Createuser Problem (Postgresq-Client)

louis warnholtz scs at wireweb.net
Mon Sep 2 17:06:02 CDT 2002


Unable to createuser < createuser lou -d -A >  in Postgresql-client.

My first venture into PGSQL and tried various combinations several times.   
Probably doing something very wrong, or leaving out something important.   

Following instructions here's what happens:

1.   $ su - postgres
2.  $  password
3.  $  xxxxxxxxx
   su: Authentification failure
         Sorry.

# [  after many unsuccessful tries I innovated and ]
# [  did a plain su w/password  and became root ]
# [  and proceeded ]

4.  su - postgres
5.  No directory, logging in with HOME=/
6.  postgre at debian:/$ createuser lou -d  -A
7.  psql: connectDBStart( ) -- connect ( ) failed: Connection refused
    Is Postmaster running locally and accepting connections on Unix socket
    '/var/run/postgresql/.s./PGSQL.5432'?
 8. createuser: creation of user "lou" failed.   

# [  exited and did a < ps > and don't see Postmaster running (only the 
terminal and ps)



More information about the Satlug mailing list