Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 766519FB43B for ; Tue, 30 Jan 2007 22:24:19 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 62429-05 for ; Tue, 30 Jan 2007 22:24:15 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id 25B989FB434 for ; Tue, 30 Jan 2007 22:24:16 -0400 (AST) Received: from 10.10.1.93 ([10.10.1.93]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Wed, 31 Jan 2007 02:24:06 +0000 Received: from localhost.localdomain by mail.g2switchworks.com; 30 Jan 2007 20:23:02 -0600 Subject: Re: Cannot initdb for 8.2.1 - "..../postgres.bki" does not exist From: Scott Marlowe To: Simon Kinsella Cc: pgsql-admin@postgresql.org In-Reply-To: <20070131012727.D2D96197348@smtp06l.fasthosts.co.uk> References: <20070131012727.D2D96197348@smtp06l.fasthosts.co.uk> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Tue, 30 Jan 2007 20:23:01 -0600 Message-Id: <1170210182.30488.1.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 (2.2.2-5) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/286 X-Sequence-Number: 24442 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.