X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 81366D1CACD for ; Fri, 13 Feb 2004 10:13:08 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 19732-03 for ; Fri, 13 Feb 2004 06:13:05 -0400 (AST) Received: from hotmail.com (bay2-f45.bay2.hotmail.com [65.54.247.45]) by svr1.postgresql.org (Postfix) with ESMTP id 97B32D1C515 for ; Fri, 13 Feb 2004 06:13:02 -0400 (AST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 13 Feb 2004 02:13:04 -0800 Received: from 61.171.64.249 by by2fd.bay2.hotmail.msn.com with HTTP; Fri, 13 Feb 2004 10:13:04 GMT X-Originating-IP: [61.171.64.249] X-Originating-Email: [luohao518@hotmail.com] X-Sender: luohao518@hotmail.com From: "luo hao" 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 Mime-Version: 1.0 Content-Type: text/html Message-ID: X-OriginalArrivalTime: 13 Feb 2004 10:13:04.0513 (UTC) FILETIME=[F7FC7F10:01C3F219] X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/201 X-Sequence-Number: 12375
Hi:
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
 


Help STOP spam with the new MSN 8 and get 2 months FREE*