Not able to configure the apache webagent with Error "cannot open shared object file: No such file or directory"

book

Article ID: 8154

calendar_today

Updated On:

Products

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

Issue/Introduction

Attempting to Execute the Agent configuration Silently using -i console on Redhat results in the below Exception 

Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX) 

Stack Trace: 
java.lang.UnsatisfiedLinkError: /tmp/install.dir.27247/Linux/resource/jre/lib/i386/xawt/libmawt.solibXext.so.6: cannot open shared object file: No such file or directory 
at java.lang.ClassLoader$NativeLibrary.load(Native Method) 
at java.lang.ClassLoader.loadLibrary0(Unknown Source) 
at java.lang.ClassLoader.loadLibrary(Unknown Source) 
at java.lang.Runtime.load0(Unknown Source) 
at java.lang.System.load(Unknown Source) 

Environment

Redhat Aapche web serverAgent for Apache

Resolution

This Error can be caused by he Installer attempting to load the X11 libraries (libXext) if the DISPLAY Environment Variable is set within the session the agent Configuration is being executed from.

Un-setting the DISPLAY env variable from the session and Insuring the Agent Variables with LD_LIBRARY_PATH is set properly will result in a successful execution.