Skip site navigation (1) Skip section navigation (2)

Re: Re: postgresql problem

From: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
To: Jane G <jane(dot)gu(at)jungledrum(dot)co(dot)nz>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: Re: postgresql problem
Date: 2001-03-06 02:25:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports

On Mon, Mar 05, 2001 at 07:34:41PM -0500, Jason Tishler wrote:
> On Tue, Mar 06, 2001 at 01:19:38PM +1300, Jane G wrote:
> > Sorry i have to bother you again.  I followed your advise to use Cygwin
> > 1.1.8-2  with cygwin1.dll(written in 20010216) from the snapshot list. Then
> > i can start my postmaster.  But when i tried to run 'psql -h localhost
> > template1',  it stucked.  The error message is:
> > "psql: connectDBStart() -- connect() failed: No such file
> >     Is the postmaster running at 'localhost'
> >     and accepting connections on Unix socket '5432'?"
> > I checked my socket number and it was 5432.
> > Could you give me another advise?
> Kevin's howto is a "little" dated.  You no longer need to use TCP/IP
> sockets to connect to postmaster under Cygwin, you can now use the
> default Unix domain sockets (as on other Unix platforms).  Hence,
> the solution to the problem above is to start psql *without* the "-h
> localhost" option.  Otherwise, you need to start postmaster with the
> "-i" option which instructs it to listen on TCP/IP sockets too.

What version of PostgreSQL are you using?  The above assumes that you
are using a recent version such as 7.1beta5.  If you are using 7.0.3
with my patches, then you must start postmaster with the "-i" option
under Cygwin.

Sorry for the misinformation.


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(dot)Tishler(at)dothill(dot)com
Hazlet, NJ 07730 USA                 WWW:

In response to


pgsql-ports by date

Next:From: Jason TishlerDate: 2001-03-06 04:40:07
Subject: Re: Re: postgresql problem
Previous:From: Jason TishlerDate: 2001-03-06 02:17:18
Subject: Re: help on pgsq windows 2000 port

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group