PostgreSQL 7.4.1 under Windows/cygwin: initdb fails with error ...

From: "luo hao" <luohao518(at)hotmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: PostgreSQL 7.4.1 under Windows/cygwin: initdb fails with error ...
Date: 2004-02-13 10:13:04
Message-ID: BAY2-F451amMZ1sR5LZ000209fd@hotmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

<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>

Attachment Content-Type Size
unknown_filename text/html 3.2 KB

Browse pgsql-admin by date

  From Date Subject
Next Message amahansaria 2004-02-13 12:33:25 master-master replication
Previous Message Rune Froysa 2004-02-13 09:11:37 Server-side killing of database connection (7.3.4)