Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group