[JIRA] Commented: (SSPCPP-499) Fresh Installation on Windows XP fails after service daemon fails to start
Scott Cantor (JIRA)
noreply at shibboleth.net
Mon Sep 10 11:45:21 EDT 2012
[ https://issues.shibboleth.net/jira/browse/SSPCPP-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14370#comment-14370 ]
Scott Cantor commented on SSPCPP-499:
-------------------------------------
I observe the problem on XP (English) without a pending restart, so it's a bug in the Windows Installer layer. It's been observed by people on the Wix list on more recent versions of Windows, but it seems clear we can't fix it ourselves.
We could eliminate the check that waits for the service to start up I suppose, but for now I'm inclined to leave it so we can collect additional information on what systems might be affected and I'll just document the problem.
> Fresh Installation on Windows XP fails after service daemon fails to start
> --------------------------------------------------------------------------
>
> Key: SSPCPP-499
> URL: https://issues.shibboleth.net/jira/browse/SSPCPP-499
> Project: Shibboleth SP - C++
> Issue Type: Bug
> Components: Installation / Packaging
> Affects Versions: 2.5.0
> Environment: Windows XP Pro SP3 (Czech), IIS5
> Reporter: pavelxkrejci at idp.protectnetwork.org
> Assignee: Scott Cantor
> Priority: Minor
> Attachments: MSI3d01c.LOG
>
>
> Symptoms:
> After "Starting services" the installer rolls everything back with general error message "...Setup Wizard ended prematurely because of an error. Your system has not been modified." In system log there is error id 7009 (Timeout for shibboleth 2 Daemon) repeated 7 times.
> Problem:
> The problem is caused by 2 circumstances:
> 1. The installation relies on starting the service daemon (shibd.exe) during installation to succesfully finish installation.
> 2. The installer updates the %PATH% during installation, but it can't immediately update it's instances in all running processes. The updated dll path (%PATH%), which shibd.exe needs to start is reliably updated only after reboot OR slightly less reliably when the installation completes and the installer sends WM_SETTINGCHANGE message. This message however is not sent if restart of the system is pending. See:
> http://msdn.microsoft.com/en-us/library/windows/desktop/aa372883(v=vs.85).aspx
> I have observed this only on Win XP.
> Workaround:
> Add the shibboleth library path (typically C:\ProgramFiles\Shibboleth\SP\lib) to system %PATH% manually and reboot before starting the installation.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list