Configuration Oracle HTTP webserver manual steps
search cancel

Configuration Oracle HTTP webserver manual steps

book

Article ID: 36935

calendar_today

Updated On:

Products

CA Single Sign On Secure Proxy Server (SiteMinder) CA Single Sign On SOA Security Manager (SiteMinder) CA Single Sign-On

Issue/Introduction

PROBLEM

Installed and ran configuration wizard R12.0 SP3 CR 11 on AIX OS for Oracle http server.  The server will no longer start errors reported are below

Resolution

Configuration wizard BUG, the issue is addressed in a later version, the manual steps are outlined below

Configuration Oracle HTTP webserver manual steps

WebAgent configuration for R12.0 Sp3 CR12 does not properly configure the webserver to allow it start apachectl and opmn.xml

Installed Webagent unable to start webserver with agent enabled - support reproduce issue
Env:
OS: AIX 6 64 bit
Webserver: OHS 2.2 64 bit
Agent: 12.0-sp3-cr012-aix64

NOTE:  Fixed in 12.52-common build 5052 and R12.51 CR01


Configuration BUG 1  - Initials install configuration failed - unable to start webserver
--------
16/01/22 08:23:07 Start process
--------
/home/apache/Middleware/Oracle_WT1/ohs/bin/apachectl startssl: execing httpd
httpd.worker: Syntax error on line 206 of /home/apache/Middleware/Oracle_WT1/instances/instance1/config/OHS/ohs1/httpd.conf: Cannot load /home/apache/CA/webagent/bin/libmod_sm22.so into server: Could not load module /home/apache/CA/webagent/bin/libmod_sm22.so.\n\tDependent module libsmerrlog.so could not be loaded.\nCould not load module libsmerrlog.so.\nSystem error: No such file or directory\nCould not load module /home/apache/CA/webagent/bin/libmod_sm22.so.\n\tDependent module /home/apache/CA/webagent/bin/libmod_sm22.so could not be loaded.

Configuration needs to modified apachectl script adding the webagent bin to the LIBPATH
/home/apache/Middleware/Oracle_WT1/ohs/bin

LIBPATH=/home/apache/CA/webagent/bin:$ORACLE_HOME/ohs/lib:$ORACLE_HOME/opmn/lib:$ORACLE_HOME/lib:$LIBPATH: export LIBPATH

Configuration - LLAWP does not start

/home/apache/Middleware/Oracle_WT1/ohs/bin/apachectl startssl: execing httpd
[Fri Jan 22 08:57:31 2016] [warn] Errors will be logged into /home/apache/Middleware/Oracle_WT1/instances/instance1/diagnostics/logs/OHS/ohs1/ohs1.log
[Fri Jan 22 08:57:32 2016] [warn] Errors will be logged into /home/apache/Middleware/Oracle_WT1/instances/instance1/diagnostics/logs/OHS/ohs1/ohs1.log
CSmLowLevelAgent: No such file or directory
[22/Jan/2016:08:57:32] [Error] SiteMinder Agent
        Failed to Start the LLAWP process.
        Execlp failed: 'No such file or directory'. LLAWP.exe must be callable from the system path.
Audit init

Configuration needs to modified opmn.xml file to include webagent environment information 
Location: ORACLE_HOME/Oracle_WT1/instances/instance1/config/OPMN/opmn

 <environment>
           <variable id="TEMP" value="/tmp"/>
           <variable id="TMP" value="/tmp"/>
     <variable id="NETE_WA_PATH" value="/home/apache/CA/webagent/bin"/>
     <variable id="NETE_WA_ROOT" value="/home/apache/CA/webagent"/>
        <variable id="PATH" value="$NETE_WA_PATH:$PATH"/>
        <variable id="ETPKIHOME" value="/home/apache/CA/webagent/ETPKI"/>
        <variable id="LIBPATH" value="/local/apps/fmw/webagent/bin:/home/apache/CA/webagent/ETPKI/lib: /home/apache/CA/webagent/ETPKI:$LIBPATH:"/>
        </environment>

NOTE for newer version ETPKI is changed to (R12.51/R12.52 and above)
<variable id="CAPKIHOME " value="/home/apache/CA/webagent/CAPKIHOME"/>

Environment

Release:
Component: SMAPC