CREATEDB failure - Mailing list pgsql-novice

From Paul Bauer
Subject CREATEDB failure
Date
Msg-id 20040120061001.GA4762@shorttermwhat.com
Whole thread Raw
Responses Re: CREATEDB failure
List pgsql-novice
Hello,  I am trying to create a database on FreeBSD 5.2-RELEASE,
This is inside a jail.  I had it working in 5.1 and now am having a
problem.   The error is as follows

cp: /usr/local/pgsql/data/base/1/16386: Invalid argument
cp: /usr/local/pgsql/data/base/1/16388: Invalid argument
cp: /usr/local/pgsql/data/base/1/16404: Invalid argument
cp: /usr/local/pgsql/data/base/1/16414: Invalid argument
cp: /usr/local/pgsql/data/base/1/16654: Invalid argument
cp: /usr/local/pgsql/data/base/1/16663: Invalid argument
cp: /usr/local/pgsql/data/base/1/16657: Invalid argument
cp: /usr/local/pgsql/data/base/1/16669: Invalid argument
cp: /usr/local/pgsql/data/base/1/16678: Invalid argument
ERROR:  CREATE DATABASE: could not initialize database directory


I have noted some discusion recently about cp -r vs cp -R but am not
sure this is the problem.  cp -r does not exist on FreeBSD but may just
be confusing my problem.

If anyone has any suggestions, I would appreciate it.

postgres 7.3.5 is the version I am trying to run.  initdb works and I
can connect to template1.  creating tables in the template1 database
works as does adding user.

Thank you,
Paul
--
#######################################
# It does not matter how slowly you go so long as you do not stop.
# Confucius (551-479 BC)


Attachment

pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: long deletes :( Pls help
Next
From: Oliver Fromme
Date:
Subject: Re: CREATEDB failure