I did as you suggested and obtained the same results as before.
gpennhost:bin postgres$ /usr/local/pgsql/bin/pg_ctl -D
/usr/local/pgsql/data -l /usr/local/pgsql/data/logfile start
gpennhost:bin postgres$ createdb test
createdb: could not connect to database postgres: 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"?
Brent Dombrowski [via PostgreSQL] wrote:
> gpennhost: data postgres$ /usr/local/pgsql/bin/pg_ctl -D
> /usr/local/pgsql/data -l /some/path/here/logfile start
View this message in context: http://postgresql.1045698.n5.nabble.com/MDTFATAL-could-note-create-log-file-permission-denied-tp4312282p4312440.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.
In response to
pgsql-novice by date
|Next:||From: Muruganand Karthikeyan||Date: 2011-04-19 05:09:38|
|Subject: Re: "postgres" is needed by initdb but was not found|
|Previous:||From: Brent Dombrowski||Date: 2011-04-19 03:49:16|
|Subject: Re: MDTFATAL: could note create log file . . . permission denied|