[JIRA] Created: (SSPCPP-499) Fresh Installation on Windows XP fails after service daemon fails to start

pavelxkrejci@idp.protectnetwork.org (JIRA) noreply at shibboleth.net
Mon Sep 10 06:11:21 EDT 2012


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