user

From: "Peter T(dot) Whiting" <pwhiting(at)fury(dot)ittc(dot)ukans(dot)edu>
To: pgsql-ports(at)postgresql(dot)org
Subject: user
Date: 2000-05-04 20:43:21
Message-ID: 20000504154321.A31436@sprint.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name : Peter Whiting
Your email address : pwhiting(at)sprint(dot)net

System Configuration
---------------------
Architecture (example: Intel Pentium) : SunOS alta 5.6 Generic sun4u sparc SUNW,Ultra-1

Operating System (example: Linux 2.0.26 ELF) : solaris 2.6

PostgreSQL version (example: PostgreSQL-6.5.1): postgresql-7.0RC3

Compiler used (example: gcc 2.8.0) : gcc version 2.7.2.3

Please enter a FULL description of your problem:
------------------------------------------------

Creating a new database results in an error:

ERROR: CREATE DATABASE: Could not initialize database directory.
Delete failed as well

I have verified that the postgres user has proper write permissions to
the directory.
I modified postgresql-7.0RC3/src/backend/commands/dbcommands.c to print
out more information (currently it doesn't print out much failure info
when the cp failes.)

In createdb(const char *dbname, const char *dbpath, int encoding) I print
out the attempted command (stored in buf) and the error string when system
fails. The message I get:

ERROR: CREATE DATABASE: attempted cp /usr/local/pgsql/data/base/template1/*
'/usr/local/pgsql/data/base/test5' : No child processes

I can execute the cp from the command line as is and it works.
The error message indicates it isn't a permission problem.

ideas?

Please describe a way to repeat the problem. Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------

createdb test5

If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------

Responses

  • Re: user at 2000-05-04 21:07:55 from Peter T. Whiting

Browse pgsql-ports by date

  From Date Subject
Next Message Peter T. Whiting 2000-05-04 21:07:55 Re: user
Previous Message Thomas A. Szybist 2000-05-03 17:38:41 sparc64 and 7.0RC3