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: 20070131012727.D2D96197348@smtp06l.fasthosts.co.uk (view raw or flat)
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

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-2014 The PostgreSQL Global Development Group