From: Jason Tishler <Jason.Tishler@dothill.com>
To: schopen@dimdi.de
Cc: pgsql-cygwin@postgresql.org
Subject: Re: initdb fails
Date: Wed, 18 Apr 2001 15:38:38 -0400
Message-ID: <20010418153838.A394@dothill.com> (raw)
In-Reply-To: <20010418133004.F536@dothill.com>
References: <3ADDD957.29160.54EFE99@localhost>
<20010418133004.F536@dothill.com>
Michael,
On Wed, Apr 18, 2001 at 01:30:04PM -0400, Jason Tishler wrote:
> On Wed, Apr 18, 2001 at 06:13:43PM +0200, schopen@dimdi.de wrote:
> > bash-2.04$ bin/initdb
> > This database system will be initialized with username "schopen".
> > This user will own all the data files and must also own the server
> > process.
> >
> > Creating directory /usr/share/postgresql/data
> > [snip]
> > Initializing pg_shadow.
> >
> > initdb failed.
> > Removing /usr/share/postgresql/data.
> > Removing temp file /tmp/initdb.194.
> >
> > Any help? Thanks a lot.
>
> I just tried the above with the following configuration:
>
> NT 4.0 SP6a
> PostgreSQL 7.1-2
> cygipc 1.09-2
> Cygwin 1.1.8-2 (with cygwin1.dll replaced by cygwin1-20010416.dll.bz2)
>
> and the initdb worked as expected.
The plot thickens or I spoke too soon.
Although initdb works, I am getting the following errors when I connect
to postmaster:
# server side
$ postmaster
DEBUG: database system was shut down at 2001-04-18 15:12:29
DEBUG: CheckPoint record at (0, 1563376)
DEBUG: Redo record at (0, 1563376); Undo record at (0, 0); Shutdown TRUE
DEBUG: NextTransactionId: 619; NextOid: 18720
DEBUG: database system is in production state
pq_flush: send() failed: The connection was aborted
pq_recvbuf: recv() failed: errno ESHUTDOWN triggered
# client side
$ psql -l
psql: pqReadData() -- backend closed the channel unexpectedly.
This probably means the backend terminated abnormally
before or while processing the request.
The Cygwin snapshot from 4/13/2001 works but the one from 4/14/2001
doesn't. I'm trying to determine why. I will report back when I get
more information.
If anyone wants to help, please jump in.
Thanks,
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
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: <20010418153838.A394@dothill.com>
References: <3ADDD957.29160.54EFE99@localhost> <20010418133004.F536@dothill.com> <20010418153838.A394@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