<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Forum PostgreSQL - Problem z instalacją]]></title>
	<link rel="self" href="http://forum.postgresql.org.pl/extern.php?action=feed&amp;tid=412&amp;type=atom"/>
	<updated>2010-03-08T16:07:13Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.postgresql.org.pl/viewtopic.php?id=412</id>
		<entry>
			<title type="html"><![CDATA[Problem z instalacją]]></title>
			<link rel="alternate" href="https://forum.postgresql.org.pl/viewtopic.php?pid=1875#p1875"/>
			<content type="html"><![CDATA[Witam... Mam problem z instalacją postgresql 8.4 na Windows 7. Wcześniej miałem zainstalowaną wersję 8.3 i udało mi się ją usunąć (poprzez panel sterowania, później usunąłem użytkownika postgres, a następnie cały katalog, w którym była instalacja). Teraz podczas instalacji wyskakuje błąd: "Problem running post-install step. Installation may not complete correctly. The database cluster initialisation failed."

Poniżej zamieszczam dane z loga.


[16:38:42] Running the post-installation/upgrade actions:
[16:38:42] Delete the temporary scripts directory...
[16:38:42] Write the base directory to the ini file...
[16:38:42] Write the version number to the ini file...
Initialising the database cluster (this may take a few minutes)...
Executing cscript //NoLogo "C:\Program Files (x86)\PostgreSQL\8.4/installer/server/initcluster.vbs" "postgres" "postgres" "postgres" "C:\Program Files (x86)\PostgreSQL\8.4" "C:\Program Files (x86)\PostgreSQL\8.4\data" 5432 "DEFAULT"
Script exit code: 1

Script output:
 
Ensuring we can write to the data directory (using icacls):
ZajĄc: Nie zosta?o wykonane mapowanie micdzy nazwami kont a identyfikatorami zabezpiecze„.
Liczba plikôw przetworzonych pomy?lnie: 0; liczba plikôw, ktôrych przetwarzanie nie powiod?o sic: 1.

Failed to ensure the data directory is accessible (C:\Program Files (x86)\PostgreSQL\8.4\data)
The files belonging to this database system will be owned by user "ZajĄc".
This user must also own the server process.

The database cluster will be initialized with locale Polish_Poland.1250.
initdb: could not find suitable text search configuration for locale Polish_Poland.1250
The default text search configuration will be set to "simple".

fixing permissions on existing directory C:/Program Files (x86)/PostgreSQL/8.4/data ... initdb: could not change permissions of directory "C:/Program Files (x86)/PostgreSQL/8.4/data": Permission denied

Failed to initialise the database cluster with initdb


Script stderr:
 Program ended with an error exit code

Error running cscript //NoLogo "C:\Program Files (x86)\PostgreSQL\8.4/installer/server/initcluster.vbs" "postgres" "postgres" "postgres" "C:\Program Files (x86)\PostgreSQL\8.4" "C:\Program Files (x86)\PostgreSQL\8.4\data" 5432 "DEFAULT" : Program ended with an error exit code
Problem running post-install step. Installation may not complete correctly
 The database cluster initialisation failed.
Creating Uninstaller
Creating uninstaller 25%
Creating uninstaller 50%
Creating uninstaller 75%
Creating uninstaller 100%
Installation completed
Log finished 03/08/10 at 16:39:13

Pozdrawiam.]]></content>
			<author>
				<name><![CDATA[kfiatek]]></name>
				<uri>https://forum.postgresql.org.pl/profile.php?id=1077</uri>
			</author>
			<updated>2010-03-08T16:07:13Z</updated>
			<id>https://forum.postgresql.org.pl/viewtopic.php?pid=1875#p1875</id>
		</entry>
</feed>
