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

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

Jan 02, 2016

Download

Documents

Tiffany Randall
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Technical Workshop CPH 2th June 2014 Minerals4EU WP5 team EURARE WP1team PostGreSQL Install problems with possible solution Frands Schjøth, GEUS.

Technical Workshop CPH 2th June 2014

Minerals4EU WP5 teamEURARE WP1team PostGreSQL Install problems with possible solution

Frands Schjøth, GEUS

Page 2: Technical Workshop CPH 2th June 2014 Minerals4EU WP5 team EURARE 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]

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

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

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

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:

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

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]

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

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

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

Thank you