Re: "postmaster: could not find the database system"

From: "Martin Husted Hartvig" <mh(at)ctek(dot)dk>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: "postmaster: could not find the database system"
Date: 2004-07-23 13:49:48
Message-ID: opsblfdawdp11tu2@pasmtp.tele.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin


Looks like your initdb went wrong, have you tryed a other location like
/var/postgres/data?

On Fri, 23 Jul 2004 23:29:40 +1000, Daniel Secomb <dan(at)ds-d(dot)com> wrote:

> 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.
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html

--
Martin

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message sarbx-postgrescygwin3775 2004-07-23 18:41:13 PostgreSQL 7.2.4 & cygserver
Previous Message Daniel Secomb 2004-07-23 13:29:40 "postmaster: could not find the database system"