can't get postgresql to start on cygwin...

From: Ed Hartnett <ed(at)unidata(dot)ucar(dot)edu>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: can't get postgresql to start on cygwin...
Date: 2005-10-02 19:21:24
Message-ID: wrxvf0fiv2j.fsf@shecky.unidata.ucar.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)unidata(dot)ucar(dot)edu

Browse pgsql-cygwin by date

  From Date Subject
Next Message Aurangzeb M. Agha 2005-10-04 02:18:10 Weird ipc-daemon services
Previous Message Jason Tishler 2005-09-27 11:23:36 Re: Installation procedure for Postgresql in Cygwin