pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PostgreSQL 7.4.1 under Windows/cygwin: initdb fails with error
2+ messages / 2 participants
[nested] [flat]

* PostgreSQL 7.4.1 under Windows/cygwin: initdb fails with error
@ 1970-01-01 00:00  luohao <luohao518@hotmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: luohao @ 1970-01-01 00:00 UTC (permalink / raw)
  To: pgsql-admin

pgsql-adminHi:
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.

The output is:

$ ls -al /usr/local/pgsql/
total 0
drwxr-xr-x    8 lhao     なし            0 Feb 13 17:36 .
drwxr-xr-x    8 lhao     なし            0 Feb 13 11:22 ..
drwxr-xr-x    2 lhao     なし            0 Feb 13 17:37 bin
drwxr-xr-x    3 lhao     なし            0 Feb 13 17:36 doc
drwxr-xr-x    5 lhao     なし            0 Feb 13 17:37 include
drwxr-xr-x    2 lhao     なし            0 Feb 13 17:37 lib
drwxr-xr-x  ;   4 lhao     なし            0 Feb 13 17:36 man
drwxr-xr-x    2 lhao     なし            0 Feb 13 17:37 share

$ ipctest s
Test v0.03
semaphore 3 created

$ ipc-daemon2&
[1] 1384

$ initdb -D /usr/local/pgsql/data
The files belonging to this database system will be owned by user "lhao".
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... Signal 11
Signal 11
Signal 11
Signal 11
Signal 11
Signal 11
10
selecting default shared_buffers... Signal 11
Signal 11
Signal 11
Signal 11
Signal 11
Signal 11
Signal 11
Signal 11
Signal 11
Signal 11
Signal 11
50
creating configuration files... ok
creating template1 database in /usr/local/pgsql/data/base/1... Signal 11
initdb: failed
initdb: removing data directory "/usr/local/pgsql/data"
[1]+  Done                    ipc-daemon2

Thanks,
jack





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* PostgreSQL 7.4.1 under Windows/cygwin: initdb fails with error ...
@ 2004-02-13 10:13  luo hao <luohao518@hotmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: luo hao @ 2004-02-13 10:13 UTC (permalink / raw)
  To: 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>



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-02-13 10:13 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1970-01-01 00:00 PostgreSQL 7.4.1 under Windows/cygwin: initdb fails with error luohao <luohao518@hotmail.com>
2004-02-13 10:13 PostgreSQL 7.4.1 under Windows/cygwin: initdb fails with error ... luo hao <luohao518@hotmail.com>

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