SiteMinder WA 12.5x + Apache 2.4/2.2 (x64) support on Windows

Document ID : KB000028710
Last Modified Date : 30/05/2018
Show Technical Document Details
Introduction:

Description:

New certification for SiteMinder Webagent for Apache 2.4 running on Windows 2008

Solution:

NOTE: Prerequisite while using Apache 2.4/2.2 (x64) with any version of Siteminder WebAgent (x64)

Visual Studio should be present locally or you should have a copy of editbin.exe usually available with Visual studio installer.

 

Section 1: This section is applicable only when Siteminder WebAgent 12.5x is used

SCENARIO I : Apache 2.4/2.2 is installed on system but not configured

  1. On Select Web Server(s) page, “Apache WebServer” is shown, and although apache 2.0, 2.2 may be installed, won’t be displayed on this page.
  2. If ‘Apache WebServer’ is selected, a complete list of Apache Web Servers detected on server is displayed, along with an explicit checkbox for Apache 2.4.x,
  3. Select the checkbox if Apache 2.4 is installed on server, this is required since Apache 2.4 runs only as a service and no Registry Entry Is present for it.
  4. On proceeding with the selecting the aforementioned checkbox, you will be redirected to enter apache 2.4 root location on “Apache 2.4.x Install Location” panel.
  5. At this point installer will execute httpd –v in background referring to entered path and fetch exact Apache version (eg 2.4.9 ). Verify this info being present in header on next (Enter ACO) panel. 

 

SCENARIO II : Reconfiguration/Unconfiguration of Apache 2.2/2.4 WebServer.

  1. On Select Web Server(s) page, “Apache WebServer” is shown, and although apache 2.0, 2.2 may be installed, won’t be displayed on this page.
  2. If ‘Apache WebServer’ is selected, a complete list of Apache Web Servers detected on server is displayed. If Apache 2.4 was configured using SCENARIO I, A correct Version of Apache 2.4.x will be displayed(eg Apache 2.4.9)
  3. Proceed with keeping the checkbox selected for re-configuration , deselect it to proceed with un-configuration.

 

Annexure:

Troubleshoot Apache 2.2/2.4. start failure after Webagent installation.

Apache Web Server fails to start while loading Siteminder module mod_sm24, and following error message appears in Windows event viewer.

Faulting application name: httpd.exe, version: 2.4.9.0, time stamp: 0x5326d7a4

Faulting module name: mod_sm24.dll, version: 12.5.4.914, time stamp: 0x5379ded8

Exception code: 0xc00000fd

Faulting application path: C:\Apache24\bin\httpd.exe

Faulting module path: C:\Program Files\CA\webagent\win64\bin\mod_sm24.dll

 

Follow the steps below to resolve the error:

  1. If Visual Studio is unavailable a standalone editbin.exe can be downloaded from http://people.sju.edu/~ggrevera/cscCV/stack/eb.zip, cd to Apache 2.4 Install Directory/bin and execute  ‘editbin /STACK:524288 httpd.exe’ 
  2. If Visual Studio is present locally, open the Visual Studio command prompt, cd to Apache 2.4 Install Directory/bin and execute  ‘editbin /STACK:524288 httpd.exe
  3. If Visual Studio is present remotely at another server, copy httpd.exe from Apache 2.4 Install Directory/bin to that machine, cd to the location copied to in Visual Studio and got command Prompt and execute ‘editbin /STACK:524288 httpd.exe

  Copy the httpd.exe back to the bin folder on Apache 2.4 Server Machine

NOTE:   Apache WebServer should be down during this operation. 

Location of Visual Studio Command Prompt is  All Programs >  Microsoft Visual Studio 20xx > Visual Studio Tools > Visual Studio x64 Win64 Command Prompt

   

Root cause for Apache execution failure: After configuration, Apache Web Server fails to start while loading Siteminder module mod_sm24, and shows following error message in Windows eventviewer.

Faulting application name: httpd.exe, version: 2.4.9.0, time stamp: 0x5326d7a4

Faulting module name: mod_sm24.dll, version: 12.5.4.914, time stamp: 0x5379ded8

Exception code: 0xc00000fd

Faulting application path: C:\Apache24\bin\httpd.exe

Faulting module path: C:\Program Files\CA\webagent\win64\bin\mod_sm24.dll

This error comes because the stack reserve space for httpd.exe present in Apache 2.4 Install location/conf/ is 40000(hex) for both 32 and 64 bit binaries. (Verify this by executing ‘dumpbin /HEADERS httpd.exe’ in VisualStudio command prompt)

This ideally should be 80000(hex) for a 64 bit binary, in order for Siteminder module to work.

Instructions:
Please Update This Required Field