[postgis-users] Installing Postgres in Cygwin - win XP

Kjell-Olav Bjerknes kob at norkart.no
Fri Oct 25 00:45:50 PDT 2002


Hi..

I'm having problems installing Postgres in Cygwin on a Windows XP machine.

I followed the The NON-UNIX User's Guide to Installing PostGIS on Windows 
but it fails during initdb.

I installed the cygipc-1.11-1.tar.bz2 and ran it as a servcie; ipc-daemon 
--install-as-service

I made the postgres user etc, but when I log on to my pc as postgres and 
run initdb it hangs... using 100% cpu for a long time. (how much time 
should this take?) after some time ca 20-30 min I break out
to get my CPU back....

If I start the ipc-daemon manually I get this:

$ ipc-daemon &
[1] 1316

postgres at KOB-DELL /
$ mkdir /usr/share/postgresql/data

postgres at KOB-DELL /
$ initdb -D /usr/share/postgresql/data
The files belonging to this database system will be owned by user 
"postgres".
This user must also own the server process.

Fixing permissions on existing directory /usr/share/postgresql/data... ok
creating directory /usr/share/postgresql/data/base... ok
creating directory /usr/share/postgresql/data/global... ok
creating directory /usr/share/postgresql/data/pg_xlog... ok
creating directory /usr/share/postgresql/data/pg_clog... ok
creating template1 database in /usr/share/postgresql/data/base/1... ok
creating configuration files... ok
initializing pg_shadow... FindExec: invalid binary "/usr/bin/postgres"
FATAL 1:  /usr/bin/postgres: could not locate executable, bailing out...

initdb failed.


Does anyone have any idea???

kjell-olav





More information about the postgis-users mailing list