Apache 2.x fails to start after configuring the RSA Authentication Agent 8.0 for Web for Apache
2 years ago
Originally Published: 2016-04-08
Article Number
000064637
Applies To
RSA Product Set : SecurID
RSA Product/Service Type : Authentication Agent for Web for Apache
RSA Version/Condition: 8.0
Platform : Red Hat Enterprise Linux
O/S Version : 6.x

 
Issue
The Apache 2.x server error log file (error_log) reports a DSO load failure.  For example:
 
[Fri Apr 08 15:30:04.177613 2016] [:error] [pid 4064:tid 140189449340672] (20019)DSO load failed:
/usr/local/apache2/rsawebagent/librsawa_apache.so
Cause
Using the command ldd allows an administrator to see what dependent libraries are missing in association to library mentioned in the DSO load failure.

In this example the library is called librsawa_apache.so.  The output shows that libxerces-c-3.1.so was not found.
 
[root@redhat65 rsawebagent]# ldd librsawa_apache.so
linux-vdso.so.1 => (0x00007fff397ff000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x00007f2c9a077000)
libxerces-c-3.1.so => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2c99e59000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f2c99b53000)
libm.so.6 => /lib64/libm.so.6 (0x00007f2c998cf000)
libc.so.6 => /lib64/libc.so.6 (0x00007f2c9953a000)
/lib64/ld-linux-x86-64.so.2 (0x0000003997a00000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f2c99324000)
[root@redhat65 rsawebagent]#
Resolution
On page 18 of the RSA Authentication Agent 8.0 for Web for Apache Web Server Installation and Configuration Guide, step 11 states that a Linux environment variable must be set called LD_LIBRARY_PATH.  
  1. Check the LD_LIBRARY_PATH environment variable has been set up correctly so the Apache 2.x web server can locate the library libxerces-c-3.1.so.

The library libxerces-c-3.1.so resides in the <APACHE_HOME>/rsawebagent folder.

  1. Restart the Apache 2.x web server and review the Apache error log for further messages.