Trouble in using initdb
gopa pragna <[email protected]> Thu, 19 Jan 2006 11:35:07 +0000 (GMT)
| Newsgroups | gmane.comp.db.postgresql.cygwin |
|---|---|
| Message-ID | <[email protected]> |
--0-1634223465-1137670507=:29951
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
I am trying to use postgresql through cygwin in windows.I installes cyg=
win with all the required components.When I am trying to use intidb comma=
nd it failed.
=20
I have pasted the error messages.
=20
Please do reply and let me know if there is a better way to use postgre=
sql(i am a beginner).
=20
Following is the message i got in the cygwin bash shell:
=20
$ 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/n=
ull 2>&1
/usr/bin/initdb: line 564: 2568 Bad system call "$PGPATH"/postgr=
es -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564: 1860 Bad system call "$PGPATH"/postgr=
es -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564: 224 Bad system call "$PGPATH"/postgr=
es -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564: 3656 Bad system call "$PGPATH"/postgr=
es -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 564: 3152 Bad system call "$PGPATH"/postgr=
es -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/nu=
ll 2>&1
/usr/bin/initdb: line 578: 3700 Bad system call "$PGPATH"/postgr=
es -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578: 2220 Bad system call "$PGPATH"/postgr=
es -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578: 3696 Bad system call "$PGPATH"/postgr=
es -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578: 3716 Bad system call "$PGPATH"/postgr=
es -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578: 3872 Bad system call "$PGPATH"/postgr=
es -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578: 3912 Bad system call "$PGPATH"/postgr=
es -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578: 3940 Bad system call "$PGPATH"/postgr=
es -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578: 3944 Bad system call "$PGPATH"/postgr=
es -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578: 4000 Bad system call "$PGPATH"/postgr=
es -boot -x0 $T
EST_OPT template1 </dev/null >/dev/null 2>&1
/usr/bin/initdb: line 578: 3884 Bad system call "$PGPATH"/postgr=
es -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/i=
nitdb: 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@Pragna ~
$
=20
=20
=20
=20
=20
=20
Thank you,
Pragna.
Send instant messages to your online friends http://in.messenger.yahoo.co=
m=20
--0-1634223465-1137670507=:29951
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
<DIV id=3DRTEContent>Hi,</DIV> <DIV>I am trying to use postgresql throug=
h cygwin in windows.I installes cygwin with all the required components.W=
hen I am trying to use intidb command it failed.</DIV> <DIV> </DIV>=
<DIV>I have pasted the error messages.</DIV> <DIV> </DIV> <DIV>P=
lease do reply and let me know if there is a better way to use postgresql=
(i am a beginner).</DIV> <DIV> </DIV> <DIV>Following is the messag=
e i got in the cygwin bash shell:</DIV> <DIV> </DIV> <DIV>$ initdb=
-D/usr/local/pgsql/data -W -E LATIN1<BR>The files belonging to this data=
base system will be owned by user "Pragna Gopa".<BR>This user must also o=
wn the server process.</DIV> <DIV>The database cluster will be initializ=
ed with locale C.</DIV> <DIV>creating directory /usr/local/pgsql/data...=
ok<BR>creating directory /usr/local/pgsql/data/base... ok<BR>creating di=
rectory /usr/local/pgsql/data/global... ok<BR>creating directory /usr/loc=
al/pgsql/data/pg_xlog... ok<BR>creating dir
ectory
/usr/local/pgsql/data/pg_clog... ok<BR>selecting default max_connections=
... /usr/bin/initdb: line 564: 3436 Bad system call<BR> =
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1 </=
dev/null >/dev/null 2>&1<BR>/usr/bin/initdb: line 564: 25=
68 Bad system call "$PGPA=
TH"/postgres -boot -x0 $T<BR>EST_OPT template1 </dev/null >/dev/nul=
l 2>&1<BR>/usr/bin/initdb: line 564: 1860 Bad system call&nb=
sp; "$PGPATH"/postgres -boot -x=
0 $T<BR>EST_OPT template1 </dev/null >/dev/null 2>&1<BR>/usr=
/bin/initdb: line 564: 224 Bad system call &=
nbsp; "$PGPATH"/postgres -boot -x0 $T<BR>EST_OPT =
template1 </dev/null >/dev/null 2>&1<BR>/usr/bin/initdb: lin=
e 564: 3656 Bad system call &nbs=
p; "$PGPATH"/postgres -boot -x0
$T<BR>EST_OPT template1 </dev/null >/dev/null 2>&1<BR>/usr/=
bin/initdb: line 564: 3152 Bad system call &=
nbsp; "$PGPATH"/postgres -boot -x0 $T<BR>EST_OPT templa=
te1 </dev/null >/dev/null 2>&1<BR>10<BR>selecting default sh=
ared_buffers... /usr/bin/initdb: line 578: 2092 Bad system call<BR>=
"$PGPATH"/postgres -boot -x0 $TEST_OPT template1=
</dev/null >/dev/null 2>&1<BR>/usr/bin/initdb: line 578:&nb=
sp; 3700 Bad system call =
"$PGPATH"/postgres -boot -x0 $T<BR>EST_OPT template1 </dev/null >/d=
ev/null 2>&1<BR>/usr/bin/initdb: line 578: 2220 Bad system c=
all "$PGPATH"/postgres -b=
oot -x0 $T<BR>EST_OPT template1 </dev/null >/dev/null 2>&1<B=
R>/usr/bin/initdb: line 578: 3696 Bad system call =
"$PGPATH"/
postgres
-boot -x0 $T<BR>EST_OPT template1 </dev/null >/dev/null 2>&=
1<BR>/usr/bin/initdb: line 578: 3716 Bad system call &nb=
sp; "$PGPATH"/postgres -boot -x0 $T<BR>EST_=
OPT template1 </dev/null >/dev/null 2>&1<BR>/usr/bin/initdb:=
line 578: 3872 Bad system call =
"$PGPATH"/postgres -boot -x0 $T<BR>EST_OPT template1 </de=
v/null >/dev/null 2>&1<BR>/usr/bin/initdb: line 578: 3912=
Bad system call "$PGPATH=
"/postgres -boot -x0 $T<BR>EST_OPT template1 </dev/null >/dev/null =
2>&1<BR>/usr/bin/initdb: line 578: 3940 Bad system call =
; "$PGPATH"/postgres -boot -x0 =
$T<BR>EST_OPT template1 </dev/null >/dev/null 2>&1<BR>/usr/b=
in/initdb: line 578: 3944 Bad system call &n=
bsp; "$PGPATH"/postgres
-boot
-x0 $T<BR>EST_OPT template1 </dev/null >/dev/null 2>&1<BR>/=
usr/bin/initdb: line 578: 4000 Bad system call &nb=
sp; "$PGPATH"/postgres -boot -x0 $T<BR>EST_OPT te=
mplate1 </dev/null >/dev/null 2>&1<BR>/usr/bin/initdb: line =
578: 3884 Bad system call =
"$PGPATH"/postgres -boot -x0 $T<BR>EST_OPT template1 </dev/null=
>/dev/null 2>&1<BR>50<BR>creating configuration files... ok<BR=
>creating template1 database in /usr/local/pgsql/data/base/1... /usr/bin/=
initdb: line 644<BR>: 3772 Bad system call &=
nbsp; "$PGPATH"/postgres -boot -x1 $PGSQL_OPT $BOOTSTRA=
P_TALK_<BR>ARG template1</DIV> <DIV>initdb: failed<BR>initdb: removing d=
ata directory "/usr/local/pgsql/data"</DIV> <DIV>Pragna <A href=3D"mailt=
o:Gopa@Pragna">Gopa@Pragna</A> ~<BR>$</DIV> <DIV> </DIV> <DIV>&nbs=
p;</DIV> <DIV> </DIV> <DIV> </D
IV>=20
<DIV> </DIV> <DIV> </DIV> <DIV>Thank you,</DIV> <DIV>Pragna=
.</DIV><p>Send instant messages to your online friends http://in.messenge=
r.yahoo.com=20
--0-1634223465-1137670507=:29951--