pg.ddx.io  pgsql-cygwin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: telman shahbazov <shahbazov@gmail.com>
To: pgsql-cygwin@postgresql.org
Subject: Installation problem / cygwin/postgresql/windows
Date: Fri, 18 May 2007 13:36:36 +0300
Message-ID: <c88df9f70705180336i1bdd9b5fl1cff22bdb5fceea4@mail.gmail.com> (raw)

Hi,
I am new in cygwin and postgresql.
Could you please advice how to solve the following problem?

I follow the instructions presented in *
http://www.postgresql.org/docs/faqs.FAQ_CYGWIN.html*<http://www.postgresql.org/docs/faqs.FAQ_CYGW...;

During the installation I have a problem with initdb -D -W -E LATIN1
The /usr/local/pgsql/data is created but by the end of process it is removed

SERVER SIDE:

Your group name is currently "mkgroup_l_d". This indicates that not
all domain users and groups are listed in the /etc/passwd and
/etc/group files.
See the man pages for mkpasswd and mkgroup then, for example, run
mkpasswd -l -d > /etc/passwd
mkgroup  -l -d > /etc/group

This message is only displayed once (unless you recreate /etc/group)
and can be safely ignored.

tsahbaz@T-SAHBAZOGLU ~
*$ /usr/sbin/cygserver &
*[1] 2956

tsahbaz@T-SAHBAZOGLU ~
$ cygserver: Initialization complete.  Waiting for requests.







Another window on the same comp:

tsahbaz@T-SAHBAZOGLU ~
*$ /usr/sbin/initdb -D /usr/local/pgsql/data -W -E LATIN1*
The files belonging to this database system will be owned by user "tsahbaz".
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:   260 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:  2696 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:  3804 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:  3856 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:  2588 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:  2668 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:  2532 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:  2228 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:  2192 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:  1760 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:  3160 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:  3828 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:   836 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:  2488 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:  2396 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:  3488 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:  1880 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"*

tsahbaz@T-SAHBAZOGLU ~
$

Regards,

Telman Shahbazov

Message-ID: <c88df9f70705180336i1bdd9b5fl1cff22bdb5fceea4@mail.gmail.com>
Permalink:  ../c88df9f70705180336i1bdd9b5fl1cff22bdb5fceea4@mail.gmail.com/
Also on:    postgresql.org/message-id/c88df9f70705180336i1bdd9b5fl1cff22bdb5fceea4@mail.gmail.com

 · 

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: shahbazov@gmail.com
  Subject: Re: Installation problem / cygwin/postgresql/windows
  In-Reply-To: <c88df9f70705180336i1bdd9b5fl1cff22bdb5fceea4@mail.gmail.com>
  References: <c88df9f70705180336i1bdd9b5fl1cff22bdb5fceea4@mail.gmail.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