X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 92FADD1B54D for ; Wed, 16 Jun 2004 09:11:41 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 25342-09 for ; Wed, 16 Jun 2004 12:11:42 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id AB553D1B4F4 for ; Wed, 16 Jun 2004 09:11:33 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i5GCBUQC061106 for ; Wed, 16 Jun 2004 12:11:30 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i5GBvSt9058059 for pgsql-admin@postgresql.org; Wed, 16 Jun 2004 11:57:28 GMT From: "Harry" X-Newsgroups: comp.databases.postgresql.admin Subject: cygwin installation problem (windows platform) Date: Wed, 16 Jun 2004 14:00:07 +0100 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Lines: 29 Message-ID: <40d035ab$0$23869$14726298@news.sunsite.dk> Organization: SunSITE.dk - Supporting Open source X-Complaints-To: staff@sunsite.dk To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.8 tagged_above=0.0 required=5.0 tests=PRIORITY_NO_NAME X-Spam-Level: X-Archive-Number: 200406/253 X-Sequence-Number: 13913 Hi all, I install cygwin in my windows2000 so as to install postgresql. When I use the postgresql installed together with cygwin, I came into this problem: First, I run ipc-daemon2 & Second, when I try to initialize the database by running the following command, initdb -D /usr/local/pgsql/data I got some problem, here are the output .....(the above step is OK) creating configuration files... ok creating template1 database in /usr/local/pgsql/data/base/1... Signal 12 initdb: failed I download the source code of postgresql (7.4.2) and compile it under the cygwin and run the above again. The same problem happens. Here are the output after running initdb. ........( The above is OK) creating configuration files... ok creating template1 database in /usr/local/pgsql/data/base/1... FATAL: semctl(35 , 16, SETVAL, 536) failed: Invalid argument initdb: failed What shall I do with this problem? Thanks Harry