pg.ddx.io  pgsql-cygwin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jason Tishler <Jason.Tishler@dothill.com>
To: schopen@dimdi.de
Cc: pgsql-cygwin@postgresql.org
Subject: Re: initdb fails
Date: Fri, 20 Apr 2001 11:58:48 -0400
Message-ID: <20010420115848.G294@dothill.com> (raw)
In-Reply-To: <3ADFF951.8884.41E6868@localhost>
References: <3ADFF951.8884.41E6868@localhost>

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



view thread (13+ messages)  latest in thread

Message-ID: <20010420115848.G294@dothill.com>
Permalink:  ../20010420115848.G294@dothill.com/
Also on:    postgresql.org/message-id/20010420115848.G294@dothill.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-cygwin@postgresql.org
  Cc: Jason.Tishler@dothill.com, schopen@dimdi.de
  Subject: Re: initdb fails
  In-Reply-To: <20010420115848.G294@dothill.com>
  References: <3ADFF951.8884.41E6868@localhost> <20010420115848.G294@dothill.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox