Unable to start Agent with error Cannot load /opt/apache/ca/webagent/bin/libmod_sm24.so into server
search cancel

Unable to start Agent with error Cannot load /opt/apache/ca/webagent/bin/libmod_sm24.so into server

book

Article ID: 278675

calendar_today

Updated On:

Products

SITEMINDER

Issue/Introduction

When trying to start a WebAgent, this error is seen:

httpd: Syntax error on line 150 of /opt/apache/conf/httpd.conf: Cannot load  /opt/SiteMinder/webagent/bin/libmod_sm24.so into server: libsmerrlog.so: cannot open shared object file: No such file or directory

Environment

Applicable to SMWA

Version: 12.52 SP1 CR11

Environment: RHEL7

 

Cause

The libmod_sm24.so is failing to load because a dependency is not found, in this case, libsmerrlog.so.

Resolution

Use the ldd command to confirm which dependencies are not found or found.

Example when not found:

# ldd /opt/SiteMinder/webagent/bin/libmod_sm24.so
        linux-vdso.so.1 =>  (0x00007ffcd63df000)
        libsmerrlog.so => not found

Typically this means the environment variables were not sourced.

# source  /opt/SiteMinder/webagent/ca_wa_env.sh

Now the ldd should be successful and the WebAgent can start.

Example when found:

# ldd /opt/SiteMinder/webagent/bin/libmod_sm24.so
        linux-vdso.so.1 =>  (0x00007ffea4e35000)
        /opt/SiteMinder/webagent/bin/libbtunicode.so (0x00007f73a1889000)
        libsmerrlog.so => /opt/SiteMinder/webagent/bin/libsmerrlog.so (0x00007f73a2022000)