pg.ddx.io  pgsql-cygwin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: $B%^%K!<%7%e!!%7%c%k%^(B <kdsgn542@ybb.ne.jp>
To: pgsql-cygwin@postgresql.org
Subject: command initdb not found
Date: Sun, 12 Mar 2006 17:22:49 +0900
Message-ID: <000b01c645ae$261eb310$0203a8c0@maneesh> (raw)

Hi ,
I have downloaded and installed cygwin as stated in
FAQ_CYGWIN for postgresql
I have followed the steps below

1.  Download and run the Cygwin installer.  Visit http://cygwin.com/ and
    click on the "Install Cygwin now' link.  This will prompt you
    to download a "setup.exe".  Save this file somewhere on your
    system and then execute it.

2.  Proceed through the Cygwin install wizard.  Choose 'Install from
    Internet', specify a Local Package Directory and choose a mirror
    site that's close to you.  Answer the other installer questions
    appropriately for your configuration.

    When you come to the point of choosing which packages to install,
    expand the 'Database' section and click 'Skip' next to PostgreSQL
    to change it to the latest version of PostgreSQL available for
    Cygwin.

3.  Once the download and install process is complete, open a Cygwin
    shell and do the following for a basic installation:

    3a.  Start cygserver for shared memory support.  To do this,
         enter the command "/usr/sbin/cygserver &".  This program
         needs to be running anytime you start the PostgreSQL server
         (postmaster) or initialize a database (initdb).

Result:
$ /usr/sbin/cygserver &
[1] 1320

 3b.  Use the initdb command to create a new database cluster.  An
         example command would be:

            initdb -D /usr/local/pgsql/data -W -E SHIFT_JIS

BUT After passing initdb command the cywin is prompting a error

Result:
$ initdb -D /usr/local/pgsql/data -W -E SHIFT_JIS
bash: initdb: command not found

What could be the possible error?

Please help me install Postgresql on Windows 2000 (JP Version) SP4.

Thanks in advance
Maneesh
Japan

view thread (3+ messages)  latest in thread

Message-ID: <000b01c645ae$261eb310$0203a8c0@maneesh>
Permalink:  ../000b01c645ae$261eb310$0203a8c0@maneesh/
Also on:    postgresql.org/message-id/000b01c645ae$261eb310$0203a8c0@maneesh

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-cygwin@postgresql.org
  Cc: kdsgn542@ybb.ne.jp
  Subject: Re: command initdb not found
  In-Reply-To: <000b01c645ae$261eb310$0203a8c0@maneesh>
  References: <000b01c645ae$261eb310$0203a8c0@maneesh>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox