Issue Description:You may find the following error trace in the installation.log: | [toc] |
[13:01:11] Initializing database Executing vcredist_x64.exe /q Script exit code: 0 Script output: Script stderr: Executing initdb.exe -U postgres -E UTF8 -D E:/TEST~1/REPORT~1/REPORT~1/POSTGR~1/data Script exit code: SIGABRT Script output: Script stderr: child killed: SIGABRT Error running initdb.exe -U postgres -E UTF8 -D E:/VENDOR~1/REPORT~1/REPORT~1/POSTGR~1/data : child killed: SIGABRT Executing sc stop Script exit code: 1639 Script output: DESCRIPTION: Sends a STOP control request to a service. USAGE: sc <server> stop [service name] <reason> <comment> <reason> = Optional reason code number for service stop formed with the following elements in the format: Flag:Major reason:Minor reason [E.g., 1:2:8 means Hardware: Disk (Unplanned)] Flag Major reason ------------------ --------------------------- 1 - Unplanned 1 - Other 2 - Custom 2 - Hardware 4 - Planned 3 - Operating System 4 - Software 5 - Application 64-255 - Custom Minor reason ----------------------------------- 1 - Other 2 - Maintenance 3 - Installation 4 - Upgrade 5 - Reconfiguration 6 - Hung 7 - Unstable 8 - Disk 9 - Network Card 10 - Environment 11 - Hardware Driver 12 - Other Driver 13 - Service Pack 14 - Software Update 15 - Security Fix 16 - Security 17 - Network Connectivity 18 - WMI 19 - Service Pack Uninstall 20 - Software Update Uninstall 22 - Security Fix Uninstall 23 - MMC 256-65535 - Custom <comment> = Optional comment for the reason above (127 characters maximum) Script stderr: Program ended with an error exit code Error running sc stop : Program ended with an error exit code Executing sc delete Script exit code: 1639 Script output: DESCRIPTION: Deletes a service entry from the registry. If the service is running, or another process has an open handle to the service, the service is simply marked for deletion. USAGE: sc <server> delete [service name] Script stderr: Program ended with an error exit code Error running sc delete : Program ended with an error exit code Executing sc stop jasperreportsTomcat Script exit code: 1060 Script output: [SC] OpenService FAILED 1060: The specified service does not exist as an installed service.
Resolution:
The error is usually a result of the system environment. Check the following:
Log in as local admin to install.
Make sure that the user has full rights to the folder indicated in the error trace. In the example:
E:/TEST~1/REPORT~1/REPORT~1/POSTGR~1/data
Check and make sure that the postgresql port 5532 is available. Try netstat -a to check which ports are being used.
If on Windows, go to Control Panel -> System and Security ->Administrative Tools->Services and make sure that there are no reminant postgresql processes running using the same port.
If on Windows, UAC and/or firewall may be preventing initdb.exe to run. Try turning them off temporarily to see if that is the case.
Ref. Case #00040955
Recommended Comments