pg.ddx.io pgsql-cygwin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Reini Urban <rurban@x-ray.at>
To: said samadli <saidsamadli@yahoo.com>
Cc: pgsql-cygwin@postgresql.org
Subject: Re: initdb failure
Date: Sun, 28 Jan 2007 00:40:45 +0100
Message-ID: <45BBE2FD.5050502@x-ray.at> (raw )
In-Reply-To: <575427.94923.qm@web39711.mail.mud.yahoo.com >
References: <575427.94923.qm@web39711.mail.mud.yahoo.com >
said samadli schrieb:
> hi,
> i have just installed latest cygwin windows on 2000 and i have a problem
> with initdb,
That looks like an old cygwin portgresql 7.4
You need to start cygserver before. Best is to read the cygwin README
before and try out /etc/rc.d/init.d/postgresql in postgresql > 8.0
> it says
>
> postgres@vozdux <mailto:postgres@vozdux> /usr/share/postgresql
> $ initdb -D /usr/share/postgresql/data
> The files belonging to this database system will be owned by user
> "postgres".
> This user must also own the server process.
> The database cluster will be initialized with locale C.
> fixing permissions on existing directory /usr/share/postgresql/data ... ok
> creating directory /usr/share/postgresql/data/global ... ok
> creating directory /usr/share/postgresql/data/pg_xlog ... ok
> creating directory /usr/share/postgresql/data/pg_xlog/archive_status ... ok
> creating directory /usr/share/postgresql/data/pg_clog ... ok
> creating directory /usr/share/postgresql/data/pg_subtrans ... ok
> creating directory /usr/share/postgresql/data/pg_twophase ... ok
> creating directory /usr/share/postgresql/data/pg_multixact/members ... ok
> creating directory /usr/share/postgresql/data/pg_multixact/offsets ... ok
> creating directory /usr/share/postgresql/data/base ... ok
> creating directory /usr/share/postgresql/data/base/1 ... ok
> creating directory /usr/share/postgresql/data/pg_tblspc ... ok
> selecting default max_connections ... sh: line 1: 9184 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: 9180 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: 9200 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: 9192 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: 9252 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: 9224 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: 9236 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: 9216 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: 9244 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: 9312 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: 9284 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: 9296 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: 9276 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: 9368 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: 9272 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: 8676 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: 9364 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/share/postgresql/data/base/1 ...
> child proce
> ss was terminated by signal 12
> initdb: removing contents of data directory "/usr/share/postgresql/data"
> postgres@vozdux <mailto:postgres@vozdux> /usr/share/postgresql
> $
>
> this error s what could be the problem i have changed max_connection
> betwwen 100 and 5 it didn't work? thank you for the hep from now?
--
Reini Urban
http://phpwiki.org/ http://murbreak.at/
http://helsinki.at/ http://spacemovie.mur.at/
view thread (4+ messages)
Message-ID: <45BBE2FD.5050502@x-ray.at>
Permalink: ../45BBE2FD.5050502@x-ray.at/
Also on: postgresql.org/message-id/45BBE2FD.5050502@x-ray.at
copy link · copy postgr.es
reply 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: rurban@x-ray.at, saidsamadli@yahoo.com
Subject: Re: initdb failure
In-Reply-To: <45BBE2FD.5050502@x-ray.at>
References: <575427.94923.qm@web39711.mail.mud.yahoo.com> <45BBE2FD.5050502@x-ray.at>
* 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