Re: Problem in start up postgres in Cygwin - Mailing list pgsql-cygwin

From Reini Urban
Subject Re: Problem in start up postgres in Cygwin
Date
Msg-id 4402A7B3.8090703@x-ray.at
Whole thread Raw
In response to Problem in start up postgres in Cygwin  (Xiaogang <xiaogangz@acm.org>)
List pgsql-cygwin
Xiaogang schrieb:
> I have just installed the latest Cygwin, which has already included
> postgresql installed (version 8.0.4-1), but have problem to start the
> postgresql server: I got a "bad system call" on postgre.exe when
> initializing the database using initdb.
>
> I have tried this on two WinXP boxes, one XP pro and one Home, the
> results is the same.
>
> Can any one help? Thank you in advance.

cygserver is running,
but your shell probably misses the env CYGWIN=server

> xzhang@XGZNB ~
> $ cygserver  &
> [1] 1416
>
> xzhang@XGZNB ~
> $ cygserver: Initialization complete.  Waiting for requests.
> $ initdb -D /usr/lib/postgresql/data
...
> creating directory /usr/lib/postgresql/data/pg_tblspc ... ok
> selecting default max_connections ... sh: line 1:   404 Bad system call
--
Reini Urban
http://phpwiki.org/
http://helsinki.at/  http://spacemovie.mur.at/

pgsql-cygwin by date:

Previous
From: Xiaogang
Date:
Subject: Problem in start up postgres in Cygwin
Next
From: John Xiaogang Zhang
Date:
Subject: Problem in initdb