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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-cygwin by date

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