BUG #11039: installation fails when trying to install C++ redistributable

Started by Nonamealmost 12 years ago20 messagesbugs
Jump to latest
#1Noname
rpvoland@spamcop.net

The following bug has been logged on the website:

Bug reference: 11039
Logged by: Rick Voland
Email address: rpvoland@spamcop.net
PostgreSQL version: 9.4beta2
Operating system: Windows XP 32-bit
Description:

computer has MS-Windows XP SP3 32-bit with all security updates.
Pentium M, 2 GB RAM
1) I log in as administrator.
2) I uninstall postgresql-9.3.4-1.
3) I double-click on postgresql-9.4.0-beta2-windows.exe (32-bit)
4) Installation starts, shows postgresql splash screen, shows progress box
for Microsoft Redistributable C++ 12.x Runtime.
5) Progress bar never gets beyond initial position.
6) Another box displays error for running "getlocales.exe"
7) Installation program stops and cleans up.

---

Microsoft website indicates that Visual C++ 2013 redistributable runs on
Windows XP. (versions 12.x as tried to install here)
http://www.microsoft.com/en-us/download/details.aspx?id=40784

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#2pjduplooy
pjduplooy@zpanelcp.com
In reply to: Noname (#1)
Re: BUG #11039: installation fails when trying to install C++ redistributable

Hi guys

I am getting the same error on Window 7 64 bit, using PostgreSQL 9.4 beta2
64 bit installer from EDB.

I have managed to get around the getlocale error by copying it over from an
existing install to the temporary folder where the installer extracts the
files. But the install stop at the db initialization phase (initdb). I
know that using the files from my existing 9.2 install will work if copied
over, but this is not ideal. VCRedists (2013) are installed, both 32 bit
and 64 bit

Please investigate.

Regards.

--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-11039-installation-fails-when-trying-to-install-C-redistributable-tp5813004p5813729.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#3Sandeep Thakkar
sandeep.thakkar@enterprisedb.com
In reply to: pjduplooy (#2)
Re: Re: BUG #11039: installation fails when trying to install C++ redistributable

Could you attach the Bitrock installation log (from system temp) here
please?

On Tue, Aug 5, 2014 at 12:58 AM, pjduplooy <pjduplooy@zpanelcp.com> wrote:

Hi guys

I am getting the same error on Window 7 64 bit, using PostgreSQL 9.4 beta2
64 bit installer from EDB.

I have managed to get around the getlocale error by copying it over from an
existing install to the temporary folder where the installer extracts the
files. But the install stop at the db initialization phase (initdb). I
know that using the files from my existing 9.2 install will work if copied
over, but this is not ideal. VCRedists (2013) are installed, both 32 bit
and 64 bit

Please investigate.

Regards.

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/BUG-11039-installation-fails-when-trying-to-install-C-redistributable-tp5813004p5813729.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

--
Sandeep Thakkar

#4Sandeep Thakkar
sandeep.thakkar@enterprisedb.com
In reply to: Sandeep Thakkar (#3)
Re: Re: BUG #11039: installation fails when trying to install C++ redistributable

BTW, in your case the VC++ redist is installed as you said. So, you may try
running the installer on the CMD with "--enable_acledit 1" option that will
edit the ACLs of the installation path if the required permissions does not
exist.

On Tue, Aug 5, 2014 at 12:40 PM, Sandeep Thakkar <
sandeep.thakkar@enterprisedb.com> wrote:

Could you attach the Bitrock installation log (from system temp) here
please?

On Tue, Aug 5, 2014 at 12:58 AM, pjduplooy <pjduplooy@zpanelcp.com> wrote:

Hi guys

I am getting the same error on Window 7 64 bit, using PostgreSQL 9.4 beta2
64 bit installer from EDB.

I have managed to get around the getlocale error by copying it over from
an
existing install to the temporary folder where the installer extracts the
files. But the install stop at the db initialization phase (initdb). I
know that using the files from my existing 9.2 install will work if copied
over, but this is not ideal. VCRedists (2013) are installed, both 32 bit
and 64 bit

Please investigate.

Regards.

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/BUG-11039-installation-fails-when-trying-to-install-C-redistributable-tp5813004p5813729.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

--
Sandeep Thakkar

--
Sandeep Thakkar

#5pjduplooy
pjduplooy@zpanelcp.com
In reply to: Sandeep Thakkar (#4)
Re: BUG #11039: installation fails when trying to install C++ redistributable

Hi Sandeep

Script output:

Script stderr:

Executing
C:\Users\Administrator\AppData\Local\Temp\postgresql_installer_b424dec66a\getlocales.exe
Script exit code: unknown signal

Script output:

Script stderr:
child killed: unknown signal

Error running
C:\Users\Administrator\AppData\Local\Temp\postgresql_installer_b424dec66a\getlocales.exe
: child killed: unknown signal

This is the last entry in the installer log.

If I run for example getlocales.exe directly from the temp folder (where the
installer extracts the files), it does not work, and gives me a child
process died error.

As I said, if you copy the files over from an existing install
(getlocales.exe) etc, that works.

I have just checked an 9.3.5 install and that works.

The --enable_acledit 1 also did not work.

Pieter

--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-11039-installation-fails-when-trying-to-install-C-redistributable-tp5813004p5813796.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#6Noname
rpvoland@spamcop.net
In reply to: pjduplooy (#5)
Re: BUG #11039: installation fails when trying to install C++ redistributable

[Responding to
Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>]

Could you attach the Bitrock installation log (from system temp) here
please?

-----

I attach the Bitrock installation log for the installation of
PostgreSQL 9.4 beta2 on MS-Windows XP (described at the start of this
thread).

-----

Thanks,

Attachments:

bitrock_installer_4940.logtext/plain; charset=ISO-8859-1; name=bitrock_installer_4940.logDownload
#7Sandeep Thakkar
sandeep.thakkar@enterprisedb.com
In reply to: Noname (#6)
Re: Re: BUG #11039: installation fails when trying to install C++ redistributable

Thanks. It looks strange that getlocals.exe does not work even though the
required runtimes are installed. We are unable to reproduce it. Anything in
the event log with respect to getlocals.exe application crash? Does
dependency walker shows the correct dependency on MSVCR120.DLL? Sorry, I
have asl you for these things as it does not reproduce on our machines.

Pieter: you said when you copy the files from existing installation to
temp, the getlocals work fine. What version is that existing installation?
What else files did you copy?

On Wed, Aug 6, 2014 at 3:27 AM, <rpvoland@spamcop.net> wrote:

[Responding to
Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>]

Could you attach the Bitrock installation log (from system temp) here

please?

-----

I attach the Bitrock installation log for the installation of PostgreSQL
9.4 beta2 on MS-Windows XP (described at the start of this thread).

-----

Thanks,

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

--
Sandeep Thakkar

#8pjduplooy
pjduplooy@zpanelcp.com
In reply to: Sandeep Thakkar (#7)
Re: BUG #11039: installation fails when trying to install C++ redistributable

Sandeep

I copied over from a 9.2.9 install. I was not quick enough to copy other
files over from the 9.2 install, because as soon as the installer closes on
the error, the temp folder gets deleted. I then made a quick copy of the
postgres temp install folder, before it was deleted, and I executed each
program, which did not work. I then ran the installer again, and copied all
relevant files over to the temp install folder. The installer then worked,
up to initdb, because I did not copy it over, as I presumed that you can not
initdb a 9.4 db with a 9.2 initdb command.

Pieter

--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-11039-installation-fails-when-trying-to-install-C-redistributable-tp5813004p5813897.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#9Noname
rpvoland@spamcop.net
In reply to: pjduplooy (#8)
Re: BUG #11039: installation fails when trying to install C++ redistributable

The Microsoft visual c++ file downloaded during this install was for
version 2010, yet the progress window for installing this
redistributable indicated version 2013 (but the progress bar never
moves beyond the initial position). This computer already has a
functional version of Microsoft visual c++ 2010. But it appears that
postgresql-9.4-beta2 wants Microsoft visual c++ 2013 (indicated as
"Microsoft.VS.VC_RuntimeAdditionalVSU_x86,v12"), which never gets
installed, and not even downloaded.

I attach "dd_vcredist_x86_20140805160505.log"

Thanks,

Attachments:

dd_vcredist_x86_20140805160505.logtext/plain; charset=ISO-8859-1; name=dd_vcredist_x86_20140805160505.logDownload
#10Noname
rpvoland@spamcop.net
In reply to: Noname (#9)
Re: BUG #11039: installation fails when trying to install C++ redistributable

Correction!

I was wrong. Microsoft Visual c++ 2013 is installed on this computer.
It got installed the first time I tried to install
postgresql-9.4-beta2. I do not see any of the Microsoft log files for
2013 that I see each time postgresql installs, checks, or updates
Microsoft Visual c++ 2010.

I can try uninstalling Microsoft Visual c++ 2013 before making another
attempt to install postgresql-9.4-beta2.

Thanks,

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#11pjduplooy
pjduplooy@zpanelcp.com
In reply to: Noname (#10)
Re: BUG #11039: installation fails when trying to install C++ redistributable

rpvroland

I already uninstalled VC 2013 and reinstalling postgres 9.4 beta 2, no luck.

I even uninstalled vc2013 and running the postgres installer from command
line, activating the option of not installing any vc, but the problem
persists.

Pieter

--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-11039-installation-fails-when-trying-to-install-C-redistributable-tp5813004p5813969.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#12Noname
rpvoland@spamcop.net
In reply to: pjduplooy (#11)
Re: BUG #11039: installation fails when trying to install C++ redistributable

Thanks for the update Pieter.

For what it's worth, I'm attaching all the logs for my latest install
which included a fresh install of vc++ 2013.

Thanks,

Rick

Attachments:

dd_vcredist_x86_20140806165213.logtext/plain; charset=ISO-8859-1; name=dd_vcredist_x86_20140806165213.logDownload
dd_vcredist_x86_20140806165213_0_vcRuntimeMinimum_x86.logtext/plain; charset=ISO-8859-1; name=dd_vcredist_x86_20140806165213_0_vcRuntimeMinimum_x86.logDownload
dd_vcredist_x86_20140806165213_1_vcRuntimeAdditional_x86.logtext/plain; charset=ISO-8859-1; name=dd_vcredist_x86_20140806165213_1_vcRuntimeAdditional_x86.logDownload
bitrock_installer_4964.logtext/plain; charset=ISO-8859-1; name=bitrock_installer_4964.logDownload
#13Sandeep Thakkar
sandeep.thakkar@enterprisedb.com
In reply to: Noname (#12)
Re: Re: BUG #11039: installation fails when trying to install C++ redistributable

OK. Do see anything in the event logs with respect to getlocales.exe
application crash? Also, it would be great if you could check the
dependency of getlocales.exe using dependency walker. Does it depend on
MSVCR120.DLL only? I see that it only depends on MSVCR120.DLL that gets
installed with VC++ redist.

On Thu, Aug 7, 2014 at 3:56 AM, <rpvoland@spamcop.net> wrote:

Thanks for the update Pieter.

For what it's worth, I'm attaching all the logs for my latest install
which included a fresh install of vc++ 2013.

Thanks,

Rick

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

--
Sandeep Thakkar

#14Noname
rpvoland@spamcop.net
In reply to: Sandeep Thakkar (#13)
Re: BUG #11039: installation fails when trying to install C++ redistributable

Thanks for your observations. Does the attached log file from
Dependency Walker provide any answers?

Rick

Attachments:

getlocales.txttext/plain; charset=ISO-8859-1; name=getlocales.txtDownload
#15Sandeep Thakkar
sandeep.thakkar@enterprisedb.com
In reply to: Noname (#14)
Re: Re: BUG #11039: installation fails when trying to install C++ redistributable

This helps. And I get more confused now because as per the log, this is the
dependency list of getlocales.exe from PG 9.3 installdir. Check this line:

--
Program Executable: c:\program
files\postgresql\9.3\installer\server\GETLOCALES.EXE
--

and I thought you said PG9.4 beta2 is not installing. May be when you
install 9.4Beta2 and just before the error, if you could get the dependency
of the getlocales.exe from the system temp where the installer extracts,
then it would be great.

On Fri, Aug 8, 2014 at 2:16 PM, <rpvoland@spamcop.net> wrote:

Thanks for your observations. Does the attached log file from Dependency
Walker provide any answers?

Rick

--
Sandeep Thakkar

#16Noname
rpvoland@spamcop.net
In reply to: Sandeep Thakkar (#15)
Re: BUG #11039: installation fails when trying to install C++ redistributable

Hello Sandeep,

Sorry, you are correct. That log file was for the getlocales.exe file
for postgres-9.3.

I attach a new file from Dependency Walker.

1) I uninstalled postgresql-9.3 and microsoft visual c++ 2013.
2) I attempted a fresh install of postgresql-9.4-beta2.
3) I copied getlocales.txt from the temp folder before the failed
install deleted this file and I copied this getlocales.exe file to a
safe place.
4) (I reinstalled postgres-9.3.) and then rebooted.
5) I generated this attachment from the getlocales.exe that I rescued
from postgresql-9.4.

I hope this is helpful.

Thanks,

Rick

Attachments:

getlocales_9.4_beta2.txttext/plain; charset=ISO-8859-1; name=getlocales_9.4_beta2.txtDownload
#17Sandeep Thakkar
sandeep.thakkar@enterprisedb.com
In reply to: Noname (#16)
Re: Re: BUG #11039: installation fails when trying to install C++ redistributable

Hi

In the log, I see that the error "Failure starting the process. %1 is not a
valid Win32 application (193)." I'm not sure what is causing this because
the dependency looks correct. Can you rerun the installer by changing the
%TEMP% to some simple path.. may be C:\mytemp? Something on the computer is
causing the problem I guess.

On Fri, Aug 8, 2014 at 4:35 PM, <rpvoland@spamcop.net> wrote:

Hello Sandeep,

Sorry, you are correct. That log file was for the getlocales.exe file for
postgres-9.3.

I attach a new file from Dependency Walker.

1) I uninstalled postgresql-9.3 and microsoft visual c++ 2013.
2) I attempted a fresh install of postgresql-9.4-beta2.
3) I copied getlocales.txt from the temp folder before the failed install
deleted this file and I copied this getlocales.exe file to a safe place.
4) (I reinstalled postgres-9.3.) and then rebooted.
5) I generated this attachment from the getlocales.exe that I rescued from
postgresql-9.4.

I hope this is helpful.

Thanks,

Rick

--
Sandeep Thakkar

#18pjduplooy
pjduplooy@zpanelcp.com
In reply to: Sandeep Thakkar (#17)
Re: BUG #11039: installation fails when trying to install C++ redistributable

Hi guys

All sorted.

The install works now.

What I presumed happened was, I installed Postgres 9.2.9, as I use Arcgis,
and then installed PgAdmin 1.20 beta from pgadmin.org. That installer
complained about missing msvcr120.dll, so I downloaded that from the net,
and placed in my c:\windows\system32.

I took a change and deleted that from my folder. Ran the PG 9.4 installer,
and it worked.

Hope this helps somehow.

Thanks for all your trouble Sandeep.

Pieter

--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-11039-installation-fails-when-trying-to-install-C-redistributable-tp5813004p5814217.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

#19Noname
rpvoland@spamcop.net
In reply to: pjduplooy (#18)
Re: BUG #11039: installation fails when trying to install C++ redistributable

Hello Sandeep,

Here's the log. I set the TEMP variable for the administrative
account as you indicated to "c:\mytemp".

Thanks,

Rick

Attachments:

bitrock_installer_4620.logtext/plain; charset=ISO-8859-1; name=bitrock_installer_4620.logDownload
#20ijbalazs
Balazs.Ivan@t-online.hu
In reply to: Noname (#19)
Re: BUG #11039: installation fails when trying to install C++ redistributable

I experience the same phenomenon with the installer
postgresql-9.4.0-1-windows.exe for Win32 on Windows XP (5.1 SP3) Home
Edition (Hungarian). During the installation an error window pops up
complaining about an unknown error while running getlocales.exe. The
absolute path name is given in the error message:
C:\Documents and Settings\iván.BALAZS-ASZTALI\Local
Settings\Temp\postgres_installer_74e04be719\getlocales.exe

While the error window is still there (I have not closed it yet) I wanted to
check the said exe, but the whole folder is missing. I can follow the path
down to Temp, but the referred subfolder does not exist, nor anything
postgres*. No getlocales.exe can be found in any subfolder.

--
View this message in context: http://postgresql.nabble.com/BUG-11039-installation-fails-when-trying-to-install-C-redistributable-tp5813004p5832413.html
Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs