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

Lists: pgsql-cygwin
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
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!)


From: Jason Tishler <jason(at)tishler(dot)net>
To: LitelWang <wlxyk(at)vip(dot)163(dot)com>
Cc: "pgsql-cygwin(at)postgresql(dot)org" <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: new install(latest version) problem in windows 2000/xp
Date: 2004-01-07 16:14:14
Message-ID: 20040107161413.GA1936@tishler.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

On Wed, Jan 07, 2004 at 09:26:20AM +0800, LitelWang wrote:
> creating template1 database in /data/base/1... \c
> cat: not found

The above indicates that your Cygwin installation is broken. Reinstall
the necessary packages and/or fix your PATH.

Jason

--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6