pg.ddx.io  pgsql-cygwin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Reini Urban <rurban@x-ray.at>
To: xiaogangz@acm.org
To: pgsql-cygwin@postgresql.org
Subject: Re: Problem in start up postgres in Cygwin
Date: Mon, 27 Feb 2006 07:18:11 +0000
Message-ID: <4402A7B3.8090703@x-ray.at> (raw)
In-Reply-To: <44025FD5.3060600@acm.org>
References: <44025FD5.3060600@acm.org>

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/



view thread (2+ messages)

Message-ID: <4402A7B3.8090703@x-ray.at>
Permalink:  ../4402A7B3.8090703@x-ray.at/
Also on:    postgresql.org/message-id/4402A7B3.8090703@x-ray.at

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-cygwin@postgresql.org
  Cc: rurban@x-ray.at, xiaogangz@acm.org
  Subject: Re: Problem in start up postgres in Cygwin
  In-Reply-To: <4402A7B3.8090703@x-ray.at>
  References: <44025FD5.3060600@acm.org> <4402A7B3.8090703@x-ray.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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