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

Obe, Regina DND\MIS robe.dnd at ci.boston.ma.us
Fri Oct 25 06:47:48 PDT 2002


Actually I take back my last statement about size.  My newer version is 2.6
MB and is located in my /bin folder instead of /usr/bin, but I think this
varies depending on how you configure your install (location and size).

-----Original Message-----
From: Kjell-Olav Bjerknes [mailto:kob at norkart.no]
Sent: Friday, October 25, 2002 3:46 AM
To: 'postgis-users at postgis.refractions.net'
Subject: [postgis-users] Installing Postgres in Cygwin - win XP


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


_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list