This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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@ocean ~
$ ipc-daemon &
[1] 157

Administrator@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@ocean ~
$ postmaster -D /usr/share/postgresql/data &
[2] 176

Administrator@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@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.hoenicka@cats.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]