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: Cannot initdb for 8.2.1 - "..../postgres.bki" does not exist
Date: 2007-01-31 01:27:21
Message-ID: 20070131012727.D2D96197348@smtp06l.fasthosts.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

I'm trying to install and init 8.2.1 on a FreeBSD 6.2 server. It used to run
8.1.4 no problem. I uninstalled 8.1, renamed /usr/local/pgsql in case I
ever need it (I'm not really bothered about preserving the data) and built
8.2.1 - all fine.

But when I try to initdb:

---
root(at)cheddar> su -l pgsql
\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.
---

Tried adding " -L /usr/local/share/postgresql/" (and removing -E) but no
joy.

The .../share/postgresql/ files do exist. Not sure why this is happening
now, it's never happened before. I've got a horrible feeling it's something
embarrassingly simple but I'm stumped. And clues?

Many thanks

---
Simon Kinsella
This message has been scanned for viruses.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Scott Marlowe 2007-01-31 02:23:01 Re: Cannot initdb for 8.2.1 - "..../postgres.bki" does not exist
Previous Message Tom Lane 2007-01-31 00:26:24 Re: pg_dumpall problems