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
--usergoreXP --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!)