Thread: win2k: newbie getting error 'database creation failed'

win2k: newbie getting error 'database creation failed'

From
Date:
Hi,

I'm trying to install pgsql and am unable to.

System: Win2k, 3GB free

I followed the instructions on the faq-mswin section
I downloaded and installed the cygwin version of pgsql (v.7.2)
Successfully started the ipc-daemon

Started the server:

$ /usr/bin/postmaster -D /usr/pgsql/data
DEBUG:  database system was shut down at 2002-02-12 22:05:39
DEBUG:  checkpoint record is at 0/1136C0
DEBUG:  redo record is at 0/1136C0; undo record is at 0/0; shutdown TRUE
DEBUG:  next transaction id: 89; next oid: 16556
DEBUG:  database system is ready

Tried to createdb, but got an error:

$ createdb testdb
Signal 11
createdb: database creation failed

The server window logged this:

DEBUG:  pq_recvbuf: unexpected EOF on client connection
DEBUG:  incomplete startup packet

Please help.

Thanks,
Van