initdb failure

said samadli <[email protected]> Tue, 23 Jan 2007 17:29:29 -0800 (PST)
Newsgroups gmane.comp.db.postgresql.cygwin
Message-ID <[email protected]>
--0-1767338316-1169602169=:94923
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

hi,
  i have just installed latest cygwin windows on 2000 and i have a proble=
m with initdb,=20
  it says
  =20
  postgres@vozdux /usr/share/postgresql
$ initdb -D /usr/share/postgresql/data
The files belonging to this database system will be owned by user "postgr=
es".
This user must also own the server process.
  The database cluster will be initialized with locale C.
  fixing permissions on existing directory /usr/share/postgresql/data ...=
 ok
creating directory /usr/share/postgresql/data/global ... ok
creating directory /usr/share/postgresql/data/pg_xlog ... ok
creating directory /usr/share/postgresql/data/pg_xlog/archive_status ... =
ok
creating directory /usr/share/postgresql/data/pg_clog ... ok
creating directory /usr/share/postgresql/data/pg_subtrans ... ok
creating directory /usr/share/postgresql/data/pg_twophase ... ok
creating directory /usr/share/postgresql/data/pg_multixact/members ... ok
creating directory /usr/share/postgresql/data/pg_multixact/offsets ... ok
creating directory /usr/share/postgresql/data/base ... ok
creating directory /usr/share/postgresql/data/base/1 ... ok
creating directory /usr/share/postgresql/data/pg_tblspc ... ok
selecting default max_connections ... sh: line 1:  9184 Bad system call
"/usr/sbin/postgres.exe" -boot -x0 -F -c shared_buffers=3D500 -c max_conn=
ections=3D1
00 template1 < "/dev/null" > "/dev/null" 2>&1
sh: line 1:  9180 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D250 -c max_connections=3D50 template1 < "/dev/null" >=
 "/dev/null
" 2>&1
sh: line 1:  9200 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D200 -c max_connections=3D40 template1 < "/dev/null" >=
 "/dev/null
" 2>&1
sh: line 1:  9192 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D150 -c max_connections=3D30 template1 < "/dev/null" >=
 "/dev/null
" 2>&1
sh: line 1:  9252 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D100 -c max_connections=3D20 template1 < "/dev/null" >=
 "/dev/null
" 2>&1
sh: line 1:  9224 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D50 -c max_connections=3D10 template1 < "/dev/null" > =
"/dev/null"
 2>&1
10
selecting default shared_buffers ... sh: line 1:  9236 Bad system call   =
      "
/usr/sbin/postgres.exe" -boot -x0 -F -c shared_buffers=3D1000 -c max_conn=
ections=3D1
0 template1 < "/dev/null" > "/dev/null" 2>&1
sh: line 1:  9216 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D900 -c max_connections=3D10 template1 < "/dev/null" >=
 "/dev/null
" 2>&1
sh: line 1:  9244 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D800 -c max_connections=3D10 template1 < "/dev/null" >=
 "/dev/null
" 2>&1
sh: line 1:  9312 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D700 -c max_connections=3D10 template1 < "/dev/null" >=
 "/dev/null
" 2>&1
sh: line 1:  9284 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D600 -c max_connections=3D10 template1 < "/dev/null" >=
 "/dev/null
" 2>&1
sh: line 1:  9296 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D500 -c max_connections=3D10 template1 < "/dev/null" >=
 "/dev/null
" 2>&1
sh: line 1:  9276 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D400 -c max_connections=3D10 template1 < "/dev/null" >=
 "/dev/null
" 2>&1
sh: line 1:  9368 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D300 -c max_connections=3D10 template1 < "/dev/null" >=
 "/dev/null
" 2>&1
sh: line 1:  9272 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D200 -c max_connections=3D10 template1 < "/dev/null" >=
 "/dev/null
" 2>&1
sh: line 1:  8676 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D100 -c max_connections=3D10 template1 < "/dev/null" >=
 "/dev/null
" 2>&1
sh: line 1:  9364 Bad system call         "/usr/sbin/postgres.exe" -boot =
-x0 -F
-c shared_buffers=3D50 -c max_connections=3D10 template1 < "/dev/null" > =
"/dev/null"
 2>&1
50
creating configuration files ... ok
creating template1 database in /usr/share/postgresql/data/base/1 ... chil=
d proce
ss was terminated by signal 12
initdb: removing contents of data directory "/usr/share/postgresql/data"
  postgres@vozdux /usr/share/postgresql
$
  =20
  this error s what could be the problem i have changed max_connection be=
twwen 100 and 5 it didn't work? thank you for the hep from now?

--0-1767338316-1169602169=:94923
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<div>hi,</div>  <div>i have just installed latest cygwin windows on 2000 =
and i have a problem with initdb, </div>  <div>it says</div>  <div>&nbsp;=
</div>  <div><A href=3D"mailto:postgres@vozdux">postgres@vozdux</A> /usr/=
share/postgresql<BR>$ initdb -D /usr/share/postgresql/data<BR>The files b=
elonging to this database system will be owned by user "postgres".<BR>Thi=
s user must also own the server process.</div>  <div>The database cluster=
 will be initialized with locale C.</div>  <div>fixing permissions on exi=
sting directory /usr/share/postgresql/data ... ok<BR>creating directory /=
usr/share/postgresql/data/global ... ok<BR>creating directory /usr/share/=
postgresql/data/pg_xlog ... ok<BR>creating directory /usr/share/postgresq=
l/data/pg_xlog/archive_status ... ok<BR>creating directory /usr/share/pos=
tgresql/data/pg_clog ... ok<BR>creating directory /usr/share/postgresql/d=
ata/pg_subtrans ... ok<BR>creating directory /usr/share/postgresql/data/p=
g_twophase ... ok<BR>creating directory
 /usr/share/postgresql/data/pg_multixact/members ... ok<BR>creating direc=
tory /usr/share/postgresql/data/pg_multixact/offsets ... ok<BR>creating d=
irectory /usr/share/postgresql/data/base ... ok<BR>creating directory /us=
r/share/postgresql/data/base/1 ... ok<BR>creating directory /usr/share/po=
stgresql/data/pg_tblspc ... ok<BR>selecting default max_connections ... s=
h: line 1:&nbsp; 9184 Bad system call<BR>"/usr/sbin/postgres.exe" -boot -=
x0 -F -c shared_buffers=3D500 -c max_connections=3D1<BR>00 template1 &lt;=
 "/dev/null" &gt; "/dev/null" 2&gt;&amp;1<BR>sh: line 1:&nbsp; 9180 Bad s=
ystem call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/pos=
tgres.exe" -boot -x0 -F<BR>-c shared_buffers=3D250 -c max_connections=3D5=
0 template1 &lt; "/dev/null" &gt; "/dev/null<BR>" 2&gt;&amp;1<BR>sh: line=
 1:&nbsp; 9200 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<BR>-c shared_buffers=3D200 -c=
 max_connections=3D40 template1 &lt; "/dev/null"
 &gt; "/dev/null<BR>" 2&gt;&amp;1<BR>sh: line 1:&nbsp; 9192 Bad system ca=
ll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.ex=
e" -boot -x0 -F<BR>-c shared_buffers=3D150 -c max_connections=3D30 templa=
te1 &lt; "/dev/null" &gt; "/dev/null<BR>" 2&gt;&amp;1<BR>sh: line 1:&nbsp=
; 9252 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/=
usr/sbin/postgres.exe" -boot -x0 -F<BR>-c shared_buffers=3D100 -c max_con=
nections=3D20 template1 &lt; "/dev/null" &gt; "/dev/null<BR>" 2&gt;&amp;1=
<BR>sh: line 1:&nbsp; 9224 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<BR>-c shared_buff=
ers=3D50 -c max_connections=3D10 template1 &lt; "/dev/null" &gt; "/dev/nu=
ll"<BR>&nbsp;2&gt;&amp;1<BR>10<BR>selecting default shared_buffers ... sh=
: line 1:&nbsp; 9236 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; "<BR>/usr/sbin/postgres.exe" -boot -x0 -F -c shared_buffers=3D=
1000 -c max_connections=3D1<BR>0 template1 &lt;
 "/dev/null" &gt; "/dev/null" 2&gt;&amp;1<BR>sh: line 1:&nbsp; 9216 Bad s=
ystem call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/pos=
tgres.exe" -boot -x0 -F<BR>-c shared_buffers=3D900 -c max_connections=3D1=
0 template1 &lt; "/dev/null" &gt; "/dev/null<BR>" 2&gt;&amp;1<BR>sh: line=
 1:&nbsp; 9244 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<BR>-c shared_buffers=3D800 -c=
 max_connections=3D10 template1 &lt; "/dev/null" &gt; "/dev/null<BR>" 2&g=
t;&amp;1<BR>sh: line 1:&nbsp; 9312 Bad system call&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<BR>-c sha=
red_buffers=3D700 -c max_connections=3D10 template1 &lt; "/dev/null" &gt;=
 "/dev/null<BR>" 2&gt;&amp;1<BR>sh: line 1:&nbsp; 9284 Bad system call&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -b=
oot -x0 -F<BR>-c shared_buffers=3D600 -c max_connections=3D10 template1 &=
lt; "/dev/null" &gt; "/dev/null<BR>" 2&gt;&amp;1<BR>sh:
 line 1:&nbsp; 9296 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<BR>-c shared_buffers=3D5=
00 -c max_connections=3D10 template1 &lt; "/dev/null" &gt; "/dev/null<BR>=
" 2&gt;&amp;1<BR>sh: line 1:&nbsp; 9276 Bad system call&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.exe" -boot -x0 -F<BR>-=
c shared_buffers=3D400 -c max_connections=3D10 template1 &lt; "/dev/null"=
 &gt; "/dev/null<BR>" 2&gt;&amp;1<BR>sh: line 1:&nbsp; 9368 Bad system ca=
ll&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres.ex=
e" -boot -x0 -F<BR>-c shared_buffers=3D300 -c max_connections=3D10 templa=
te1 &lt; "/dev/null" &gt; "/dev/null<BR>" 2&gt;&amp;1<BR>sh: line 1:&nbsp=
; 9272 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/=
usr/sbin/postgres.exe" -boot -x0 -F<BR>-c shared_buffers=3D200 -c max_con=
nections=3D10 template1 &lt; "/dev/null" &gt; "/dev/null<BR>" 2&gt;&amp;1=
<BR>sh: line 1:&nbsp; 8676 Bad system
 call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "/usr/sbin/postgres=
.exe" -boot -x0 -F<BR>-c shared_buffers=3D100 -c max_connections=3D10 tem=
plate1 &lt; "/dev/null" &gt; "/dev/null<BR>" 2&gt;&amp;1<BR>sh: line 1:&n=
bsp; 9364 Bad system call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 "/usr/sbin/postgres.exe" -boot -x0 -F<BR>-c shared_buffers=3D50 -c max_c=
onnections=3D10 template1 &lt; "/dev/null" &gt; "/dev/null"<BR>&nbsp;2&gt=
;&amp;1<BR>50<BR>creating configuration files ... ok<BR>creating template=
1 database in /usr/share/postgresql/data/base/1 ... child proce<BR>ss was=
 terminated by signal 12<BR>initdb: removing contents of data directory "=
/usr/share/postgresql/data"</div>  <div><A href=3D"mailto:postgres@vozdux=
">postgres@vozdux</A> /usr/share/postgresql<BR>$</div>  <div>&nbsp;</div>=
  <div>this error s what could be the problem i have changed max_connecti=
on betwwen 100 and 5 it didn't work? thank you for the hep from now?</div=
>
--0-1767338316-1169602169=:94923--