Hallo zusammen,
Nach einer Silent-Installation auf Windows Server 2003 mit der PostgreSQL Version 9.0.13 habe ich die Situation, dass das Data-Verzeichnis leer ist (mit Ausnahme von einem leeren pg_log-Verzeichnis) und kein Dienst erstellt wird. Es muss also vorher beim Initialisieren der Datenbank ein Problem gegeben haben, dass jedoch nicht im Log protokolliert wird. Der einzige Hinweis ist, das die postgresql.conf nicht da ist und deswegen der Dienst nicht in die Registry geschrieben werden kann (siehe Problem running post-install step.).
Ein manuelles Initialisieren mit dem gleichen Installations-User funktioniert und legt die Dateien und Verzeichnisse im Data-Verzeichnis an. Danach läßt sich auch der Dienst manuell anlegen und alles läuft. Leider muss es aber auch mit der Silent-Installation funktionieren, da sie Teil eines automatisierten Prozesses ist.
Die Version 8.3 lässt sich problemlos auf diesem System silent installieren. Ich bin der Meinung, alle in den FAQ genannten Hinweise zur Installation auf Windows befolgt zu haben und komme nicht mehr weiter.
Dankbar für jeden Hinweis und Gruß,
Christian
Hier der interessante Teil des Installationslogs.
....
....
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\utf8_and_euc_kr.pdb
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\utf8_and_euc_tw.pdb
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\utf8_and_gb18030.pdb
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\utf8_and_gbk.pdb
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\utf8_and_iso8859.pdb
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\utf8_and_iso8859_1.pdb
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\utf8_and_johab.pdb
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\utf8_and_sjis.pdb
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\utf8_and_sjis2004.pdb
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\utf8_and_uhc.pdb
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\utf8_and_win.pdb
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\uuid-ossp.pdb
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\vacuumdb.pdb
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\vacuumlo.pdb
Unpacking D:\PROGRAMME\PostgreSQL\9.0\symbols\zic.pdb
[15:03:37] Running the post-installation/upgrade actions:
[15:03:37] Delete the temporary scripts directory...
[15:03:37] Write the base directory to the ini file...
[15:03:37] Write the version number to the ini file...
Initialising the database cluster (this may take a few minutes)...
Executing cscript //NoLogo "D:\PROGRAMME\PostgreSQL\9.0/installer/server/initcluster.vbs" "postgres" "postgres" "****" "D:\PROGRAMME\PostgreSQL\9.0" "D:\PROGRAMME\PostgreSQL\9.0\data" 5432 "C"
Script exit code: 0
Script output:
WScript.Shell Initialized...
Scripting.FileSystemObject initialized...
Called CreateDirectory(D:\PROGRAMME\PostgreSQL\9.0\data)...
Called CreateDirectory(D:\PROGRAMME\PostgreSQL\9.0)...
WScript.Network initialized...
Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:5.2
MajorVersion:5
Ensuring we can read the path D: (using cacls):
Executing batch file 'radFE01E.bat'...
Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:5.2
MajorVersion:5
Ensuring we can read the path D:\PROGRAMME (using cacls):
Executing batch file 'radFE01E.bat'...
Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:5.2
MajorVersion:5
Ensuring we can read the path D:\PROGRAMME\PostgreSQL (using cacls):
Executing batch file 'radFE01E.bat'...
Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:5.2
MajorVersion:5
Ensuring we can read the path D:\PROGRAMME\PostgreSQL\9.0 (using cacls):
Executing batch file 'radFE01E.bat'...
Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:5.2
MajorVersion:5
Ensuring we can read the path D:\PROGRAMME\PostgreSQL\9.0\data (using cacls):
Executing batch file 'radFE01E.bat'...
Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:5.2
MajorVersion:5
Ensuring we can write to the data directory (using cacls):
Executing batch file 'radFE01E.bat'...
Executing batch file 'radFE01E.bat'...
Reading: objConfFile is nothing...
Writing: objConfFile is nothing...
Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:5.2
MajorVersion:5
Ensuring the service account can read the path D: (using cacls):
Executing batch file 'radFE01E.bat'...
Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:5.2
MajorVersion:5
Ensuring the service account can read the path D:\PROGRAMME (using cacls):
Executing batch file 'radFE01E.bat'...
Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:5.2
MajorVersion:5
Ensuring the service account can read the path D:\PROGRAMME\PostgreSQL (using cacls):
Executing batch file 'radFE01E.bat'...
Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:5.2
MajorVersion:5
Ensuring the service account can read the path D:\PROGRAMME\PostgreSQL\9.0 (using cacls):
Executing batch file 'radFE01E.bat'...
Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:5.2
MajorVersion:5
Ensuring the service account can read the path D:\PROGRAMME\PostgreSQL\9.0\data (using cacls):
Executing batch file 'radFE01E.bat'...
Called IsVistaOrNewer()...
'winmgmts' object initialized...
Version:5.2
MajorVersion:5
Granting service account access to the data directory (using cacls):
Executing batch file 'radFE01E.bat'...
initcluster.vbs ran to completion
Script stderr:
Configuring database server startup...
Executing cscript //NoLogo "D:\PROGRAMME\PostgreSQL\9.0\installer\server\startupcfg.vbs" 9.0 "postgres" "****" "D:\PROGRAMME\PostgreSQL\9.0" "D:\PROGRAMME\PostgreSQL\9.0\data" "Postgresql-9.0"
Script exit code: 0
Script output:
startupcfg.vbs ran to completion
Script stderr:
Creating menu shortcuts...
Executing cscript //NoLogo "D:\PROGRAMME\PostgreSQL\9.0\installer\server\createshortcuts.vbs" 9.0 "postgres" 5432 "PostgreSQL 9.0 (x86)" "D:\PROGRAMME\PostgreSQL\9.0" "D:\PROGRAMME\PostgreSQL\9.0\data" "Postgresql-9.0"
Script exit code: 0
Script output:
Start FixupFile(D:\PROGRAMME\PostgreSQL\9.0\scripts\serverctl.vbs)...
Opening file for reading...
Closing file (reading)...
Replacing placeholders...
Opening file for writing...
Closing file...
End FixupFile()...
Start FixupFile(D:\PROGRAMME\PostgreSQL\9.0\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 "D:\PROGRAMME\PostgreSQL\9.0\installer\server\startserver.vbs" Postgresql-9.0
Script exit code: 0
Script output:
startserver.vbs ran to completion
Script stderr:
Loading additional SQL modules...
Executing cscript //NoLogo "D:\PROGRAMME\PostgreSQL\9.0\installer\server\loadmodules.vbs" "postgres" "****" "D:\PROGRAMME\PostgreSQL\9.0" "D:\PROGRAMME\PostgreSQL\9.0\data" 5432
Script exit code: 0
Script output:
Installing the adminpack module in the postgres database...
Executing 'C:\DOKUME~1\j424244\Lokale Einstellungen\Temp\1\rad3AA7C.bat'...
loadmodules.vbs ran to completion
Script stderr:
[15:03:46] Write the data directory to the ini file...
[15:03:46] Write the port number, service ID, locale and superuser to the ini file...
[15:03:46] Write ServiceID(Postgresql-9.0) to registry/ini...
Problem running post-install step. Installation may not complete correctly
Error reading file D:/PROGRAMME/TRAVIC-Link/PostgreSQL/9.0/data/postgresql.conf
Problem running post-install step. Installation may not complete correctly
Error reading file D:/PROGRAMME/TRAVIC-Link/PostgreSQL/9.0/data/postgresql.conf
Creating Uninstaller
Creating uninstaller 25%
Creating uninstaller 50%
Creating uninstaller 75%
Creating uninstaller 100%
Installation completed
Log finished 12/14/13 at 15:04:01