pg.ddx.io  pgsql-cygwin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
command initdb not found
3+ messages / 3 participants
[nested] [flat]

* command initdb not found
@ 2006-03-12 08:22  $B%^%K!<%7%e!!%7%c%k%^(B <kdsgn542@ybb.ne.jp>
  0 siblings, 2 replies; 3+ messages in thread

From: $B%^%K!<%7%e!!%7%c%k%^(B @ 2006-03-12 08:22 UTC (permalink / raw)
  To: pgsql-cygwin

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

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: command initdb not found
@ 2006-03-19 12:15  Reini Urban <rurban@x-ray.at>
  parent: $B%^%K!<%7%e!!%7%c%k%^(B <kdsgn542@ybb.ne.jp>
  1 sibling, 0 replies; 3+ messages in thread

From: Reini Urban @ 2006-03-19 12:15 UTC (permalink / raw)
  To: $B%^%K!<%7%e(B $B%7%c%k%^(B <kdsgn542@ybb.ne.jp>; +Cc: pgsql-cygwin

2006/3/12, $B%^%K!<%7%e!!%7%c%k%^(B <kdsgn542@ybb.ne.jp>:
> 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?

export cygwin=server

Easier is to use the rc init script
/etc/init.d/postgresql

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

--
Reini Urban
http://phpwiki.org/
http://spacemovie.mur.at/   http://helsinki.at/



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: command initdb not found
@ 2007-03-06 00:00  makhan <emoazzam@yahoo.com>
  parent: $B%^%K!<%7%e!!%7%c%k%^(B <kdsgn542@ybb.ne.jp>
  1 sibling, 0 replies; 3+ messages in thread

From: makhan @ 2007-03-06 00:00 UTC (permalink / raw)
  To: pgsql-cygwin


Hi

I am facing the same problem, can you plz tell me what did u do to solve it.

Regards
MAK

マニーシュ シャルマ wrote:
> 
> 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 this message in context: http://www.nabble.com/command-initdb-not-found-tf1305010.html#a9323514
Sent from the PostgreSQL - cygwin mailing list archive at Nabble.com.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2007-03-06 00:00 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-12 08:22 command initdb not found $B%^%K!<%7%e!!%7%c%k%^(B <kdsgn542@ybb.ne.jp>
2006-03-19 12:15 ` Reini Urban <rurban@x-ray.at>
2007-03-06 00:00 ` makhan <emoazzam@yahoo.com>

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