[postgis-users] Problems with installing postgresql-8.0-beta1-postgis

strk at refractions.net strk at refractions.net
Fri Oct 1 00:29:43 PDT 2004


On Fri, Oct 01, 2004 at 01:14:22AM +0200, Christian Große Lordemann wrote:
> Hi!
> 
> I have tried to install postgresql-8.0-beta1-postgis, but when I come to the
> step, where I initialize the database cluster I get this error message:
> 
> Specified data directory is not empty.

You're trying to initialize an already initialied database.
Check the PGDATA environment variable or initdb manual page.
If you want to remove database just remove (or backup)
the existing directory (PGDATA or whatever).

--strk;

> 
> If you have an existing database with the same major version, you do not
> need to initdb.
> 
> If you have an existing database with a different major version, you need to
> backup your old database and create a new one.
> 
>  
> 
> I had already installed one time postgresql-8.0-beta1-postgis but removed it
> from my system. Now it seems that after the removal the database is still
> there.  So my question is, how could I remove all databases from my system,
> so that I can install a fresh and new version of
> postgresql-8.0-beta1-postgis, without taking over settings I have made
> during the first installation.
> 
>  
> 
> Thanks in advance
> 
> Christian
> 

> _______________________________________________
> 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