MDTFATAL: could note create log file . . . permission denied

Поиск
Список
Период
Сортировка
От Pyrogerg
Тема MDTFATAL: could note create log file . . . permission denied
Дата
Msg-id 1303181228442-4312282.post@n5.nabble.com
обсуждение исходный текст
Ответы Re: MDTFATAL: could note create log file . . . permission denied  (Brent Dombrowski <brent.dombrowski@gmail.com>)
Список pgsql-novice
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
server starting
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"?
gpennhost:data postgres$

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
this.

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 по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: [ADMIN] "postgres" is needed by initdb but was not found
Следующее
От: Brent Dombrowski
Дата:
Сообщение: Re: MDTFATAL: could note create log file . . . permission denied