Hi Adam,
thanks for your reply.
We have Oracle HTTP Server 12c (12.2.1) 64bit (Apache 2.4 like engine) and it seems supported.
When I start OHS with "oracle" user without sm_module in httpd.conf:
root 14929 1 0 22:43 ? 00:00:00 /app/oracle/product/12.2.1/wlserver/../ohs/bin/httpd -DOHS_MPM_EVENT -d /app/oracle/config/domains/base_domain/config/fmwconfig/components/OHS
root 14930 14929 0 22:43 ? 00:00:00 /app/oracle/product/12.2.1/wlserver/../ohs/bin/odl_rotatelogs -l /app/oracle/config/domains/base_domain/servers/OHS1/logs/OHS1-%Y%m%d%H%M%S.lo
root 14931 14929 0 22:43 ? 00:00:00 /app/oracle/product/12.2.1/wlserver/../ohs/bin/odl_rotatelogs /app/oracle/config/domains/base_domain/servers/OHS1/logs/access_log 43200
root 14932 14929 0 22:43 ? 00:00:00 /app/oracle/product/12.2.1/wlserver/../ohs/bin/odl_rotatelogs /app/oracle/config/domains/base_domain/servers/OHS1/logs/admin_log 43200
root 14933 14929 0 22:43 ? 00:00:00 /app/oracle/product/12.2.1/wlserver/../ohs/bin/odl_rotatelogs -l -h:/app/oracle/config/domains/base_domain/config/fmwconfig/components/OHS/ins
oracle 14934 14929 0 22:43 ? 00:00:00 /app/oracle/product/12.2.1/wlserver/../ohs/bin/httpd -DOHS_MPM_EVENT -d /app/oracle/config/domains/base_domain/config/fmwconfig/components/OHS
oracle 14935 14929 0 22:43 ? 00:00:00 /app/oracle/product/12.2.1/wlserver/../ohs/bin/httpd -DOHS_MPM_EVENT -d /app/oracle/config/domains/base_domain/config/fmwconfig/components/OHS
oracle 14937 14929 0 22:43 ? 00:00:00 /app/oracle/product/12.2.1/wlserver/../ohs/bin/httpd -DOHS_MPM_EVENT -d /app/oracle/config/domains/base_domain/config/fmwconfig/components/OHS
oracle 14939 14929 0 22:43 ? 00:00:00 /app/oracle/product/12.2.1/wlserver/../ohs/bin/httpd -DOHS_MPM_EVENT -d /app/oracle/config/domains/base_domain/config/fmwconfig/components/OHS
The parent process start with "root" user to bind the service on privileged port (4 Running Oracle HTTP Server ).
Library libmod_sm24.so is proper loaded for root and oracle user, both users have sm env variables:
export NETE_WA_ROOT=/app/CA/webagent
export NETE_WA_PATH=${NETE_WA_ROOT}/bin
export CAPKIHOME=/app/CA/webagent/CAPKI
export LD_LIBRARY_PATH=${NETE_WA_ROOT}/bin:${NETE_WA_ROOT}/bin/thirdparty:${LD_LIBRARY_PATH}
export PATH=${NETE_WA_PATH}:${PATH}
The same env variables are configured into ohs.plugins.nodemanager.properties file ( F Property Files ) and are loaded when OHS start:
[oracle@xxxxxxxx OHS1]$ more /app/oracle/config/domains/base_domain/servers/OHS1/logs/lastinvocation.log
PATH=/app/CA/webagent/bin:/app/oracle/product/12.2.1/wlserver/../ohs/bin:/app/oracle/product/12.2.1/wlserver/../bin:/bin:/usr/bin:/usr/local/bin; export PATH
NETE_WA_ROOT=/app/CA/webagent; export NETE_WA_ROOT
ORA_NLS33=/app/oracle/product/12.2.1/wlserver/../nls/data; export ORA_NLS33
TNS_ADMIN=/app/oracle/product/12.2.1/wlserver/../network/admin; export TNS_ADMIN
LD_LIBRARY_PATH=/app/oracle/product/12.2.1/wlserver/../ohs/lib:/app/oracle/product/12.2.1/wlserver/../lib:/app/oracle/product/12.2.1/wlserver/../oracle_common/lib:/app/CA/webagent/bin:/app/C
A/webagent/bin/thirdparty; export LD_LIBRARY_PATH
PRODUCT_HOME=/app/oracle/product/12.2.1/wlserver/../ohs; export PRODUCT_HOME
SHELL=/bin/bash; export SHELL
COMPONENT_TYPE=OHS; export COMPONENT_TYPE
OHS_ALLOW_COREFILES=no; export OHS_ALLOW_COREFILES
LIBPATH=/app/oracle/product/12.2.1/wlserver/../ohs/lib:/app/oracle/product/12.2.1/wlserver/../lib:/app/oracle/product/12.2.1/wlserver/../oracle_common/lib; export LIBPATH
COMMON_COMPONENTS_HOME=/app/oracle/product/12.2.1/wlserver/../oracle_common; export COMMON_COMPONENTS_HOME
NETE_WA_PATH=/app/CA/webagent/bin; export NETE_WA_PATH
COMPONENT_CONFIG_PATH=/app/oracle/config/domains/base_domain/config/fmwconfig/components/OHS/instances/OHS1; export COMPONENT_CONFIG_PATH
LANG=en_US.UTF-8; export LANG
OHS_UMASK=0027; export OHS_UMASK
ORACLE_HOME=/app/oracle/product/12.2.1/wlserver/..; export ORACLE_HOME
COMPONENT_NODEMANAGER_STATE_FILE=/app/oracle/config/domains/base_domain/servers/OHS1/logs/ohs.state; export COMPONENT_NODEMANAGER_STATE_FILE
PERL5LIB=/app/oracle/product/12.2.1/wlserver/../perl/lib/5.10.0:/app/oracle/product/12.2.1/wlserver/../perl/lib/site_perl/5.10.0:/app/oracle/product/12.2.1/wlserver/../ohs/mod_perl/lib; expo
rt PERL5LIB
COMPONENT_NAME=OHS1; export COMPONENT_NAME
COMPONENT_LOG_PATH=/app/oracle/config/domains/base_domain/servers/OHS1/logs; export COMPONENT_LOG_PATH
ORACLE_INSTANCE=/app/oracle/config/domains/base_domain; export ORACLE_INSTANCE
NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1; export NLS_LANG
X_LD_LIBRARY_PATH_64=/app/oracle/product/12.2.1/wlserver/../ohs/lib:/app/oracle/product/12.2.1/wlserver/../lib:/app/oracle/product/12.2.1/wlserver/../oracle_common/lib:/app/CA/webagent/bin:/
app/CA/webagent/bin/thirdparty; export X_LD_LIBRARY_PATH_64
/app/oracle/product/12.2.1/wlserver/../ohs/bin/launch httpd -DOHS_MPM_EVENT -d /app/oracle/config/domains/base_domain/config/fmwconfig/components/OHS/instances/OHS1 -k start -f /app/oracle/c
onfig/domains/base_domain/config/fmwconfig/components/OHS/instances/OHS1/httpd.conf
Httpd script is a binary file and I can't edit it, Web Agent home directory and /app/oracle/config/domains/base_domain/config/fmwconfig/components/OHS/instances/OHS1/ (path where are stored webagent.conf and httpd.conf) are full accessible by oracle user.
Any ideas Adam?
Thanks in advance.