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

Postgres 7.1rc4 on Cygwin fails to connect

From: "Richard Church" <rfchurch(at)hotmail(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Postgres 7.1rc4 on Cygwin fails to connect
Date: 2001-04-29 13:19:30
Message-ID: F276aE7WD84jBtwuiee0001004b@hotmail.com (view raw or flat)
Thread:
Lists: pgsql-cygwin
Question 1

I am able to install and initdb Postgres. But whenever I try to run psql or 
createdb, it fails and I get the message below.

The part which starts 'backend closed the channel....'  always comes up with 
rest of the message varying depending on the message.

psql: pqReadData() -- backend closed the channel unexpectedly.
	This probably means the backend terminated abnormally
	before or while processing the request.
createdb: database creation failed
pq_flush: send<> failed: The connection was aborted
pq_recvbuf: recv() failed: errno

Question 2

My postgresql.conf file is completely commented out.

Can anyone show me a sample which will at least allow connection via TCP/IP?

Could it be the reason why the commands above are not working?  I  execute 
these commands from the cygwin console.


Thanks

Richard

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


pgsql-cygwin by date

Next:From: Richard ChurchDate: 2001-04-30 01:23:46
Subject: Postgres 7.1-2 repeatedly fails to connect
Previous:From: Jason TishlerDate: 2001-04-28 12:48:57
Subject: Re: Initdb and IpcMemoryCreate Errors

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