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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-cygwin by date

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