Thread: new install(latest version) problem in windows 2000/xp
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!)
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
I noticed there was a break about zlib . But I have downloaded the latest cygwin setup program and choosen full installation . Downloading error ? I have downloaded it twice .Any other problem ? Thanks . ======================================= >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 = = = = = = = = = = = = = = = = = = = =
Please keep your replies on-list. On Thu, Jan 08, 2004 at 08:49:15AM +0800, LitelWang wrote: > I noticed there was a break about zlib . But I have downloaded the > latest cygwin setup program and choosen full installation . > Downloading error ? I have downloaded it twice .Any other problem ? > Thanks . Please move this discussion to <cygwin@cygwin.com> since this is not a PostgreSQL issue. Thanks, 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