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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pyrogerg <gregory(dot)penn(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: MDTFATAL: could note create log file . . . permission denied
Date: 2011-04-19 05:47:06
Message-ID: 24273.1303192026@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Pyrogerg <gregory(dot)penn(at)gmail(dot)com> writes:
> Brent,
> 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
> server starting
> 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"?
> gpennhost:bin postgres$

What appears in the logfile? Also, where are you seeing the message
quoted in your Subject?

regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Grzegorz Szpetkowski 2011-04-19 12:00:42 Re: [ADMIN] "postgres" is needed by initdb but was not found
Previous Message Muruganand Karthikeyan 2011-04-19 05:09:38 Re: "postgres" is needed by initdb but was not found