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

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin

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

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.


pgsql-admin by date

Next:From: Scott MarloweDate: 2007-01-31 02:23:01
Subject: Re: Cannot initdb for 8.2.1 - "..../postgres.bki" does notexist
Previous:From: Tom LaneDate: 2007-01-31 00:26:24
Subject: Re: pg_dumpall problems

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