Re: Problem in start up postgres in Cygwin

Reini Urban <[email protected]> Mon, 27 Feb 2006 07:18:11 +0000
Newsgroups gmane.comp.db.postgresql.cygwin
Message-ID <[email protected]>
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/

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq