Re: Cannot initdb for 8.2.1 - "..../postgres.bki" does not exist

From: "Simon Kinsella" <simon(at)bluefiresystems(dot)co(dot)uk>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Cannot initdb for 8.2.1 - "..../postgres.bki" does not exist
Date: 2007-02-05 00:52:55
Message-ID: 20070205005258.3EB71197344@smtp06l.fasthosts.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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(at)postgresql(dot)org
[mailto:pgsql-admin-owner(at)postgresql(dot)org] On Behalf Of Tom Lane
Sent: Wednesday, January 31, 2007 4:01 AM
To: Simon Kinsella
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] Cannot initdb for 8.2.1 - "..../postgres.bki" does not
exist

"Simon Kinsella" <simon(at)bluefiresystems(dot)co(dot)uk> writes:
> \u(at)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Monnerie 2007-02-05 12:51:43 destroyed db/index
Previous Message Ivo Rossacher 2007-02-04 23:26:42 Re: [SQL] Question regarding multibyte.