X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 139BCD1B502 for ; Thu, 2 Oct 2003 07:50:10 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 38135-01 for ; Thu, 2 Oct 2003 04:49:21 -0300 (ADT) Received: from news.hub.org (unknown [64.117.224.194]) by svr1.postgresql.org (Postfix) with ESMTP id F390AD1B552 for ; Thu, 2 Oct 2003 04:49:19 -0300 (ADT) Received: from news.hub.org (host-64-117-224-194.altec1.com [64.117.224.194] (may be forged)) by news.hub.org (8.12.9/8.12.9) with ESMTP id h927nJQh091268 for ; Thu, 2 Oct 2003 07:49:19 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id h927jXEg090932 for pgsql-admin@postgresql.org; Thu, 2 Oct 2003 07:45:33 GMT From: Kerv X-Newsgroups: comp.databases.postgresql.admin Subject: Re: initdb error on windows - urgent, please Date: Thu, 02 Oct 2003 10:45:34 +0300 Organization: Hub.Org Networking Services Lines: 67 Message-ID: References: <3F7B08B4.15865.1E8DFD5@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030612 X-Accept-Language: en-us, en In-Reply-To: <3F7B08B4.15865.1E8DFD5@localhost> To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.4 tagged_above=0.0 required=5.0 tests=EMAIL_ATTRIBUTION, FORGED_YAHOO_RCVD, IN_REP_TO, QUOTED_EMAIL_TEXT, REFERENCES, REPLY_WITH_QUOTES, USER_AGENT_MOZILLA_UA X-Spam-Level: * X-Archive-Number: 200310/20 X-Sequence-Number: 10581 Jarek Lubczyn'ski wrote: > Hi, everybody, > > Please help me with an urgent problem. > > I have PostgreSQL version: 7.3.1Alfa1 for Windows (the only Win version available) > > I am training installation of ProgreSQL on various PC's WinNT, 2K, XP and 2003 > installed. In some cases I've got such a problem (till now on W2K and W2003) > > When I try to initialize dbspace using initdb, for example: > ..... > initdb -D /cygdrive/d/database/postgres --username=myuser -W -E LATIN2 > ..... > > (of course specified path exists and is owned by "myuser") > > I will get such information: > > ---- > The files belonging to this database system will be owned by user "myuser". > This user must also own the server process. > > The database cluster will be initialized with locale C. > > Fixing permissions on existing directory /cygdrive/d/database/postgres... ok > creating directory /cygdrive/d/database/postgres/base... ok > creating directory /cygdrive/d/database/postgres/global... ok > creating directory /cygdrive/d/database/postgres/pg_xlog... ok > creating directory /cygdrive/d/database/postgres/pg_clog... ok > creating template1 database in /cygdrive/d/database/postgres/base/1... > IpcSemaphoreCreate: semget(key=1, num=17, 03600) failed: Function not > implemented > > initdb failed. > ---- > > User "myuser" belongs to the administator group of course. > Any set of initdb options causes the same result (even initdb with no parameters) > > > What is happening? How can I avoid such a problem? Why this seems to occur only > on: > some Win2k installations (two of tested five or six), > Win2003(first attempt passed through, second one on the other machine failed) > > and never (so far) on > WinNT (I've tried one) nor > WinXP (four or five cases). > > All Windows (except of WinNT) were Polish edition > > I have thought it's a matter of service pack installed, but today I installed PostgreSQL > on one machine with W2003 SE PL and everything went OK, but on other machine > with the same W2003 initdb failed. > > I need an urgent help. > Thanks in advance. > Hi, You need the IPC support for cygwin. Find it and download the cygipc package for cygwin. For set up and running PostgreSQL for cygwin please read postgresql-...README from ...cygwin\usr\doc\Cygwin Regards, Kerv