This is the mail archive of the cygwin 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]

Fatal error when trying to initialise PostgreSQL in cygwin


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 >/dev/
null 2>&1
/usr/bin/initdb: line 564:  3312 Bad system call         "$PGPATH"/postgres -boo
t -x0 TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  3444 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  1360 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  3744 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  4060 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/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/null >/dev/n
ull 2>&1
/usr/bin/initdb: line 578:  1884 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3816 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  1036 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  4008 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3728 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3300 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3376 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3960 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:   748 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3404 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/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/


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