Skip site navigation (1) Skip section navigation (2)

Re: Problem in start up postgres in Cygwin

From: Reini Urban <rurban(at)x-ray(dot)at>
To: xiaogangz(at)acm(dot)org, pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Problem in start up postgres in Cygwin
Date: 2006-02-27 07:18:11
Message-ID: 4402A7B3.8090703@x-ray.at (view raw or flat)
Thread:
Lists: 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(at)XGZNB ~
> $ cygserver  &
> [1] 1416
> 
> xzhang(at)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/

In response to

pgsql-cygwin by date

Next:From: Gunnar ThielebeinDate: 2006-03-10 11:45:53
Subject: setting up postgres 8.0.4-1
Previous:From: XiaogangDate: 2006-02-27 02:11:33
Subject: Problem in start up postgres in Cygwin

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group