Skip site navigation (1) Skip section navigation (2)

Re: Installation problem "...The database cluster initialization failed.."

From: John R Pierce <pierce(at)hogranch(dot)com>
To: aerkain <aerkain(at)seznam(dot)cz>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Installation problem "...The database cluster initialization failed.."
Date: 2009-01-12 10:22:58
Message-ID: 496B1A02.7010109@hogranch.com (view raw or flat)
Thread:
Lists: pgsql-bugs
aerkain wrote:
> - It is Windows Vista Business.
> - ..\PostgreSQL\8.3\data is existing and empty.
> - during uninstallation postgre has reported an error: unable to stop
> service
> - I have deleted PostgreSQL directiory (after uninstall), but when I try to
> install it still display message that "The database cluster initialisation
> failed."
>   

to clean up a old/failed postgres install on windows...

    * delete the postgres user, via command line NET USER POSTGRES /DELETE
    * delete the postgres 'service', via command line SC DELETE PGSQL-8.3
    * delete the directories as you did.  


(command lines can (should?) be all lower case, i just capitalized them 
to make it clear they were commands).  older versions use different 
service names... try

    sc query | find "pg"

to get the service name for the `sc delete` command...
 
now, you should be able to clean install postgres



In response to

Responses

pgsql-bugs by date

Next:From: Peter EisentrautDate: 2009-01-12 13:26:48
Subject: Re: [BUGS] Status of issue 4593
Previous:From: Dave PageDate: 2009-01-12 09:13:11
Subject: Re: Installation problem "...The database cluster initialization failed.."

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group