Impossible to install siteminder on Apache 2.4.x Redhat 7.5

book

Article ID: 197032

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On Agents (SiteMinder) CA Single Sign On Federation (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) SITEMINDER

Issue/Introduction

 

We're installing a Web Agent with Apache on Linux machine, and the
wizard can't see the Web Server Apache 2.4.

How can we make it detecting the Apache installation ?

 

Cause

 

We've installed the Web Agent 12.52SP1CR07 64bit
on 2.4.25 from RedHat, and here is the steps we followed :

Installing these files on CentOS 7

  ca-wa-12.52-sp01-cr07-linux-x86-64.bin
on
  httpd24-httpd-2.4.25-9.el7.x86_64.rpm

Install the following rpm (you might have to change the order !)

# rpm -Uvh policycoreutils-python-2.5-17.1.el7.x86_64.rpm
# rpm -Uvh audit-libs-python-2.7.6-3.el7.x86_64.rpm
# rpm -Uvh checkpolicy-2.5-4.el7.x86_64.rpm
# rpm -Uvh python-IPy-0.75-6.el7.noarch.rpm
# rpm -Uvh setools-libs-3.3.8-1.1.el7.x86_64.rpm
# rpm -Uvh libcgroup-0.41-13.el7.x86_64.rpm
# rpm -Uvh libsemanage-python-2.5-8.el7.x86_64.rpm
# rpm -Uvh httpd24-runtime-1.1-18.el7.x86_64.rpm
# rpm -Uvh scl-utils-20130529-17.el7_1.x86_64.rpm
# rpm -Uvh httpd24-runtime-1.1-18.el7.x86_64.rpm
# rpm -Uvh httpd24-libnghttp2-1.7.1-6.el7.x86_64.rpm
# rpm -Uvh httpd24-httpd-tools-2.4.25-9.el7.x86_64.rpm
# rpm -Uvh httpd24-httpd-2.4.25-9.el7.x86_64.rpm
# rpm -Uvh httpd24-httpd-manual-2.4.25-9.el7.noarch.rpm

Apache will be installed by default here :

  /opt/rh/httpd24/root/etc/httpd/

Test that the Apache server runs fine

# service httpd24-httpd configtest
# service httpd24-httpd start
# ps auxww | grep httpd

  root 7211 0.0 0.3 264764 6656 ? Ss 10:49 0:00 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND
  apache 7212 0.0 0.2 281156 3856 ? Sl 10:49 0:00 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND
  [...]

Then run the Web Agent installer as root :

# ./ca-wa-12.52-sp01-cr07-linux-x86-64.bin -i console

Pre-Installation Summary
------------------------
Please Review the Following Before Continuing:
Product Name:

CA SiteMinder Web Agent

Install Folder:

  /opt/CA/webagent

Disk Space Information (for Installation Target):

  Required: 416,008,316 Bytes
  Available: 2,834,628,608 Bytes

Congratulations. CA SiteMinder Web Agent has been successfully installed to:

  /opt/CA/webagent

To configure the web agent, run the command

  /opt/CA/webagent/install_config_info/ca-wa-config.bin

And I run the configurator that way :

# source /opt/CA/webagent/ca_wa_env.sh
# /opt/CA/webagent/install_config_info/ca-wa-config.bin -i console

===============================================================================
Select Web Server(s)
--------------------
Select which Web Server(s) you want to configure as a Web Agent.
You will have to enter a path for each selected web server.
Note: If you have an Apache-based Web server, please select the Apache Web
Server option.

1- Apache Web Server
2- Domino Web Server
->3- iPlanet or Sun ONE Web Server

ENTER A COMMA-SEPARATED LIST OF NUMBERS REPRESENTING THE DESIRED CHOICES, OR
PRESS <ENTER> TO ACCEPT THE DEFAULT: 1

===============================================================================
Apache Web Server path
----------------------
Enter the root path of where Apache Web server installed.
Please enter path (Default: ): /opt/rh/httpd24/root/etc/httpd/

===============================================================================
Apache Version
--------------
Please select a choice for the Apache version.
1- Apache version 1.x
2- Apache version 2.x
3- Apache version 2.2.x
4- Apache version 2.4.x
ENTER THE NUMBER OF THE DESIRED CHOICE: 4

===============================================================================
Apache Server Type
------------------
Please select one of the following appropriately match your previous selection
1- Oracle HTTP Server
2- IBM HTTP Server
3- HP Apache
4- ASF/RedHat Apache
5- RedHat JWS HTTP Server
ENTER THE NUMBER OF THE DESIRED CHOICE: 4

===============================================================================
Select Web Server(s)
--------------------
1- [] Apache 2.4.6
Select the web server(s) you wish to preserve or configure/reconfigure as
Web Agent(s). Enter a comma-separated list of numbers representing the
desired choices. Already configured web servers are marked as [x] in the
above list, you can un-configure or skip these web servers in next steps by
not listing them in comma-separated list here.: 1
Congratulations! CA SiteMinder Web Agent Configuration has been successfully
configured.

Check that Web Agent is configured on the right Apache server
Check that the httpd.conf has been configured :

# less /opt/rh/httpd24/root/etc/httpd/conf/httpd.conf

# LoadModule foo_module modules/mod_foo.so

  LoadModule sm_module "/opt/CA/webagent/bin/libmod_sm24.so"
  SmInitFile "/opt/rh/httpd24/root/etc/httpd//conf/WebAgent.conf"

Check that the WebAgent.conf file is correctly set :

# less /opt/rh/httpd24/root/etc/httpd/conf/


# WebAgent.conf - configuration file for SiteMinder Web Agent
# Web Agent Version = 12.52, Build = 2259, Update = 1.7

  LOCALE=en-US
  #agentname="<AgentName>, <IPAddress>"
  HostConfigFile="/opt/CA/webagent/config/SmHost.conf"
  AgentConfigObject="casino"
  EnableWebAgent="NO"
  ServerPath="/opt/rh/httpd24/root/etc/httpd//conf"
  #localconfigfile="/opt/rh/httpd24/root/etc/httpd//conf/LocalConfig.conf"
  LoadPlugin="/opt/CA/webagent/bin/libHttpPlugin.so"

Add the env variables to the httpd config file to get the
apache with the Web Agent running

# nano -w /opt/rh/httpd24/root/etc/sysconfig/httpd

  NETE_WA_ROOT=/opt/CA/webagent
  NETE_WA_PATH=/opt/CA/webagent/bin
  CAPKIHOME=/opt/CA/webagent/CAPKI
  LD_LIBRARY_PATH=/usr/lib64:/opt/CA/webagent/bin:/opt/CA/webagent/bin/thirdparty
  PATH=/opt/CA/webagent/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

Start the Apache server with the Web Agent :

# service httpd24-httpd stop
# service httpd24-httpd start
# ps auxww

  root 20155 0.0 0.5 303772 9840 ? Ss 12:26 0:00 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND
  apache 20167 0.4 0.9 316052 17896 ? Ssl 12:26 0:01 LLAWP /opt/rh/httpd24/root/etc/httpd//conf/
  WebAgent.conf -APACHE24
  apache 20187 0.0 0.2 320300 4284 ? Sl 12:26 0:00 /opt/rh/httpd24/root/usr/sbin/httpd -DFOREGROUND
  [...]

 

Environment

 

  Web Agent 12.51 64bit on Apache 2.4.27 64bit on RedHat 7;

 

Resolution

 

Make sure that :

- Web Agent and httpd are both 64 bit;
- The path where you have installed RedHat httpd is the correct one you gave to the configurator;