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

Поиск
Список
Период
Сортировка
От Francis Dupont
Тема Re: Installation problem "...The database cluster initialization failed.."
Дата
Msg-id 21487626.post@talk.nabble.com
обсуждение исходный текст
Ответ на Re: Installation problem "...The database cluster initialization failed.."  (John R Pierce <pierce@hogranch.com>)
Ответы Re: Installation problem "...The database cluster initialization failed.."  (aerkain <aerkain@seznam.cz>)
Список pgsql-bugs
John R Pierce wrote:
>
> 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
>
>
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>
>

I had the same problem!  I found a way to go a step further by checking the
security one the data directory.  It appears that the install process create
the data folder using login you're currently logon.  But it tried to access
it using the postgres login that doesn't have any right on that directory.
I had the "Full control" permission to postgres on the data directory and I
went a step further.

Haven't found the way to get the install all the way and I cannot start the
service yet.

I have a windows 2003 server SP1 running has a standalone machine (Not
connected to a domain controler).

Hope it will help getting forward to a solution.

Regards,

Francis

--
View this message in context:
http://www.nabble.com/Installation-problem-%22...The-database-cluster-initialization-failed..%22-tp21343831p21487626.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: BUG #4566: pg_stop_backup() reports incorrect STOP WAL LOCATION
Следующее
От: "Marshall, Steve"
Дата:
Сообщение: pg_listener entries deleted under heavy NOTIFY load only on Windows