X-Spam-Check-By: sourceware.org Message-ID: Date: Fri, 13 Jan 2006 12:44:56 +0200 From: Adrian Maier To: cygwin AT cygwin DOT com Subject: Fatal error when trying to initialise PostgreSQL in cygwin MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k0DAj9ob031394 Hello, When I try to initialise the postgresql database cluster with initdb it generates the following errors : $ initdb -D pgsql_data/ The files belonging to this database system will be owned by user "am". This user must also own the server process. The database cluster will be initialized with locale C. fixing permissions on existing directory pgsql_data/... ok creating directory pgsql_data//base... ok creating directory pgsql_data//global... ok creating directory pgsql_data//pg_xlog... ok creating directory pgsql_data//pg_clog... ok selecting default max_connections... /usr/bin/initdb: line 564: 2152 Bad system call "$PGPATH"/postgres -boot -x0 $TEST_OPT template1 /dev/ null 2>&1 /usr/bin/initdb: line 564: 3312 Bad system call "$PGPATH"/postgres -boo t -x0 TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 564: 3444 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 564: 1360 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 564: 3744 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 564: 4060 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 10 selecting default shared_buffers... /usr/bin/initdb: line 578: 2476 Bad system call "$PGPATH"/postgres -boot -x0 $TEST_OPT template1 /dev/n ull 2>&1 /usr/bin/initdb: line 578: 1884 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 3816 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 1036 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 4008 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 3728 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 3300 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 3376 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 3960 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 748 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 /usr/bin/initdb: line 578: 3404 Bad system call "$PGPATH"/postgres -boo t -x0 $TEST_OPT template1 /dev/null 2>&1 50 creating configuration files... ok creating template1 database in pgsql_data//base/1... /usr/bin/initdb: line 644: 360 Bad system call "$PGPATH"/postgres -boot -x1 $PGSQL_OPT $BOOTSTRAP _TALK_ARG template1 initdb: failed This happens for both postgresql 7.4.5 and 8.1. I don't know how to discover what causes this error (bad system call). Any ideas ? Cheers, Adrian Maier -- 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/