From: John Xiaogang Zhang <xiaogang@tilefile.com>
To: pgsql-cygwin@postgresql.org
Subject: Problem in initdb
Date: Fri, 24 Feb 2006 21:22:22 +1100
Message-ID: <43FEDE5E.8090007@tilefile.com> (raw)
Dear Sir/Madam,
I have just installed Cydwin with Postgresql (8.0.4), and followed the
page http://www.postgresql.org/docs/faqs.FAQ_CYGWIN.html to create new
database cluster using initdb, but got the following messages, so what
should I do? Thanks in advance.
Best regards
Xiaogang Zhang
$ /usr/sbin/cygserver &
$ cygserver: Initialization complete. Waiting for requests.
$ /usr/sbin/initdb -D /usr/local/pgsql/data -W -E LATIN1
The files belonging to this database system will be owned by user "xzhang".
This user must also own the server process.
The database cluster will be initialized with locale C.
creating directory /usr/local/pgsql/data ... 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_xlog/archive_status ... ok
creating directory /usr/local/pgsql/data/pg_clog ... ok
creating directory /usr/local/pgsql/data/pg_subtrans ... ok
creating directory /usr/local/pgsql/data/base ... ok
creating directory /usr/local/pgsql/data/base/1 ... ok
creating directory /usr/local/pgsql/data/pg_tblspc ... ok
selecting default max_connections ... sh: line 1: 4788 Bad system call
"/usr/sbin/postgres.exe" -boot -x0 -F -c shared_buffers=500 -c
max_connections=1
00 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 4880 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=250 -c max_connections=50 template1 <"/dev/null"
>"/dev/null"
2>&1
sh: line 1: 5276 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=200 -c max_connections=40 template1 <"/dev/null"
>"/dev/null"
2>&1
sh: line 1: 4556 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=150 -c max_connections=30 template1 <"/dev/null"
>"/dev/null"
2>&1
sh: line 1: 5348 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=100 -c max_connections=20 template1 <"/dev/null"
>"/dev/null"
2>&1
sh: line 1: 4848 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=50 -c max_connections=10 template1 <"/dev/null"
>"/dev/null" 2
>&1
10
selecting default shared_buffers ... sh: line 1: 4120 Bad system
call "
/usr/sbin/postgres.exe" -boot -x0 -F -c shared_buffers=1000 -c
max_connections=1
0 template1 <"/dev/null" >"/dev/null" 2>&1
sh: line 1: 1892 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=900 -c max_connections=10 template1 <"/dev/null"
>"/dev/null"
2>&1
sh: line 1: 5608 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=800 -c max_connections=10 template1 <"/dev/null"
>"/dev/null"
2>&1
sh: line 1: 5048 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=700 -c max_connections=10 template1 <"/dev/null"
>"/dev/null"
2>&1
sh: line 1: 5192 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=600 -c max_connections=10 template1 <"/dev/null"
>"/dev/null"
2>&1
sh: line 1: 4512 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=500 -c max_connections=10 template1 <"/dev/null"
>"/dev/null"
2>&1
sh: line 1: 5220 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=400 -c max_connections=10 template1 <"/dev/null"
>"/dev/null"
2>&1
sh: line 1: 4540 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=300 -c max_connections=10 template1 <"/dev/null"
>"/dev/null"
2>&1
sh: line 1: 6024 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=200 -c max_connections=10 template1 <"/dev/null"
>"/dev/null"
2>&1
sh: line 1: 6096 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=100 -c max_connections=10 template1 <"/dev/null"
>"/dev/null"
2>&1
sh: line 1: 4784 Bad system call "/usr/sbin/postgres.exe" -boot
-x0 -F
-c shared_buffers=50 -c max_connections=10 template1 <"/dev/null"
>"/dev/null" 2
>&1
50
creating configuration files ... ok
creating template1 database in /usr/local/pgsql/data/base/1 ... child
process wa
s terminated by signal 12
initdb: removing data directory "/usr/local/pgsql/data"
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-cygwin@postgresql.org
Cc: xiaogang@tilefile.com
Subject: Re: Problem in initdb
In-Reply-To: <43FEDE5E.8090007@tilefile.com>
References: <43FEDE5E.8090007@tilefile.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox