X-Original-To: pgsql-cygwin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 29FEE9DC9BF for ; Mon, 27 Feb 2006 03:18:15 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 60860-10 for ; Mon, 27 Feb 2006 03:18:14 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 616009DC98F for ; Mon, 27 Feb 2006 03:18:12 -0400 (AST) Received: from smartmx-08.inode.at (smartmx-08.inode.at [213.229.60.40]) by svr4.postgresql.org (Postfix) with ESMTP id 8BE685AF09C for ; Mon, 27 Feb 2006 07:18:07 +0000 (GMT) Received: from [62.99.252.218] (port=20019 helo=[192.168.1.8]) by smartmx-08.inode.at with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1FDcdn-00058E-Fb; Mon, 27 Feb 2006 08:17:55 +0100 Message-ID: <4402A7B3.8090703@x-ray.at> Date: Mon, 27 Feb 2006 07:18:11 +0000 From: Reini Urban User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8.0.1) Gecko/20060130 SeaMonkey/1.0 MIME-Version: 1.0 To: xiaogangz@acm.org, pgsql-cygwin@postgresql.org Subject: Re: Problem in start up postgres in Cygwin References: <44025FD5.3060600@acm.org> In-Reply-To: <44025FD5.3060600@acm.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200602/4 X-Sequence-Number: 4329 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/