Received: from ny.dothill.com (ny.dothill.com [155.254.1.24]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f3KFxL399993 for ; Fri, 20 Apr 2001 11:59:21 -0400 (EDT) (envelope-from Jason.Tishler@dothill.com) Received: from kosh.boxhill.com (kosh.boxhill.com [216.116.135.139]) by ny.dothill.com (8.9.3/8.9.3) with SMTP id MAA12662; Fri, 20 Apr 2001 12:06:18 -0400 Received: by kosh.boxhill.com (sSMTP sendmail emulation); Fri, 20 Apr 2001 11:58:48 -0400 Date: Fri, 20 Apr 2001 11:58:48 -0400 From: Jason Tishler To: schopen@dimdi.de Cc: pgsql-cygwin@postgresql.org Subject: Re: initdb fails Message-ID: <20010420115848.G294@dothill.com> Mail-Followup-To: schopen@dimdi.de, pgsql-cygwin@postgresql.org References: <3ADFF951.8884.41E6868@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3ADFF951.8884.41E6868@localhost>; from schopen@dimdi.de on Fri, Apr 20, 2001 at 08:54:41AM +0200 Organization: Dot Hill Systems Corp. X-Archive-Number: 200104/22 X-Sequence-Number: 23 Michael, On Fri, Apr 20, 2001 at 08:54:41AM +0200, schopen@dimdi.de wrote: > >> On Wed, Apr 18, 2001 at 06:13:43PM +0200, schopen@dimdi.de wrote: > >> bash-2.04$ bin/initdb When I first saw the above, I thought that it was strange... > Thanks, Jason. After replacing shapshot 20010416 by 20010413 nothing changed. I suggested using 20010413 (to the entire pgsql-cygwin list not just you) to workaround the Cygwin AF_UNIX socket problem -- not to solve your original problem. > Then I followed your advice and located the call in the initdb script. > I removed "-o /dev/null" from PGSQL_OPT and realized that the path to > postgres was wrong: > "//bin/postgres". The above will be interpreted by Cygwin as a UNC path. In this case, Cygwin will look for share "postgres" on machine "bin". > I called initdb with -L and everything worked fine. > I think the reason is that I have the whole cygnus stuff under c:\cygwin > and not under c:\ No! It is discouraged from installing Cygwin under the root directory of a drive. The default is "C:\Cygwin" and I suggest that you use it. If your Cygwin installation is set up correctly, then you should be able to just type: $ initdb Hence, I believe that you environment (i.e., PATH) is not set up correctly. If you cannot determine what is wrong yourself, then send the output from cygcheck -s -r v to the Cygwin mailing list: cygwin@cygwin.com Jason -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corp. Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com Hazlet, NJ 07730 USA WWW: http://www.dothill.com