From: luo hao <luohao518@hotmail.com>
To: pgsql-admin@postgresql.org
Subject: PostgreSQL 7.4.1 under Windows/cygwin: initdb fails with error ...
Date: Fri, 13 Feb 2004 18:13:04 +0800
Message-ID: <BAY2-F451amMZ1sR5LZ000209fd@hotmail.com> (raw)
<html><div style='background-color:'><DIV class=RTE><PRE style="MARGIN: 0em">Hi:</PRE><PRE style="MARGIN: 0em">I have a serious problem installing PostgreSQL 7.4.1 on Windows.
I have an up-to-date cygwin 1.5.7 installation under Windows2000 Server sp3,
installed the cygipc 2.0 package as instructed,
but I fail to initialize the database.</PRE><BR>The output is:</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>$ ls -al /usr/local/pgsql/<BR>total 0<BR>drwxr-xr-x 8 lhao ¤Ê¤· 0 Feb 13 17:36 .<BR>drwxr-xr-x 8 lhao ¤Ê¤· 0 Feb 13 11:22 ..<BR>drwxr-xr-x 2 lhao ¤Ê¤· 0 Feb 13 17:37 bin<BR>drwxr-xr-x 3 lhao ¤Ê¤· 0 Feb 13 17:36 doc<BR>drwxr-xr-x 5 lhao ¤Ê¤· 0 Feb 13 17:37 include<BR>drwxr-xr-x 2 lhao ¤Ê¤· 0 Feb 13 17:37 lib<BR>drwxr-xr-x 
; 4 lhao ¤Ê¤· 0 Feb 13 17:36 man<BR>drwxr-xr-x 2 lhao ¤Ê¤· 0 Feb 13 17:37 share</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>$ ipctest s<BR>Test v0.03<BR>semaphore 3 created</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>$ ipc-daemon2&<BR>[1] 1384</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>$ initdb -D /usr/local/pgsql/data<BR>The files belonging to this database system will be owned by user "lhao".<BR>This user must also own the server process.</DIV>
<DIV class=RTE>The database cluster will be initialized with locale C.</DIV>
<DIV class=RTE>creating directory /usr/local/pgsql/data... ok<BR>creating directory /usr/local/pgsql/data/base... ok<BR>creating directory /usr/local/pgsql/data/global... ok<BR>creating directory /usr/local/pgsql/data/pg_xlog... ok<BR>creating directory /usr/local/pgsql/data/pg_clog... ok<BR>selecting default max_connections... Signal 11<BR>Signal 11<BR>Signal 11<BR>Signal 11<BR>Signal 11<BR>Signal 11<BR>10<BR>selecting default shared_buffers... Signal 11<BR>Signal 11<BR>Signal 11<BR>Signal 11<BR>Signal 11<BR>Signal 11<BR>Signal 11<BR>Signal 11<BR>Signal 11<BR>Signal 11<BR>Signal 11<BR>50<BR>creating configuration files... ok<BR>creating template1 database in /usr/local/pgsql/data/base/1... Signal 11</DIV>
<DIV class=RTE>initdb: failed<BR>initdb: removing data directory "/usr/local/pgsql/data"<BR>[1]+ Done ipc-daemon2</DIV>
<DIV class=RTE> </DIV></div><br clear=all><hr>Help STOP spam with <a href="http://g.msn.com/8HMAEN/2731??PS=">the new MSN 8 </a> and get 2 months FREE*</html>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: luohao518@hotmail.com
Subject: Re: PostgreSQL 7.4.1 under Windows/cygwin: initdb fails with error ...
In-Reply-To: <BAY2-F451amMZ1sR5LZ000209fd@hotmail.com>
References: <BAY2-F451amMZ1sR5LZ000209fd@hotmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox