After many more hours than it would've taken someone more competent, I
finally have postgresql 9.0 installed on my Mac (OS 10.6). Now I'm trying to
start the server and create a test database, but I've run into a problem . .
gpennhost:data postgres$ /usr/local/pgsql/bin/pg_ctl -D
/usr/local/pgsql/data -l logfile start
gpennhost:data 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"?
I've looked at the config file, and verified that the port defaults to 5432,
but I don't know what else to do. I've spent 10 hours today getting to this
point, and searching this forum and others hasn't turned up a solution. If
you have advice on how to proceed, please keep in mind that I am very new to
Thanks in advance.
View this message in context: http://postgresql.1045698.n5.nabble.com/MDTFATAL-could-note-create-log-file-permission-denied-tp4312282p4312282.html
Sent from the PostgreSQL - novice mailing list archive at Nabble.com.
pgsql-novice by date
|Next:||From: Brent Dombrowski||Date: 2011-04-19 03:49:16|
|Subject: Re: MDTFATAL: could note create log file . . . permission denied|
|Previous:||From: Kevin Grittner||Date: 2011-04-18 21:55:06|
|Subject: Re: "postgres" is needed by initdb but was not found|