Skip site navigation (1) Skip section navigation (2)

"postmaster: could not find the database system"

From: "Daniel Secomb" <dan(at)ds-d(dot)com>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: "postmaster: could not find the database system"
Date: 2004-07-23 13:29:40
Message-ID: MCBBIFBENOMGNJNDAAJBMEEPCHAA.dan@ds-d.com (view raw or flat)
Thread:
Lists: pgsql-cygwin
Hi,

For some weird reason, when I typed in "postmaster -D /usr/local/pgsql/data"
it came back at me saying "postmaster: could not find the database system"
?????? Why is that so????

Here's the whole thing:


$ export CYGWIN=server
$ /usr/sbin/cygserver &
[1] 792779
$ cygserver: Initialization complete. Waiting for requests.
initdb -D /usr/local/pgsql/data -W -E LATIN1
The files belonging to this database system will be owned by user "Daniel
Secomb
".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
selecting default max_connections... Broken pipe
$ postmaster -D /usr/local/pgsql/data
postmaster: could not find the database system
Expected to find it in the directory "/usr/local/pgsql/data",
but could not open file "/usr/local/pgsql/data/global/pg_control": No such
file
or directory
$



Any ideas anyone?

Any help will be GREATLY appreciated!!

Many, many thanks!!


Kind Regards,

Daniel Secomb
Creative Director
DS Design
ABN 33 721 455 978
PO Box 4540,
Lake Haven NSW 2263
Australia
[p] +61 2 4393 6305
[f] +61 2 4393 6306
[m] +61414 571 500
mailto:dan(at)ds-d(dot)com
http://www.ds-d.com/

Take a look at our latest web development project:
http://www.specialfx.com.au/

From the US, UK or Europe? Why not take advantage of the weaker Australian
dollar? Click the following link http://www.xe.com/ucc/ for a currency
conversion and find out how much you'll save!!

_________________________________________________________________

The material contained in this email may be confidential, and may also be
the subject of copyright and/or privileged information. If you are not the
intended recipient, any use, disclosure or copying of this document is
prohibited. If you have received this document in error, please advise the
sender and delete the document.

This email communication does not create or vary any contractual
relationship between DS Design and you. Internet communications are not
secure and accordingly DS Design does not accept any legal liability for the
contents of this message.

Please note that neither DS Design nor the sender accepts any responsibility
for viruses and it is your responsibility to scan the email and any
attachments.




Responses

pgsql-cygwin by date

Next:From: Martin Husted HartvigDate: 2004-07-23 13:49:48
Subject: Re: "postmaster: could not find the database system"
Previous:From: Igor PechtchanskiDate: 2004-07-23 12:42:48
Subject: [OT] Re: To cygwin postgresql maintainer: tutorial RFC

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group