pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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>&nbsp;</DIV>
<DIV class=RTE>$ ls -al /usr/local/pgsql/<BR>total 0<BR>drwxr-xr-x&nbsp;&nbsp;&nbsp; 8 lhao&nbsp;&nbsp;&nbsp;&nbsp; ¤Ê¤·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 Feb 13 17:36 .<BR>drwxr-xr-x&nbsp;&nbsp;&nbsp; 8 lhao&nbsp;&nbsp;&nbsp;&nbsp; ¤Ê¤·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 Feb 13 11:22 ..<BR>drwxr-xr-x&nbsp;&nbsp;&nbsp; 2 lhao&nbsp;&nbsp;&nbsp;&nbsp; ¤Ê¤·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 Feb 13 17:37 bin<BR>drwxr-xr-x&nbsp;&nbsp;&nbsp; 3 lhao&nbsp;&nbsp;&nbsp;&nbsp; ¤Ê¤·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 Feb 13 17:36 doc<BR>drwxr-xr-x&nbsp;&nbsp;&nbsp; 5 lhao&nbsp;&nbsp;&nbsp;&nbsp; ¤Ê¤·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 Feb 13 17:37 include<BR>drwxr-xr-x&nbsp;&nbsp;&nbsp; 2 lhao&nbsp;&nbsp;&nbsp;&nbsp; ¤Ê¤·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 Feb 13 17:37 lib<BR>drwxr-xr-x&nbsp
 ;&nbsp;&nbsp; 4 lhao&nbsp;&nbsp;&nbsp;&nbsp; ¤Ê¤·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 Feb 13 17:36 man<BR>drwxr-xr-x&nbsp;&nbsp;&nbsp; 2 lhao&nbsp;&nbsp;&nbsp;&nbsp; ¤Ê¤·&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0 Feb 13 17:37 share</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>$ ipctest s<BR>Test v0.03<BR>semaphore 3 created</DIV>
<DIV class=RTE>&nbsp;</DIV>
<DIV class=RTE>$ ipc-daemon2&amp;<BR>[1] 1384</DIV>
<DIV class=RTE>&nbsp;</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]+&nbsp; Done&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ipc-daemon2</DIV>
<DIV class=RTE>&nbsp;</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>



view thread (2+ messages)

Message-ID: <BAY2-F451amMZ1sR5LZ000209fd@hotmail.com>
Permalink:  ../BAY2-F451amMZ1sR5LZ000209fd@hotmail.com/
Also on:    postgresql.org/message-id/BAY2-F451amMZ1sR5LZ000209fd@hotmail.com

 · 

reply

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