Skip site navigation (1) Skip section navigation (2)

Trouble in using initdb

From: gopa pragna <pragna526(at)yahoo(dot)co(dot)in>
To: pgsql-cygwin(at)postgresql(dot)org
Subject: Trouble in using initdb
Date: 2006-01-19 11:35:07
Message-ID: 20060119113508.30975.qmail@web8415.mail.in.yahoo.com (view raw or flat)
Thread:
Lists: pgsql-cygwin
Hi,
  I am trying to use postgresql through cygwin in windows.I installes cygwin with all the required components.When I am trying to use intidb command it failed.
   
  I have pasted the error messages.
   
  Please do reply and let me know if there is a better way to use postgresql(i am a beginner).
   
  Following is the message i got in the cygwin bash shell:
   
  $ initdb -D/usr/local/pgsql/data -W -E LATIN1
The files belonging to this database system will be owned by user "Pragna Gopa".
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/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:  3436 Bad system call
      "$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  2568 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  1860 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:   224 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  3656 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564:  3152 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
10
selecting default shared_buffers... /usr/bin/initdb: line 578:  2092 Bad system call
     "$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3700 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  2220 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3696 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3716 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3872 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3912 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3940 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3944 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  4000 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578:  3884 Bad system call         "$PGPATH"/postgres -boot -x0 $T
EST_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
:  3772 Bad system call         "$PGPATH"/postgres -boot -x1 $PGSQL_OPT $BOOTSTRAP_TALK_
ARG template1
  initdb: failed
initdb: removing data directory "/usr/local/pgsql/data"
  Pragna Gopa(at)Pragna ~
$
   
   
   
   
   
   
  Thank you,
  Pragna.

Send instant messages to your online friends http://in.messenger.yahoo.com 

pgsql-cygwin by date

Next:From: Reini UrbanDate: 2006-01-20 12:57:33
Subject: Re: service 'postmaster' failed: signal 12 raised
Previous:From: Leong_Kuong_FaiDate: 2006-01-16 23:29:32
Subject: service 'postmaster' failed: signal 12 raised

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group