Shibboleth SP 3.2.3.1 fails to run in Windows 2016 server + IIS 10

Patrick Wong (ITSC) patrick-wong at cuhk.edu.hk
Thu Aug 19 10:03:21 UTC 2021


Dear Rod,

Thank you for your prompt reply. 

For "data" mentioned in Event log, I guess it refer to the  following  :

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Microsoft-Windows-IIS-W3SVC-WP" Guid="{670080D9-742A-4187-8D16-41143D1290BD}" EventSourceName="W3SVC-WP" /> 
  <EventID Qualifiers="49152">2293</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2021-08-19T08:31:26.197391500Z" /> 
  <EventRecordID>22374</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="0" ThreadID="0" /> 
  <Channel>Application</Channel> 
  <Computer>????</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data Name="ModuleDll">ShibNative</Data> 
  <Data Name="Path">C:\opt\shibboleth-sp\lib64\shibboleth\iis7_shib.dll</Data> 
  <Binary>05400080</Binary> 
  </EventData>
  </Event>

Following are my other update :

	- Verify that shibd is running and starts cleanly
	- Check the (shibboleth) EV entries and any other logging

-> It's a new installation and all logs are normal.

	- Check that there isn't some other extraneous configuration error in IIS (eyeball the applicationHost.config file)

-> Any suggestion  on how to "debug" potential issue in applicationHost.config file ?  What I can say is if I comment out the following lines in applicationHost.config the Application Pool won't down :

    <add name="ShibNative32" image="C:\opt\shibboleth-sp\lib\shibboleth\iis7_shib.dll" preCondition="bitness32" />
    <add name="ShibNative" image="C:\opt\shibboleth-sp\lib64\shibboleth\iis7_shib.dll" preCondition="bitness64" />


	- Leaving the install in place disable and reenable the IIS7 module

->  It doesn't help.

Best Regards,
Patrick
-----Original Message-----
From: users <users-bounces at shibboleth.net> On Behalf Of Rod Widdowson
Sent: Thursday, August 19, 2021 4:57 PM
To: 'Shib Users' <users at shibboleth.net>
Subject: RE: Shibboleth SP 3.2.3.1 fails to run in Windows 2016 server + IIS 10

> The Module name ShibNative path C:\opt\shibboleth-sp\lib64\shibboleth\iis7_shib.dll returned an error from registration.  The data
is the error.

What does the data say ?

>  What should we do to fix this case ?

Some random thoughts:

	- Verify that shibd is running and starts cleanly
	- Check the (shibboleth) EV entries and any other logging
	- Check that there isn't some other extraneous configuration error in IIS (eyeball the applicationHost.config file)
	- Leaving the install in place disable and reenable the IIS7 module

My go to tool in these cases is always procrun, but that is because of my background so I am leery of recommending it to others.

-- 
For Consortium Member technical support, see https://shibboleth.atlassian.net/wiki/x/ZYEpPw
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net


More information about the users mailing list