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

Re: 8.0: Absolute path required for INITDB?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: 8.0: Absolute path required for INITDB?
Date: 2004-08-09 19:20:42
Message-ID: 200408091220.42721.josh@agliodbs.com (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-patches
Tom,

> Well, that does deserve investigation.  But I've been initdb'ing
> frequently and not noticed any problems.  What configure switches
> did you use exactly?  Did you try to move the installation tree
> after configure?

Here's the issue: if you start initdb from a directory other than PGBASE, you 
can run into trouble:

postgres(at)mole:/usr/local/pg80b/bin> ./initdb -D ../data
initdb: file "/usr/local/pg80b/bin/share/postgresql/postgres.bki" does not 
exist
This means you have a corrupted installation or identified
the wrong directory with the invocation option -L.
postgres(at)mole:/usr/local/pg80b/bin>

I don't recall having this issue with 7.4.

-- 
-Josh Berkus
 Aglio Database Solutions
 San Francisco


In response to

Responses

pgsql-bugs by date

Next:From: CoLDate: 2004-08-09 20:17:51
Subject: Re: 8.0: Absolute path required for INITDB?
Previous:From: Josh BerkusDate: 2004-08-09 17:11:01
Subject: Re: 8.0: Absolute path required for INITDB?

pgsql-patches by date

Next:From: Greg Sabino MullaneDate: 2004-08-09 19:54:35
Subject: Small addition to syslogger.c
Previous:From: Josh BerkusDate: 2004-08-09 17:11:01
Subject: Re: 8.0: Absolute path required for INITDB?

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