delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/16/16:32:22

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authenticated: #28065009
Date: Sat, 16 Jul 2005 22:32:09 +0200
From: "Frank Streitzig" <fstreitzig AT gmx DOT net>
To: cygwin AT cygwin DOT com
Subject: Problem with postgres initdb
MIME-Version: 1.0
Message-ID: <op.st0wnvro42bp8t@localhost>
User-Agent: Opera M2/8.0 (Win32, build 7561)
X-Y-GMX-Trusted: 0
X-IsSubscribed: yes

Hi,

i have problem to init postgres database with initdb.
What can i do?
Cygserver and IPC Daemon is started.

Many thanks
Frank

$ initdb --debug -D /data/pgsql/data
Running in debug mode.

initdb: internal variables:
   PGDATA=/data/pgsql/data
   datadir=/usr/share/postgresql
   PGPATH=/usr/bin
   ENCODING=
   ENCODINGID=0
   POSTGRES_SUPERUSERNAME=frastr
   POSTGRES_BKI=/usr/share/postgresql/postgres.bki
   POSTGRES_DESCR=/usr/share/postgresql/postgres.description
   POSTGRESQL_CONF_SAMPLE=/usr/share/postgresql/postgresql.conf.sample
   PG_HBA_SAMPLE=/usr/share/postgresql/pg_hba.conf.sample
   PG_IDENT_SAMPLE=/usr/share/postgresql/pg_ident.conf.sample
The files belonging to this database system will be owned by user "frastr".
This user must also own the server process.

The database cluster will be initialized with locale C.

creating directory /data/pgsql/data... ok
creating directory /data/pgsql/data/base... ok
creating directory /data/pgsql/data/global... ok
creating directory /data/pgsql/data/pg_xlog... ok
creating directory /data/pgsql/data/pg_clog... ok
selecting default max_connections... /usr/bin/initdb: line 564:  3820 Bad  
system call         "$PGPATH"/postgres -boot -x0 $TEST_OPT template1  
</dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  3792 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  3840 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  3820 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  3864 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  3848 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
10
selecting default shared_buffers... /usr/bin/initdb: line 578:  3628 Bad  
system call         "$PGPATH"/postgres -boot -x0 $TEST_OPT template1  
</dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3840 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3888 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3820 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3792 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3864 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3524 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3840 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3628 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3820 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3888 Bad system call          
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
50
creating configuration files... ok
creating template1 database in /data/pgsql/data/base/1... DEBUG:  invoking  
IpcMemoryCreate(size=1081344)
/usr/bin/initdb: line 644:  3812 Bad system call          
"$PGPATH"/postgres -boot -x1 $PGSQL_OPT $BOOTSTRAP_TALK_ARG template1

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

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019