CREATEDB failure

From: Paul Bauer <paul(at)shorttermwhat(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: CREATEDB failure
Date: 2004-01-20 06:10:01
Message-ID: 20040120061001.GA4762@shorttermwhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Oliver Fromme 2004-01-20 09:45:52 Re: CREATEDB failure
Previous Message Tom Lane 2004-01-20 02:48:06 Re: long deletes :( Pls help