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

Re: FATAL cannot create init file... why?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Julian Gollop" <julian(dot)gollop(at)ntlworld(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: FATAL cannot create init file... why?
Date: 2001-05-11 15:21:25
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
"Julian Gollop" <julian(dot)gollop(at)ntlworld(dot)com> writes:
> I am logging in as user postgres, which owns the data/base/test directory
> with rwx------, and I start the postmaster with this login using
> pg_ctl -D ./data start
> There is no problem with disk space. I can initdb another data directory,
> but I can't createdb without a similar fatal error. Very puzzling.

Oh ... I see it.  You gotta give an absolute path as -D parameter.

(I think PG 7.1 is smart enough to convert a relative -D path spec to
absolute, but earlier releases just get confused.)

			regards, tom lane

In response to


pgsql-novice by date

Next:From: Mohammed ADate: 2001-05-11 15:50:24
Subject: different characteristics of the different types of the queries?
Previous:From: Julian GollopDate: 2001-05-11 14:26:57
Subject: RE: FATAL cannot create init file... why?

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