Postgresql数据库安装报错

新安装的Windows 8.1 pro 英文版,在安装postgresql 9.0 9.2 9.4版本的时候会报相同的错误:Failed to load SQL modules into database cluster

不知道是我系统配置存在问题还是这几个版本的数据库存在BUG...........

在网上查找了一下解决方案,大致有如下几种:

  1. 修改postgresql数据库安装目录的权限,添加postgres用户权限在该安装目录上,至少为read/write,或者直接Full control,然后重新安装数据库。经验证方法无效。

  2. 因为报错步骤是调用的vbs,所以可能是firewall导致的。于是turn off windows firewall。发现问题依旧。

以下给出安装日志,有哪位大神知道如何搞定这个问题还请不吝赐教。

Log started 06/14/2015 at 11:45:34

Preferred installation mode : qt

Trying to init installer in mode qt

Mode qt successfully initialized

Executing C:\Users\Kevin ZHAO\AppData\Local\Temp/postgresql_installer_a869192931/temp_check_comspec.bat 

Script exit code: 0

Script output:

 "test ok"

Script stderr: 

Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.4 Data Directory. Setting variable iDataDirectory to empty value

Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.4 Base Directory. Setting variable iBaseDirectory to empty value

Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.4 Service ID. Setting variable iServiceName to empty value

Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.4 Service Account. Setting variable iServiceAccount to empty value

Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.4 Super User. Setting variable iSuperuser to empty value

Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.4 Branding. Setting variable iBranding to empty value

Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.4 Version. Setting variable brandingVer to empty value

Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.4 Shortcuts. Setting variable iShortcut to empty value

Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-x64-9.4 DisableStackBuilder. Setting variable iDisableStackBuilder to empty value

[11:45:40] Existing base directory: 

[11:45:40] Existing data directory: 

[11:45:40] Using branding: PostgreSQL 9.4

[11:45:40] Using Super User: postgres and Service Account: NT AUTHORITY\NetworkService

[11:45:40] Using Service Name: postgresql-x64-9.4

Executing cscript //NoLogo "C:\Users\Kevin ZHAO\AppData\Local\Temp\postgresql_installer_a869192931\prerun_checks.vbs"

Script exit code: 0

Script output:

 The scripting host appears to be functional.

Script stderr:

Executing C:\Users\Kevin ZHAO\AppData\Local\Temp\postgresql_installer_a869192931\vcredist_x64.exe /passive /norestart

Script exit code: 0

Script output:

Script stderr:

Executing C:\Users\Kevin ZHAO\AppData\Local\Temp\postgresql_installer_a869192931\getlocales.exe 

Script exit code: 0

Script output:

 AfrikaansxxCOMMAxxxxSPxxSouthxxSPxxAfrica=Afrikaans, South Africa

AlbanianxxCOMMAxxxxSPxxAlbania=Albanian, Albania

AlsatianxxCOMMAxxxxSPxxFrance=Alsatian, France

AmharicxxCOMMAxxxxSPxxEthiopia=Amharic, Ethiopia

ArabicxxCOMMAxxxxSPxxAlgeria=Arabic, Algeria

ArabicxxCOMMAxxxxSPxxBahrain=Arabic, Bahrain

ArabicxxCOMMAxxxxSPxxEgypt=Arabic, Egypt

ArabicxxCOMMAxxxxSPxxIraq=Arabic, Iraq

ArabicxxCOMMAxxxxSPxxJordan=Arabic, Jordan

ArabicxxCOMMAxxxxSPxxKuwait=Arabic, Kuwait

ArabicxxCOMMAxxxxSPxxLebanon=Arabic, Lebanon

ArabicxxCOMMAxxxxSPxxLibya=Arabic, Libya

ArabicxxCOMMAxxxxSPxxMorocco=Arabic, Morocco

ArabicxxCOMMAxxxxSPxxOman=Arabic, Oman

ArabicxxCOMMAxxxxSPxxQatar=Arabic, Qatar

ArabicxxCOMMAxxxxSPxxSaudixxSPxxArabia=Arabic, Saudi Arabia

ArabicxxCOMMAxxxxSPxxSyria=Arabic, Syria

ArabicxxCOMMAxxxxSPxxTunisia=Arabic, Tunisia

ArabicxxCOMMAxxxxSPxxUxxDOTxxAxxDOTxxExxDOTxx=Arabic, U.A.E.

ArabicxxCOMMAxxxxSPxxYemen=Arabic, Yemen

ArmenianxxCOMMAxxxxSPxxArmenia=Armenian, Armenia

AssamesexxCOMMAxxxxSPxxIndia=Assamese, India

AzerbaijanixxSPxxxxOBxxCyrillicxxCBxxxxCOMMAxxxxSPxxAzerbaijan=Azerbaijani (Cyrillic), Azerbaijan

AzerbaijanixxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxAzerbaijan=Azerbaijani (Latin), Azerbaijan

BanglaxxCOMMAxxxxSPxxBangladesh=Bangla, Bangladesh

BanglaxxCOMMAxxxxSPxxIndia=Bangla, India

BashkirxxCOMMAxxxxSPxxRussia=Bashkir, Russia

BasquexxCOMMAxxxxSPxxSpain=Basque, Spain

BelarusianxxCOMMAxxxxSPxxBelarus=Belarusian, Belarus

BosnianxxSPxxxxOBxxCyrillicxxCBxxxxCOMMAxxxxSPxxBosniaxxSPxxandxxSPxxHerzegovina=Bosnian (Cyrillic), Bosnia and Herzegovina

BosnianxxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxBosniaxxSPxxandxxSPxxHerzegovina=Bosnian (Latin), Bosnia and Herzegovina

BretonxxCOMMAxxxxSPxxFrance=Breton, France

BulgarianxxCOMMAxxxxSPxxBulgaria=Bulgarian, Bulgaria

BurmesexxCOMMAxxxxSPxxMyanmar=Burmese, Myanmar

CatalanxxCOMMAxxxxSPxxSpain=Catalan, Spain

CentralxxSPxxAtlasxxSPxxTamazightxxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxAlgeria=Central Atlas Tamazight (Latin), Algeria

CentralxxSPxxAtlasxxSPxxTamazightxxSPxxxxOBxxTifinaghxxCBxxxxCOMMAxxxxSPxxMorocco=Central Atlas Tamazight (Tifinagh), Morocco

CentralxxSPxxKurdishxxCOMMAxxxxSPxxIraq=Central Kurdish, Iraq

CherokeexxCOMMAxxxxSPxxUnitedxxSPxxStates=Cherokee, United States

ChinesexxSPxxxxOBxxSimplifiedxxCBxxxxCOMMAxxxxSPxxChina=Chinese (Simplified), China

ChinesexxSPxxxxOBxxSimplifiedxxCBxxxxCOMMAxxxxSPxxSingapore=Chinese (Simplified), Singapore

ChinesexxSPxxxxOBxxTraditionalxxCBxxxxCOMMAxxxxSPxxHongxxSPxxKongxxSPxxSAR=Chinese (Traditional), Hong Kong SAR

ChinesexxSPxxxxOBxxTraditionalxxCBxxxxCOMMAxxxxSPxxMacaoxxSPxxSAR=Chinese (Traditional), Macao SAR

ChinesexxSPxxxxOBxxTraditionalxxCBxxxxCOMMAxxxxSPxxTaiwan=Chinese (Traditional), Taiwan

CorsicanxxCOMMAxxxxSPxxFrance=Corsican, France

CroatianxxCOMMAxxxxSPxxCroatia=Croatian, Croatia

CroatianxxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxBosniaxxSPxxandxxSPxxHerzegovina=Croatian (Latin), Bosnia and Herzegovina

CzechxxCOMMAxxxxSPxxCzechxxSPxxRepublic=Czech, Czech Republic

DanishxxCOMMAxxxxSPxxDenmark=Danish, Denmark

DarixxCOMMAxxxxSPxxAfghanistan=Dari, Afghanistan

DivehixxCOMMAxxxxSPxxMaldives=Divehi, Maldives

DutchxxCOMMAxxxxSPxxBelgium=Dutch, Belgium

DutchxxCOMMAxxxxSPxxNetherlands=Dutch, Netherlands

EnglishxxCOMMAxxxxSPxxAustralia=English, Australia

EnglishxxCOMMAxxxxSPxxBelize=English, Belize

EnglishxxCOMMAxxxxSPxxCanada=English, Canada

EnglishxxCOMMAxxxxSPxxCaribbean=English, Caribbean

EnglishxxCOMMAxxxxSPxxHongxxSPxxKong=English, Hong Kong

EnglishxxCOMMAxxxxSPxxIndia=English, India

EnglishxxCOMMAxxxxSPxxIreland=English, Ireland

EnglishxxCOMMAxxxxSPxxJamaica=English, Jamaica

EnglishxxCOMMAxxxxSPxxMalaysia=English, Malaysia

EnglishxxCOMMAxxxxSPxxNewxxSPxxZealand=English, New Zealand

EnglishxxCOMMAxxxxSPxxPhilippines=English, Philippines

EnglishxxCOMMAxxxxSPxxSingapore=English, Singapore

EnglishxxCOMMAxxxxSPxxSouthxxSPxxAfrica=English, South Africa

EnglishxxCOMMAxxxxSPxxTrinidadxxSPxxandxxSPxxTobago=English, Trinidad and Tobago

EnglishxxCOMMAxxxxSPxxUnitedxxSPxxKingdom=English, United Kingdom

EnglishxxCOMMAxxxxSPxxUnitedxxSPxxStates=English, United States

EnglishxxCOMMAxxxxSPxxZimbabwe=English, Zimbabwe

EstonianxxCOMMAxxxxSPxxEstonia=Estonian, Estonia

FaroesexxCOMMAxxxxSPxxFaroexxSPxxIslands=Faroese, Faroe Islands

FilipinoxxCOMMAxxxxSPxxPhilippines=Filipino, Philippines

FinnishxxCOMMAxxxxSPxxFinland=Finnish, Finland

FrenchxxCOMMAxxxxSPxxBelgium=French, Belgium

FrenchxxCOMMAxxxxSPxxCameroon=French, Cameroon

FrenchxxCOMMAxxxxSPxxCanada=French, Canada

FrenchxxCOMMAxxxxSPxxCongoxxSPxx[DRC]=French, Congo [DRC]

FrenchxxCOMMAxxxxSPxxFrance=French, France

FrenchxxCOMMAxxxxSPxxHaiti=French, Haiti

FrenchxxCOMMAxxxxSPxxIvoryxxSPxxCoast=French, Ivory Coast

FrenchxxCOMMAxxxxSPxxLuxembourg=French, Luxembourg

FrenchxxCOMMAxxxxSPxxMali=French, Mali

FrenchxxCOMMAxxxxSPxxMorocco=French, Morocco

FrenchxxCOMMAxxxxSPxxPrincipalityxxSPxxofxxSPxxMonaco=French, Principality of Monaco

FrenchxxCOMMAxxxxSPxxRéunion=French, Réunion

FrenchxxCOMMAxxxxSPxxSenegal=French, Senegal

FrenchxxCOMMAxxxxSPxxSwitzerland=French, Switzerland

FrisianxxCOMMAxxxxSPxxNetherlands=Frisian, Netherlands

FulahxxCOMMAxxxxSPxxSenegal=Fulah, Senegal

GalicianxxCOMMAxxxxSPxxSpain=Galician, Spain

GeorgianxxCOMMAxxxxSPxxGeorgia=Georgian, Georgia

GermanxxCOMMAxxxxSPxxAustria=German, Austria

GermanxxCOMMAxxxxSPxxGermany=German, Germany

GermanxxCOMMAxxxxSPxxLiechtenstein=German, Liechtenstein

GermanxxCOMMAxxxxSPxxLuxembourg=German, Luxembourg

GermanxxCOMMAxxxxSPxxSwitzerland=German, Switzerland

GreekxxCOMMAxxxxSPxxGreece=Greek, Greece

GreenlandicxxCOMMAxxxxSPxxGreenland=Greenlandic, Greenland

GuaranixxCOMMAxxxxSPxxParaguay=Guarani, Paraguay

GujaratixxCOMMAxxxxSPxxIndia=Gujarati, India

HausaxxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxNigeria=Hausa (Latin), Nigeria

HawaiianxxCOMMAxxxxSPxxUnitedxxSPxxStates=Hawaiian, United States

HebrewxxCOMMAxxxxSPxxIsrael=Hebrew, Israel

HindixxCOMMAxxxxSPxxIndia=Hindi, India

HungarianxxCOMMAxxxxSPxxHungary=Hungarian, Hungary

IcelandicxxCOMMAxxxxSPxxIceland=Icelandic, Iceland

IgboxxCOMMAxxxxSPxxNigeria=Igbo, Nigeria

IndonesianxxCOMMAxxxxSPxxIndonesia=Indonesian, Indonesia

InuktitutxxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxCanada=Inuktitut (Latin), Canada

InuktitutxxSPxxxxOBxxSyllabicsxxCBxxxxCOMMAxxxxSPxxCanada=Inuktitut (Syllabics), Canada

IrishxxCOMMAxxxxSPxxIreland=Irish, Ireland

ItalianxxCOMMAxxxxSPxxItaly=Italian, Italy

ItalianxxCOMMAxxxxSPxxSwitzerland=Italian, Switzerland

JapanesexxCOMMAxxxxSPxxJapan=Japanese, Japan

KannadaxxCOMMAxxxxSPxxIndia=Kannada, India

KazakhxxCOMMAxxxxSPxxKazakhstan=Kazakh, Kazakhstan

KhmerxxCOMMAxxxxSPxxCambodia=Khmer, Cambodia

KinyarwandaxxCOMMAxxxxSPxxRwanda=Kinyarwanda, Rwanda

KiswahilixxCOMMAxxxxSPxxKenya=Kiswahili, Kenya

KonkanixxCOMMAxxxxSPxxIndia=Konkani, India

KoreanxxCOMMAxxxxSPxxKorea=Korean, Korea

KyrgyzxxCOMMAxxxxSPxxKyrgyzstan=Kyrgyz, Kyrgyzstan

LaoxxCOMMAxxxxSPxxLaoxxSPxxPDR=Lao, Lao PDR

LatvianxxCOMMAxxxxSPxxLatvia=Latvian, Latvia

LithuanianxxCOMMAxxxxSPxxLithuania=Lithuanian, Lithuania

LowerxxSPxxSorbianxxCOMMAxxxxSPxxGermany=Lower Sorbian, Germany

LuxembourgishxxCOMMAxxxxSPxxLuxembourg=Luxembourgish, Luxembourg

MacedonianxxSPxxxxOBxxFormerxxSPxxYugoslavxxSPxxRepublicxxSPxxofxxSPxxMacedoniaxxCBxxxxCOMMAxxxxSPxxMacedoniaxxSPxxxxOBxxFormerxxSPxxYugoslavxxSPxxRepublicxxSPxxofxxSPxxMacedoniaxxCBxx=Macedonian (Former Yugoslav Republic of Macedonia), Macedonia (Former Yugoslav Republic of Macedonia)

MalayalamxxCOMMAxxxxSPxxIndia=Malayalam, India

MalayxxCOMMAxxxxSPxxBruneixxSPxxDarussalam=Malay, Brunei Darussalam

MalayxxCOMMAxxxxSPxxMalaysia=Malay, Malaysia

MaltesexxCOMMAxxxxSPxxMalta=Maltese, Malta

MaorixxCOMMAxxxxSPxxNewxxSPxxZealand=Maori, New Zealand

MapudungunxxCOMMAxxxxSPxxChile=Mapudungun, Chile

MarathixxCOMMAxxxxSPxxIndia=Marathi, India

MohawkxxCOMMAxxxxSPxxCanada=Mohawk, Canada

MongolianxxSPxxxxOBxxCyrillicxxCBxxxxCOMMAxxxxSPxxMongolia=Mongolian (Cyrillic), Mongolia

MongolianxxSPxxxxOBxxTraditionalxxSPxxMongolianxxCBxxxxCOMMAxxxxSPxxChina=Mongolian (Traditional Mongolian), China

MongolianxxSPxxxxOBxxTraditionalxxSPxxMongolianxxCBxxxxCOMMAxxxxSPxxMongolia=Mongolian (Traditional Mongolian), Mongolia

NepalixxCOMMAxxxxSPxxIndia=Nepali, India

NepalixxCOMMAxxxxSPxxNepal=Nepali, Nepal

NorwegianxxSPxxxxOBxxBokmålxxCBxxxxCOMMAxxxxSPxxNorway=Norwegian (Bokmål), Norway

NorwegianxxSPxxxxOBxxNynorskxxCBxxxxCOMMAxxxxSPxxNorway=Norwegian (Nynorsk), Norway

OccitanxxCOMMAxxxxSPxxFrance=Occitan, France

OdiaxxCOMMAxxxxSPxxIndia=Odia, India

OromoxxCOMMAxxxxSPxxEthiopia=Oromo, Ethiopia

PashtoxxCOMMAxxxxSPxxAfghanistan=Pashto, Afghanistan

PersianxxCOMMAxxxxSPxxIran=Persian, Iran

PolishxxCOMMAxxxxSPxxPoland=Polish, Poland

PortuguesexxCOMMAxxxxSPxxBrazil=Portuguese, Brazil

PortuguesexxCOMMAxxxxSPxxPortugal=Portuguese, Portugal

PunjabixxCOMMAxxxxSPxxIndia=Punjabi, India

PunjabixxCOMMAxxxxSPxxPakistan=Punjabi, Pakistan

QuechuaxxCOMMAxxxxSPxxBolivia=Quechua, Bolivia

QuechuaxxCOMMAxxxxSPxxPeru=Quechua, Peru

QuichuaxxCOMMAxxxxSPxxEcuador=Quichua, Ecuador

RomanianxxCOMMAxxxxSPxxMoldova=Romanian, Moldova

RomanianxxCOMMAxxxxSPxxRomania=Romanian, Romania

RomanshxxCOMMAxxxxSPxxSwitzerland=Romansh, Switzerland

RussianxxCOMMAxxxxSPxxRussia=Russian, Russia

SakhaxxCOMMAxxxxSPxxRussia=Sakha, Russia

SamixxSPxxxxOBxxInarixxCBxxxxCOMMAxxxxSPxxFinland=Sami (Inari), Finland

SamixxSPxxxxOBxxLulexxCBxxxxCOMMAxxxxSPxxNorway=Sami (Lule), Norway

SamixxSPxxxxOBxxLulexxCBxxxxCOMMAxxxxSPxxSweden=Sami (Lule), Sweden

SamixxSPxxxxOBxxNorthernxxCBxxxxCOMMAxxxxSPxxFinland=Sami (Northern), Finland

SamixxSPxxxxOBxxNorthernxxCBxxxxCOMMAxxxxSPxxNorway=Sami (Northern), Norway

SamixxSPxxxxOBxxNorthernxxCBxxxxCOMMAxxxxSPxxSweden=Sami (Northern), Sweden

SamixxSPxxxxOBxxSkoltxxCBxxxxCOMMAxxxxSPxxFinland=Sami (Skolt), Finland

SamixxSPxxxxOBxxSouthernxxCBxxxxCOMMAxxxxSPxxNorway=Sami (Southern), Norway

SamixxSPxxxxOBxxSouthernxxCBxxxxCOMMAxxxxSPxxSweden=Sami (Southern), Sweden

SanskritxxCOMMAxxxxSPxxIndia=Sanskrit, India

ScottishxxSPxxGaelicxxCOMMAxxxxSPxxUnitedxxSPxxKingdom=Scottish Gaelic, United Kingdom

SerbianxxSPxxxxOBxxCyrillicxxCBxxxxCOMMAxxxxSPxxBosniaxxSPxxandxxSPxxHerzegovina=Serbian (Cyrillic), Bosnia and Herzegovina

SerbianxxSPxxxxOBxxCyrillicxxCBxxxxCOMMAxxxxSPxxMontenegro=Serbian (Cyrillic), Montenegro

SerbianxxSPxxxxOBxxCyrillicxxCBxxxxCOMMAxxxxSPxxSerbia=Serbian (Cyrillic), Serbia

SerbianxxSPxxxxOBxxCyrillicxxCBxxxxCOMMAxxxxSPxxSerbiaxxSPxxandxxSPxxMontenegroxxSPxxxxOBxxFormerxxCBxx=Serbian (Cyrillic), Serbia and Montenegro (Former)

SerbianxxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxBosniaxxSPxxandxxSPxxHerzegovina=Serbian (Latin), Bosnia and Herzegovina

SerbianxxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxMontenegro=Serbian (Latin), Montenegro

SerbianxxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxSerbia=Serbian (Latin), Serbia

SerbianxxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxSerbiaxxSPxxandxxSPxxMontenegroxxSPxxxxOBxxFormerxxCBxx=Serbian (Latin), Serbia and Montenegro (Former)

SesothoxxSPxxsaxxSPxxLeboaxxCOMMAxxxxSPxxSouthxxSPxxAfrica=Sesotho sa Leboa, South Africa

SetswanaxxCOMMAxxxxSPxxBotswana=Setswana, Botswana

SetswanaxxCOMMAxxxxSPxxSouthxxSPxxAfrica=Setswana, South Africa

SindhixxCOMMAxxxxSPxxPakistan=Sindhi, Pakistan

SinhalaxxCOMMAxxxxSPxxSrixxSPxxLanka=Sinhala, Sri Lanka

SlovakxxCOMMAxxxxSPxxSlovakia=Slovak, Slovakia

SlovenianxxCOMMAxxxxSPxxSlovenia=Slovenian, Slovenia

SomalixxCOMMAxxxxSPxxSomalia=Somali, Somalia

SouthernxxSPxxSothoxxCOMMAxxxxSPxxSouthxxSPxxAfrica=Southern Sotho, South Africa

SpanishxxCOMMAxxxxSPxxArgentina=Spanish, Argentina

SpanishxxCOMMAxxxxSPxxBolivarianxxSPxxRepublicxxSPxxofxxSPxxVenezuela=Spanish, Bolivarian Republic of Venezuela

SpanishxxCOMMAxxxxSPxxBolivia=Spanish, Bolivia

SpanishxxCOMMAxxxxSPxxChile=Spanish, Chile

SpanishxxCOMMAxxxxSPxxColombia=Spanish, Colombia

SpanishxxCOMMAxxxxSPxxCostaxxSPxxRica=Spanish, Costa Rica

SpanishxxCOMMAxxxxSPxxDominicanxxSPxxRepublic=Spanish, Dominican Republic

SpanishxxCOMMAxxxxSPxxEcuador=Spanish, Ecuador

SpanishxxCOMMAxxxxSPxxElxxSPxxSalvador=Spanish, El Salvador

SpanishxxCOMMAxxxxSPxxGuatemala=Spanish, Guatemala

SpanishxxCOMMAxxxxSPxxHonduras=Spanish, Honduras

SpanishxxCOMMAxxxxSPxxLatinxxSPxxAmerica=Spanish, Latin America

SpanishxxCOMMAxxxxSPxxMexico=Spanish, Mexico

SpanishxxCOMMAxxxxSPxxNicaragua=Spanish, Nicaragua

SpanishxxCOMMAxxxxSPxxPanama=Spanish, Panama

SpanishxxCOMMAxxxxSPxxParaguay=Spanish, Paraguay

SpanishxxCOMMAxxxxSPxxPeru=Spanish, Peru

SpanishxxCOMMAxxxxSPxxPuertoxxSPxxRico=Spanish, Puerto Rico

SpanishxxCOMMAxxxxSPxxSpain=Spanish, Spain

SpanishxxCOMMAxxxxSPxxSpain=Spanish, Spain

SpanishxxCOMMAxxxxSPxxUnitedxxSPxxStates=Spanish, United States

SpanishxxCOMMAxxxxSPxxUruguay=Spanish, Uruguay

SwedishxxCOMMAxxxxSPxxFinland=Swedish, Finland

SwedishxxCOMMAxxxxSPxxSweden=Swedish, Sweden

SyriacxxCOMMAxxxxSPxxSyria=Syriac, Syria

TajikxxSPxxxxOBxxCyrillicxxCBxxxxCOMMAxxxxSPxxTajikistan=Tajik (Cyrillic), Tajikistan

TamilxxCOMMAxxxxSPxxIndia=Tamil, India

TamilxxCOMMAxxxxSPxxSrixxSPxxLanka=Tamil, Sri Lanka

TatarxxCOMMAxxxxSPxxRussia=Tatar, Russia

TeluguxxCOMMAxxxxSPxxIndia=Telugu, India

ThaixxCOMMAxxxxSPxxThailand=Thai, Thailand

TibetanxxCOMMAxxxxSPxxChina=Tibetan, China

TigrinyaxxCOMMAxxxxSPxxEritrea=Tigrinya, Eritrea

TigrinyaxxCOMMAxxxxSPxxEthiopia=Tigrinya, Ethiopia

TsongaxxCOMMAxxxxSPxxSouthxxSPxxAfrica=Tsonga, South Africa

TurkishxxCOMMAxxxxSPxxTurkey=Turkish, Turkey

TurkmenxxCOMMAxxxxSPxxTurkmenistan=Turkmen, Turkmenistan

UkrainianxxCOMMAxxxxSPxxUkraine=Ukrainian, Ukraine

UpperxxSPxxSorbianxxCOMMAxxxxSPxxGermany=Upper Sorbian, Germany

UrduxxCOMMAxxxxSPxxIndia=Urdu, India

UrduxxCOMMAxxxxSPxxPakistan=Urdu, Pakistan

UyghurxxCOMMAxxxxSPxxChina=Uyghur, China

UzbekxxSPxxxxOBxxCyrillicxxCBxxxxCOMMAxxxxSPxxUzbekistan=Uzbek (Cyrillic), Uzbekistan

UzbekxxSPxxxxOBxxLatinxxCBxxxxCOMMAxxxxSPxxUzbekistan=Uzbek (Latin), Uzbekistan

ValencianxxCOMMAxxxxSPxxSpain=Valencian, Spain

VietnamesexxCOMMAxxxxSPxxVietnam=Vietnamese, Vietnam

WelshxxCOMMAxxxxSPxxUnitedxxSPxxKingdom=Welsh, United Kingdom

WolofxxCOMMAxxxxSPxxSenegal=Wolof, Senegal

YixxCOMMAxxxxSPxxChina=Yi, China

YorubaxxCOMMAxxxxSPxxNigeria=Yoruba, Nigeria

isiXhosaxxCOMMAxxxxSPxxSouthxxSPxxAfrica=isiXhosa, South Africa

isiZuluxxCOMMAxxxxSPxxSouthxxSPxxAfrica=isiZulu, South Africa

Script stderr:

Preparing to Install

Preparing to Install

Directory already exists: C:\Program Files\PostgreSQL\9.4

Creating directory C:\Program Files\PostgreSQL\9.4\bin

Creating directory C:\Program Files\PostgreSQL\9.4\doc

Creating directory C:\Program Files\PostgreSQL\9.4\include\server\lib

Creating directory C:\Program Files\PostgreSQL\9.4\symbols

Unpacking files

Unpacking C:\Program Files\PostgreSQL\9.4\3rd_party_licenses.txt

Unpacking C:\Program Files\PostgreSQL\9.4\bin\pg_dumpall.exe

Unpacking C:\Program Files\PostgreSQL\9.4\bin\pg_basebackup.exe

Unpacking C:\Program Files\PostgreSQL\9.4\bin\oid2name.exe

.......................................................................................

Unpacking C:\Program Files\PostgreSQL\9.4\symbols\tsearch2.pdb

Unpacking C:\Program Files\PostgreSQL\9.4\symbols\dropdb.pdb

[11:46:49] Running the post-installation/upgrade actions:

[11:46:50] Write the base directory to the ini file...

[11:46:50] Write the version number to the ini file...

Initialising the database cluster (this may take a few minutes)...

Executing cscript //NoLogo "C:/Program Files/PostgreSQL/9.4/installer/server/initcluster.vbs" "NT AUTHORITY\NetworkService" "postgres" "****" "C:/Program Files/PostgreSQL/9.4" "C:\apps\PostgreSQL\9.4\data" 5432 "DEFAULT" 0

Script exit code: 0

Script output:

 WScript.Shell Initialized...

Scripting.FileSystemObject initialized...

Called CreateDirectory(C:\apps\PostgreSQL\9.4\data)...

Called CreateDirectory(C:\apps\PostgreSQL\9.4)...

Called CreateDirectory(C:\apps\PostgreSQL)...

WScript.Network initialized...

strParentOfDataDirC:\apps\PostgreSQL\9.4

logged in userKevin_ZHAO\Kevin ZHAO

Called AclCheck(C:\apps\PostgreSQL\9.4\data)

Called IsVistaOrNewer()...

    'winmgmts' object initialized...

    Version:6.3

    MajorVersion:6

Executing icacls to ensure the Kevin_ZHAO\Kevin ZHAO account can read the path C:\apps\PostgreSQL\9.4\data

    Executing batch file 'radF145A.bat'...

Called IsVistaOrNewer()...

    'winmgmts' object initialized...

    Version:6.3

    MajorVersion:6

Ensuring we can write to the data directory (using icacls) to  Kevin_ZHAO\Kevin ZHAO:

    Executing batch file 'radF145A.bat'...

    Executing batch file 'radF145A.bat'...

Reading:    objConfFile is nothing...

Writing:    objConfFile is nothing...

Called AclCheck(C:\apps\PostgreSQL\9.4\data)

Called IsVistaOrNewer()...

    'winmgmts' object initialized...

    Version:6.3

    MajorVersion:6

Executing icacls to ensure the NT AUTHORITY\NetworkService account can read the path C:\apps\PostgreSQL\9.4\data

    Executing batch file 'radF145A.bat'...

Called IsVistaOrNewer()...

    'winmgmts' object initialized...

    Version:6.3

    MajorVersion:6

Granting service account access to the data directory (using icacls) to NT AUTHORITY\NetworkService:

    Executing batch file 'radF145A.bat'...

initcluster.vbs ran to completion

Script stderr:

Configuring database server startup...

Executing cscript //NoLogo "C:/Program Files/PostgreSQL/9.4\installer\server\startupcfg.vbs" 9.4 "NT AUTHORITY\NetworkService" "****" "C:/Program Files/PostgreSQL/9.4" "C:\apps\PostgreSQL\9.4\data" "postgresql-x64-9.4"

Script exit code: 0

Script output:

 startupcfg.vbs ran to completion

Script stderr:

Creating menu shortcuts...

Executing cscript //NoLogo "C:/Program Files/PostgreSQL/9.4\installer\server\createshortcuts.vbs" 9.4 "postgres" 5432 "PostgreSQL 9.4" "C:/Program Files/PostgreSQL/9.4" "C:\apps\PostgreSQL\9.4\data" "postgresql-x64-9.4"

Script exit code: 0

Script output:

 Start FixupFile(C:/Program Files/PostgreSQL/9.4\scripts\serverctl.vbs)...

   Opening file for reading...

   Closing file (reading)...

   Replacing placeholders...

   Opening file for writing...

   Closing file...

  End FixupFile()...

Start FixupFile(C:/Program Files/PostgreSQL/9.4\scripts\runpsql.bat)...

   Opening file for reading...

   Closing file (reading)...

   Replacing placeholders...

   Opening file for writing...

   Closing file...

  End FixupFile()...

createshortcuts.vbs ran to completion

Script stderr:

Starting the database server...

Executing cscript //NoLogo "C:/Program Files/PostgreSQL/9.4\installer\server\startserver.vbs" postgresql-x64-9.4

Script exit code: 0

Script output:

 startserver.vbs ran to completion

Script stderr:

[11:46:57] Installing the adminpack module in the postgres database...

Executing C:/Program Files/PostgreSQL/9.4\bin\psql.exe -c "CREATE EXTENSION adminpack" -d postgres

Script exit code: 2

Script output: 

Script stderr:

 psql: could not connect to server: Connection refused (0x0000274D/10061)

Is the server running on host "localhost" (::1) and accepting

TCP/IP connections on port 5432?

could not connect to server: Connection refused (0x0000274D/10061)

Is the server running on host "localhost" (127.0.0.1) and accepting

TCP/IP connections on port 5432?

Failed to load SQL modules into the database cluster.

[11:47:34] Write the data directory to the ini file...

[11:47:34] Write the port number, service ID, locale and superuser to the ini file...

[11:47:34] Write ServiceID(postgresql-x64-9.4) to registry/ini...

Problem running post-install step. Installation may not complete correctly

 Error reading file C:/apps/PostgreSQL/9.4/data/postgresql.conf

Creating Uninstaller

Creating uninstaller 25%

Creating uninstaller 50%

Creating uninstaller 75%

Creating uninstaller 100%

Installation completed

Log finished 06/14/2015 at 11:48:51

你可能感兴趣的:(Postgresql数据库安装报错)