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

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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Simon Kinsella" <simon(at)bluefiresystems(dot)co(dot)uk>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Cannot initdb for 8.2.1 - "..../postgres.bki" does not exist
Date: 2007-01-31 04:01:14
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
"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

In response to


pgsql-admin by date

Next:From: Peter EisentrautDate: 2007-01-31 07:46:35
Subject: Re: Postgres encyrption export
Previous:From: Scott MarloweDate: 2007-01-31 02:23:01
Subject: Re: Cannot initdb for 8.2.1 - "..../postgres.bki" does notexist

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