Bug 33663 - Can not install MSI distribution, because "ResolveServerName" fails
Summary: Can not install MSI distribution, because "ResolveServerName" fails
Status: RESOLVED DUPLICATE of bug 26938
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Win32 MSI Installer (show other bugs)
Version: 2.0.53
Hardware: PC Windows 2000
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-20 17:24 UTC by Sergei Zhirikov
Modified: 2007-12-21 21:00 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Zhirikov 2005-02-20 17:24:16 UTC
When trying to install MSI binary distribution of Apache-2.0.53 the installer
says that installation has been interrupted and nothing has been installed. The
MSI log file contains the following fragment:

...
MSI (c) (F4:E8) [16:45:00:765]: Doing action: ResolveServerName
Action start 16:45:00: ResolveServerName.
MSI (c) (F4:50) [16:45:00:765]: Invoking remote custom action. DLL:
C:\USERPR~1\Zhi\LOCALS~1\Temp\MSI17.tmp, Entrypoint: _ResolveServerName@4
MSI (c) (F4:90) [16:45:00:765]: Cloaking enabled.
MSI (c) (F4:90) [16:45:00:765]: Attempting to enable all disabled priveleges
before calling Install on Server
MSI (c) (F4:90) [16:45:00:765]: Connected to service for CA interface.
MSI (c) (F4!4C) [16:45:00:796]: PROPERTY CHANGE: Modifying RESOLVED_WINSOCK2
property. Its current value is '0'. Its new value: '1'.
Action ended 16:45:00: ResolveServerName. Return value 3.
MSI (c) (F4:E8) [16:45:00:843]: Doing action: SetupCompleteError
...

The problem does not appear with Apache-2.0.52.
The OS is Windows 2000 Pro SP4, MSI 3.0. The PC has 2 network interfaces. One is
"Microsoft Loopback Adapter" (used for MS Virtual PC) and the other one is
"real" Wi-Fi CardBus adapter (RaLink RT2500 based). If the CardBus adapter is
ejected (that is when there is only one network interface left) the problem
disappears and installation succeeds.
Comment 1 Alex Karshakevich 2005-06-08 22:11:05 UTC
I had a similar problem, though with a different setup.
NT 4.0 Server SP6, MSI 2.00, Only one ethernet adapter
Installing 2.0.54 from either .msi or .exe installer.

The MSI log showed:
...
MSI (c) (31:1F): Doing action: ResolveServerName
Action start 15:53:27: ResolveServerName.
MSI (c) (31:1F): Creating MSIHANDLE (1) of type 790542 for thread 287
Action ended 15:53:32: ResolveServerName. Return value 3.
MSI (c) (31:1F): Doing action: SetupCompleteError
...

Problem was fixed by editing WINNT/system32/drivers/etc/hosts to add machine's
ip address and name
Comment 2 ssmax 2005-10-11 12:23:33 UTC
i meet this problem too
but after i enable NetBIOS on tcp/ip,the installer work perfectly...
i disable the NetBIOS on tcp/ip to close the port 137
Comment 3 Marc-Henri PAMISEUX 2005-10-24 10:47:13 UTC
I've got the same problem using a different plateform. I am using Windows XP SP2
and NetBIOS on tcp/ip was enable on my PC.
I've realize that ResolveServerName is searching the name of my workstation.

So I've edit C:\WINNT\System32\drivers\etc\hosts and i add my PC name in that
file, as an alias of 127.0.0.1 localhost.
But that didn't works.
So, i've disabled my ethernet connexion because i've got no DNS configured on
it. I restart Apache-2.0.55 installer and all work fine.
After installing Apache2, i've enable my ethernet connexion and all was ok.

I think Apache2 installer need first a DNS server instead of using the hosts
file first...
Comment 4 Lorenzo 2007-02-19 16:37:04 UTC
Had same problem too. XP SP2, all version of apache.xxx.msi failed right at
start. From msiexec log I found a problem related to binding tcp socket
(ResolveServerName). I had multiple network cards (physical and virtual).
Disabled all network cards but one... then launched .msi file and all worked
fine. re-enabled all network cards and no problem at all.

BTW: Same problem if another application is already using port 80. watch for IIS
service...
Comment 5 William A. Rowe Jr. 2007-12-21 21:00:30 UTC

*** This bug has been marked as a duplicate of 26938 ***