new install(latest version) problem in windows 2000/xp

From: "LitelWang" <wlxyk(at)vip(dot)163(dot)com>
To: pgsql-cygwin(at)postgresql(dot)org <pgsql-cygwin(at)postgresql(dot)org>
Subject: new install(latest version) problem in windows 2000/xp
Date: 2004-01-07 01:26:20
Message-ID: 20040107012609.7FC601C173269@smtp.vip.163.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Thanks for any advice .The sixth step is the most important .
The original message is from
http://forums.devshed.com/t100933/s75bac731c42ee7cef3771895ed470ad3.html
I have the same problem .
____________________________________________________________________________________________________________________
1. ipc-daemon2 --install-as-service
(ipc-daemon2 was installed ok)

2. mkdir /data

3. cygrunsrv --install postmaster --path /usr/bin/postmaster --args "-D /data -i" --dep ipc-daemon2 --termsig INT --user goreXP --shutdown
(where goreXP in the admin in winXP)

4. bash$ chown goreXP /data

5. cygrunsrv -S ipc-daemon2
(ipc-daemon2 was started ok)

6. bash$ initdb -D /data

.. and I get:
The files belonging to this database system will be owned by user "goreXP".
This user must also own the server process.
The database cluster will be initialized with locale C.
creating directory /data... \c
ok
creating directory /data/base... \c
ok
creating directory /data/global... \c
ok
creating directory /data/pg_xlog... \c
ok
creating directory /data/pg_clog... \c
ok
selecting default max_connections... \c
100
selecting default shared_buffers... \c
1000
creating configuration files... \c
ok
creating template1 database in /data/base/1... \c
cat: not found
ok
initializing pg_shadow... \c
FATAL: could not open file "/data/global/1262": no such file or directory
initdb: failed
initdb: removing data directory "/data"
bash$

what is wrong? (... or I'm done with PostgreSQL)
(... and, yes, winXP/2000 is the only option I have!)

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Patrick Samson 2004-01-07 13:21:38 pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution
Previous Message Claudio Natoli 2004-01-07 01:08:18 Re: Cygwin PostgreSQL 7.4.1 Regression Test Issue