PostgreSQL + PostGISを仮想サーバに正しく再インストールできませんでした。
次のエラーは、プロセスの終了について発生PostgreSQLのインストール:PostgreSQLのインストール - モジュールのロードエラー
「非致命的なエラーがデータベースモジュールをロードしながら発生したCでインストールログを確認してください:。。... \一時詳細については、」ここで
ログはこう言われる、
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
その後のインストールは、私は、pgAdminでを起動してログインし、新しいデータベースを作成することができ、完了します。スタックビルダーウィザードを使用して、PostGISを追加しようとするまでは、すべてうまく見えます。
「データベースの作成に失敗しました」インストールがもう一度完了しました。 "エラーログを表示しますか?" "create_templatepostgis_db_error.txt '?"
このエラーログは存在しません。私は、エラーを無視し、テンプレートdbを手動で作成するかもしれません。しかし、私は 'ジオメトリ'のような型を使うことはできないので、PostGISはまだ使えません。
誰かが私が間違っていた可能性のあるアイデアを持っているのでしょうか?何かヒント?誰も私がエラーログを解釈するのを助けることができますか?
私はWindows XP、PostgreSQL 9.0 32bit(8.4と同じ)、PostGIS 1.5を使用します。
Postgres 8.3 + PostGISは以前このシステムにインストールされていましたが、アンインストールしてデータディレクトリを削除し、インストールウィザードで新しいposgres windowsユーザを作成させました。
再起動も数回かかりました。
そして私はPostgresのインストール時に[デフォルトロケール]の代わりにロケールを選択しました。
これは私が疑っているログの別の部分です。それは最初です。多分これは役立ちます:
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
Windowsユーザーの問題でした。誰かが問題なく(そしてユーザーアカウントを削除した後に)サーバーにそれをインストールしました。 –