From: Simon Kinsella <simon@bluefiresystems.co.uk>
To: pgsql-admin@postgresql.org
Subject: Re: Cannot initdb for 8.2.1 - "..../postgres.bki" does not exist
Date: Mon, 5 Feb 2007 00:52:55 -0000
Message-ID: <20070205005258.3EB71197344@smtp06l.fasthosts.co.uk> (raw)
In-Reply-To: <15051.1170216074@sss.pgh.pa.us>
Thanks for your input guys - I had to put this problem on hold for a few
days.
In case it helps anyone in a similar boat, this problem seems to have been
due to a umask of 0027. Changing to 022 seems to have fixed it.
Cheers,
Simon Kinsella
-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Tom Lane
Sent: Wednesday, January 31, 2007 4:01 AM
To: Simon Kinsella
Cc: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Cannot initdb for 8.2.1 - "..../postgres.bki" does not
exist
"Simon Kinsella" <simon@bluefiresystems.co.uk> writes:
> \u@cheddar> /usr/local/bin/initdb -D /usr/local/pgsql/data -E UNICODE
> initdb: file "/usr/local/share/postgresql/postgres.bki" does not exist
> This means you have a corrupted installation or identified the wrong
> directory with the invocation option -L.
> The .../share/postgresql/ files do exist.
Looking at the code, this message is emitted if attempting to stat() the
file fails, regardless of what the actual errno is. So I'm wondering about
permissions problems, specifically inability to search one of the
directories on the path.
We should adjust initdb to report the actual kernel errno value, instead of
presuming that it's "file not found".
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: simon@bluefiresystems.co.uk
Subject: Re: Cannot initdb for 8.2.1 - "..../postgres.bki" does not exist
In-Reply-To: <20070205005258.3EB71197344@smtp06l.fasthosts.co.uk>
References: <15051.1170216074@sss.pgh.pa.us> <20070205005258.3EB71197344@smtp06l.fasthosts.co.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox