Nie mogłem poprawnie zainstalować PostgreSQL + PostGIS na naszym wirtualnym serwerze.
Instalacja PostgreSQL następujący błąd występuje o zakończeniu procesu:Instalacja PostgreSQL - moduły ładowania błędów
„Non-Wystąpił błąd krytyczny podczas ładowania modułów baz danych proszę sprawdzić rejestr instalacji w katalogu C:.. ... \ Temp szczegółów”
Oto co mówi dziennik:
Loading additional SQL modules...
Executing cscript //NoLogo "C:\Programme\PostgreSQL\9.0\installer\server\loadmodules.vbs" "postgres" "****" "C:\Programme\PostgreSQL\9.0" "C:\Programme\PostgreSQL\9.0\data" 5432
Script exit code: 2
Script output:
Installing the adminpack module in the postgres database...
Executing 'C:\DOKUME~1\Kiesow\LOKALE~1\Temp\rad3C00F.bat'...
Couldn't find the output file...
Failed to install the 'adminpack' module in the 'postgres' database
loadmodules.vbs ran to completion
Script stderr:
Program ended with an error exit code
Error running cscript //NoLogo "C:\Programme\PostgreSQL\9.0\installer\server\loadmodules.vbs" "postgres" "****" "C:\Programme\PostgreSQL\9.0" "C:\Programme\PostgreSQL\9.0\data" 5432 : Program ended with an error exit code
Po zakończeniu instalacji, mogę zacząć pgAdmin, zalogować się i tworzenia nowych baz danych. Wszystko wygląda dobrze, dopóki nie spróbuję dodać PostGIS, korzystając z kreatora kreatora stosu. Ponownie instalacja jest prawie ukończona, gdy:
"Utworzenie bazy danych nie powiodło się." "Czy chcesz wyświetlić dziennik błędów" "create_templatepostgis_db_error.txt"? "
Ten dziennik błędów nie istnieje. Mogę zignorować błąd i ręcznie utworzyć szablon db, co działa. Ale nie mogę używać typów takich jak "geometria", więc myślę, że PostGIS nie jest jeszcze użyteczny.
Może ktoś z was ma pojęcie o tym, co mogłem zrobić źle? Jakieś wskazówki? Czy ktoś może mi pomóc zinterpretować dziennik błędów?
Używam systemu Windows XP, PostgreSQL 9.0 32bit (to samo z 8.4), PostGIS 1.5.
Postgres 8.3 + PostGIS został zainstalowany w tym systemie wcześniej, ale odinstalowałem, usunąłem katalog danych i pozwoliłem kreatorowi instalacji utworzyć nowego użytkownika systemu windows.
Wykonano również kilka ponownych uruchomień.
I wybrałem ustawienia regionalne zamiast [Domyślne ustawienia regionalne] w instalacji PostgreSQL.
Jest to kolejna część dziennika, na którą jestem podejrzany. Jest na samym początku. Może to pomoże:
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.0 Data Directory. Setting variable iDataDirectory to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.0 Base Directory. Setting variable iBaseDirectory to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.0 Service ID. Setting variable iServiceName to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.0 Service Account. Setting variable iServiceAccount to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.0 Super User. Setting variable iSuperuser to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.0 Branding. Setting variable iBranding to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.0 Version. Setting variable brandingVer to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.0 Shortcuts. Setting variable iShortcut to empty value
Could not find registry key HKEY_LOCAL_MACHINE\SOFTWARE\PostgreSQL\Installations\postgresql-9.0 DisableStackBuilder. Setting variable iDisableStackBuilder to empty value
[15:44:31] Existing base directory:
[15:44:31] Existing data directory:
[15:44:31] Using branding: PostgreSQL 9.0
[15:44:31] Using Super User: postgres and Service Account: postgres
[15:44:31] Using Service Name: postgresql-9.0
Executing cscript //NoLogo "C:\Dokumente und Einstellungen\Kiesow\Lokale Einstellungen\Temp\prerun_checks.vbs"
Script exit code: 0
Script output:
The scripting host appears to be functional.
Script stderr:
Executing cscript //NoLogo "C:\Dokumente und Einstellungen\Kiesow\Lokale Einstellungen\Temp\postgresql_installer\installruntimes.vbs" "C:\Dokumente und Einstellungen\Kiesow\Lokale Einstellungen\Temp\postgresql_installer\vcredist_x86.exe"
Script exit code: 3010
Script output:
Executing the runtime installer: C:\Dokumente und Einstellungen\Kiesow\Lokale Einstellungen\Temp\postgresql_installer\vcredist_x86.exe
The runtime package exited with error code: 3010
To mógł być problem użytkownika systemu Windows. Ktoś inny zainstalował go na naszym serwerze bez problemów (i ponownie po usunięciu konta użytkownika). –