Обсуждение: ...

Поиск
Список
Период
Сортировка

...

От
"paolettifema@libero.it"
Дата:

Hi,
i'm a pgsql beginner and i'm tryng to install it by using Cygwin.
I red the documentation about pgsql-cygwin and I make all the steps suggested form "Installing PostgreSQL on Windows Using Cygwin FAQ".
Psql version is 7.4.5

$ /usr/sbin/cygserver.exe &
[1] 268

 $ cygserver: Initialization complete.  Waiting for requests.

$ initdb -D /usr/local/pgsql/data -W -E LATIN1


..

The database cluster will be initialized with locale C.

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 564:   696 Bad system
 call         "$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/
null 2>&1
/usr/bin/initdb: line 564:  2100 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  1860 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  2028 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:   836 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  2068 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:  1616 Bad system
call         "$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/n
ull 2>&1
/usr/bin/initdb: line 578:  1696 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  1712 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:   312 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  2152 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:   452 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  2076 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  2156 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  2084 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  2080 Bad system call         "$PGPATH"/postgres -boo
t -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  2136 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 /usr/local/pgsql/data/base/1... /usr/bin/initdb:
line 644:  2260 Bad system call         "$PGPATH"/postgres -boot -x1 $PGSQL_OPT
$BOOTSTRAP_TALK_ARG template1

initdb: failed
initdb: removing data directory "/usr/local/pgsql/data"

 

what's wrong???

Best Regards

A poor