On Wed, 2007-01-31 at 01:27 +0000, Simon Kinsella wrote:
> 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@cheddar> su -l pgsql
> \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.
I'm go gonna out on a limb here and guess that the files postgresql is
trying to initdb with are 8.1 and not 8.2 version files.