[postgis-users] Problems with PostGIS Installation
Benjamin Wragg
bwragg at tpg.com.au
Wed Mar 5 13:29:06 PST 2003
Try the following:
$ initdb -D /usr/share/postgresql/data -U postgres
Cheers,
Benjamin
-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of
Sent: Tuesday, 4 March 2003 3:37 AM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] Problems with PostGIS Installation
Initdb usually needs to be run as the "postgres" user on a unix system,
I'm not
sure how this translates into the cygwin world, or if you are already
doing
this... just something to consider.
Chris
Quoting Bernhard Moser <tartania at yahoo.com>:
>
> Hi,
>
> First I have to say that I have got no experience regarding Unix or
> Postgresql.
>
> I tried to install PostGIS on Windows XP following the guide on
> http://www.gasai.com/gisapps/WindowsHowTo.html.
>
> Everything works fine until I try to initialize postgresql under my
> 'postgres' profile with:
>
> $ initdb -D /usr/share/postgresql/data
>
> I always got the reply:
>
> The program 'postgres' is needed by initdb but was not found in the
> directory '/usr/bin'. Check your installation.
>
> I downloaded postgresql together with cygwin but the installation,
> does NOT create a /usr/bin directory. (initdb and postgres.exe are in
> /bin).
>
> But initdb works without problems if I try it as administrator.
>
> It would be great if anyone could help me with this.
>
> Thanks a lot,
>
> Bernhard Moser
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, and more
_______________________________________________
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