delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/10/19:12:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
From: "Markus Hoenicka" <markus DOT hoenicka AT mhoenicka DOT de>
MIME-Version: 1.0
Message-ID: <16141.62020.181904.924309@tipi.mininet>
Date: Fri, 11 Jul 2003 01:09:56 +0200
To: cygwin AT cygwin DOT com
Subject: PostgreSQL problems

Hi all,

I've got problems setting up PostgreSQL on Cygwin. I've been following
the excellent description in the PostgreSQL readme file and got the
following result:

Administrator AT ocean ~
$ ipc-daemon &
[1] 157

Administrator AT ocean ~
$ initdb -D /usr/share/postgresql/data
The files belonging to this database system will be owned by user "Administrator".
This user must also own the server process.

The database cluster will be initialized with locale C.

<... everything went ok here...>

Success. You can now start the database server using:

    /usr/bin/postmaster -D /usr/share/postgresql/data
or
    /usr/bin/pg_ctl -D /usr/share/postgresql/data -l logfile start


Administrator AT ocean ~
$ postmaster -D /usr/share/postgresql/data &
[2] 176

Administrator AT ocean ~
$ LOG:  database system was shut down at 2003-07-11 00:17:52
LOG:  checkpoint record is at 0/83B238
LOG:  redo record is at 0/83B238; undo record is at 0/0; shutdown TRUE
LOG:  next transaction id: 480; next oid: 16976
LOG:  database system is ready
LOG:  StreamConnection: accept() failed: Socket operation on non-socket

Administrator AT ocean ~
$ psql template1
psql: could not receive data from server: Cannot send after transport
endpoint shutdown

I've tried PostgreSQL 7.3.2-2 and 7.3.3-1 together with cygipc 1.13-2
and 1.14-1. No luck in either combination.

The system is a freshly installed WinNT4 with a fresh Cygwin
installation.

What am I doing wrong?

regards,
Markus

-- 
Markus Hoenicka
markus DOT hoenicka AT cats DOT de
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019