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 48CCD9DCA5F for ; Sun, 19 Mar 2006 08:15:06 -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 01983-07 for ; Sun, 19 Mar 2006 08:15:08 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.197]) by postgresql.org (Postfix) with ESMTP id 985059DC884 for ; Sun, 19 Mar 2006 08:15:03 -0400 (AST) Received: by zproxy.gmail.com with SMTP id 8so816019nzo for ; Sun, 19 Mar 2006 04:15:05 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kM1LcKZLRGHniGi42xRd535JPIKl1Stp2WNGkVLgEthstfdhIWZzYmZ0ZK0fd1TQmFNxftZk3AvBqbjQullYnGN9mYwIedFnQKsOkeq8nf1rj6yNwjv42NeX2QpAhk6ToVxysXvdW+2i0PMdx7KBeMSNp4XBZ2DCfna+Ja76J+8= Received: by 10.65.75.1 with SMTP id c1mr72043qbl; Sun, 19 Mar 2006 04:15:05 -0800 (PST) Received: by 10.64.114.20 with HTTP; Sun, 19 Mar 2006 04:15:05 -0800 (PST) Message-ID: <6910a60603190415we06e97bg@mail.gmail.com> Date: Sun, 19 Mar 2006 12:15:05 +0000 From: "Reini Urban" Reply-To: "Reini Urban" To: "=?ISO-2022-JP?B?GyRCJV4lSyE8JTclZRsoQiAbJEIlNyVjJWslXhsoQg==?=" Subject: Re: command initdb not found Cc: pgsql-cygwin@postgresql.org In-Reply-To: <000b01c645ae$261eb310$0203a8c0@maneesh> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <000b01c645ae$261eb310$0203a8c0@maneesh> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.276 required=5 tests=[MAILTO_TO_SPAM_ADDR=0.276] X-Spam-Score: 0.276 X-Spam-Level: X-Archive-Number: 200603/3 X-Sequence-Number: 4333 2006/3/12, マニーシュ シャルマ : > I have downloaded and installed cygwin as stated in > FAQ_CYGWIN for postgresql > I have followed the steps below > > 1. Download and run the Cygwin installer. Visit http://cygwin.com/ and > click on the "Install Cygwin now' link. This will prompt you > to download a "setup.exe". Save this file somewhere on your > system and then execute it. > > 2. Proceed through the Cygwin install wizard. Choose 'Install from > Internet', specify a Local Package Directory and choose a mirror > site that's close to you. Answer the other installer questions > appropriately for your configuration. > > When you come to the point of choosing which packages to install, > expand the 'Database' section and click 'Skip' next to PostgreSQL > to change it to the latest version of PostgreSQL available for > Cygwin. > > 3. Once the download and install process is complete, open a Cygwin > shell and do the following for a basic installation: > > 3a. Start cygserver for shared memory support. To do this, > enter the command "/usr/sbin/cygserver &". This program > needs to be running anytime you start the PostgreSQL server > (postmaster) or initialize a database (initdb). > > Result: > $ /usr/sbin/cygserver & > [1] 1320 > > 3b. Use the initdb command to create a new database cluster. An > example command would be: > > initdb -D /usr/local/pgsql/data -W -E SHIFT_JIS > > BUT After passing initdb command the cywin is prompting a error > > Result: > $ initdb -D /usr/local/pgsql/data -W -E SHIFT_JIS > bash: initdb: command not found > > What could be the possible error? export cygwin=server Easier is to use the rc init script /etc/init.d/postgresql > Please help me install Postgresql on Windows 2000 (JP Version) SP4. -- Reini Urban http://phpwiki.org/ http://spacemovie.mur.at/ http://helsinki.at/