Re: PostgreSQL 8 install fails (initdb)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: koester(at)x-itec(dot)de
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: PostgreSQL 8 install fails (initdb)
Date: 2005-02-21 15:27:42
Message-ID: 29860.1108999662@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

koester(at)x-itec(dot)de writes:
> I have downloaded release 8.x for installation. Compilation and so on
> works fine (FreeBSD 5.2.1)

> initdb fails with the following informations:

> copying template1 to template0 ... cp: /usr/local/pgsql/data/base/1/16384: Invalid argument
> cp: /usr/local/pgsql/data/base/1/17175: Invalid argument
> cp: /usr/local/pgsql/data/base/1/17180: Invalid argument
> cp: /usr/local/pgsql/data/base/1/17183: Invalid argument
> cp: /usr/local/pgsql/data/base/1/17185: Invalid argument
> ...
> FATAL: could not initialize database directory
> DETAIL: Failing system command was: cp -r '/usr/local/pgsql/data/base/1' '/usr/local/pgsql/data/base/17229'
> HINT: Look in the postmaster's stderr log for more information.
> child process exited with exit code 1
> initdb: removing data directory "/usr/local/pgsql/data"

> Anything I can do?

Complain to some FreeBSD hackers? This seems like it must be a kernel
bug (or perhaps a bug in cp itself). I don't think Postgres did
anything wrong.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2005-02-21 15:30:13 Re: Deadlock and FK triggers
Previous Message Bo Lorentsen 2005-02-21 15:16:33 Re: Deadlock and FK triggers