technical workshop cph 2th june 2014 minerals4eu wp5 team eurare wp1team postgresql install problems...

7
Technical Workshop CPH 2th June 2014 Minerals4EU WP5 team EURARE WP1team PostGreSQL Install problems with possible solution Frands Schjøth, GEUS

Upload: tiffany-randall

Post on 02-Jan-2016

217 views

Category:

Documents


2 download

TRANSCRIPT

Technical Workshop CPH 2th June 2014

Minerals4EU WP5 teamEURARE WP1team PostGreSQL Install problems with possible solution

Frands Schjøth, GEUS

2

Postgres install warning on screen

02. June 2014 Minerals4EU WP 5 team and EURARE WP1 team, [email protected]

3

Postgres install logfile

02. June 2014 Minerals4EU WP 5 team and EURARE WP1 team, [email protected]

(Directory “c:\Users\<user>\AppData\Local\Temp” and filename “ install-postgresql.log” 4-5000 lines)-------------------------------Script output:Installing the adminpack module in the postgres database...    Executing 'C:\Users\<user>\AppData\Local\Temp\rad324A1.bat'...psql: ¥ 㤠«®áì ¯®¤ª«îç¨âìáï ª á¥à¢¥àã: Connection refused (0x0000274D/10061)                Ž ¤¥©áâ¢¨â¥«ì ® à ¡®â ¥â ¯®  ¤à¥áã "localhost" (::1)                ¨ ¯à¨ ̈ ¬ ¥â TCP-ᮥ¤¨ ¥ ̈ ï (¯®àâ 5432)? ¥ 㤠«®áì ¯®¤ª«îç¨âìáï ª á¥à¢¥àã: Connection refused (0x0000274D/10061)                Ž ¤¥©áâ¢¨â¥«ì ® à ¡®â ¥â ¯®  ¤à¥áã "localhost" (127.0.0.1)                ¨ ¯à¨ ̈ ¬ ¥â TCP-ᮥ¤¨ ¥ ̈ ï (¯®àâ 5432)? Failed to install the 'adminpack' module in the 'postgres' databaseloadmodules.vbs ran to completion

4

Solution to Postgres warning

02. June 2014 Minerals4EU WP 5 team and EURARE WP1 team, [email protected]

https://wiki.postgresql.org/wiki/Running_%26_Installing_PostgreSQL_On_Native_Windows#What_versions_of_Windows_does_PostgreSQL_run_on.3F

The installer exits with a runtime installation error?The installer may exit with an error like: An error occured executingthe Microsoft VC++ runtime installer. This can only happen on Windows. There are two main reasons why this may occur:

5

Solution to Postgres warning

02. June 2014 Minerals4EU WP 5 team and EURARE WP1 team, [email protected]

https://wiki.postgresql.org/wiki/Running_%26_Installing_PostgreSQL_On_Native_Windows#What_versions_of_Windows_does_PostgreSQL_run_on.3F

1) The Windows Scripting Host is unable to execute VBscripts. This can occur if the scripting host is disabled (which is unusual), or if the installation is broken. A sign of this problem is a message like CScript Error: Can't find script engine "VBScript" for script "C:\.... It can often be resolved by re-registering the VBscript interpreter - click Start -> Run and enter the following and click OK:

regsvr32 %systemroot%\system32\vbscript.dll

If that fails, on older versions of Windows you can try updating the scripting host. Also, make sure that the registry value in HKEY_CLASSES_ROOT\.vbs\(Default) is VBSFile. [1]

602. June 2014 Minerals4EU WP 5 team and EURARE WP1 team, [email protected]

https://wiki.postgresql.org/wiki/Running_%26_Installing_PostgreSQL_On_Native_Windows#What_versions_of_Windows_does_PostgreSQL_run_on.3F

2) The installer is unable to properly read and write files to the system TEMP directory. This can occur if the TEMP or TMP environment variables are set to non-standard values, and can be recognised by errors in the logfile indicating that scripts could not be executed or found. To resolve this issue, ensure the TEMP and TMP variables are set to their correct values.

Solution to Postgres warning

Thank you