can't get postgresql to start on cygwin... - Mailing list pgsql-cygwin

From Ed Hartnett
Subject can't get postgresql to start on cygwin...
Date
Msg-id wrxvf0fiv2j.fsf@shecky.unidata.ucar.edu
Whole thread Raw
List pgsql-cygwin
Howdy all!

I have an updated cygwin installation including postgres, but when I
try and start it (according the the instructions here:
http://www.postgresql.org/docs/faqs.FAQ_CYGWIN.htmlhttp://www.postgresql.org/docs/faqs.FAQ_CYGWIN.html),
I get a bunch of errors when trying to run initdb:

initdb -D /usr/local/pgsql/data -W -E LATIN1
The files belonging to this database system will be owned by user
"Ed".
This user must also own the server process.

The database cluster will be initialized with locale ENU.

creating directory /usr/local/pgsql/data... ok
creating directory /usr/local/pgsql/data/base... ok
creating directory /usr/local/pgsql/data/global... ok
creating directory /usr/local/pgsql/data/pg_xlog... ok
creating directory /usr/local/pgsql/data/pg_clog... ok
selecting default max_connections... /usr/bin/initdb: line 572:   172
Bad system call         "$PGPATH"/postgres -boot -x0 $TEST_OPT
template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 572:   820 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
/usr/bin/initdb: line 572:  1272 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
/usr/bin/initdb: line 572:  1780 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
/usr/bin/initdb: line 572:   460 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
/usr/bin/initdb: line 572:   956 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
10
selecting default shared_buffers... /usr/bin/initdb: line 585:  1060
Bad system call         "$PGPATH"/postgres -boot -x0 $TEST_OPT
template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 585:  1508 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
/usr/bin/initdb: line 585:  1352 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
/usr/bin/initdb: line 585:   420 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
/usr/bin/initdb: line 585:  1760 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
/usr/bin/initdb: line 585:   312 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
/usr/bin/initdb: line 585:   232 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
/usr/bin/initdb: line 585:  1796 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
/usr/bin/initdb: line 585:   496 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
/usr/bin/initdb: line 585:  1888 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
/usr/bin/initdb: line 585:  1512 Bad system call
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null
2>&1
50
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... FATAL:
invalid value for parameter "lc_messages": "ENU"

initdb: failed
initdb: removing data directory "/usr/local/pgsql/data"
bash-3.00$


--
Ed Hartnett  -- ed@unidata.ucar.edu


pgsql-cygwin by date:

Previous
From: "Kowtham Prabhu C"
Date:
Subject: Installation procedure for Postgresql in Cygwin
Next
From: "Aurangzeb M. Agha"
Date:
Subject: Weird ipc-daemon services