Issue:
Not able to launch Smconsole through command line
Environment:
R12.0, R12.5, R12.51, R12.52
Cause:
Smconsole is not getting started when trying to open ./smconsole, it is giving below error:
[[email protected] siteminder]$ smconsole
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/java/jre1.6.0_39/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open
Resolution:
The SiteMinder Policy Server is supported as a 32-bit application that can run on the following 64-bit Operating Systems:
Solaris 10 Sparc 64-bit and Red Hat 5, 6 64-bit.
Checked on another server, which was running RedHat 5.5 32-bit and found the libXtst.so file:
[email protected]xxxxxx# find . -name libXtst.*
./usr/lib/libXtst.so.6
./usr/lib/libXtst.so.6.1.0
looking at the RedHat 6 64-bit server it looks like this:
[email protected]# find . -name libXtst.*
./usr/lib64/libXtst.so.6.1.0
./usr/lib64/libXtst.so.6
So, it looks like the 32-bit java is looking for a 32-bit X11 file which of course doesn't exits since, it is a 64-bit Operating System.
Run the following command:
1) yum install libXtst.i686
2) To update the server libraries use "updatedb" command
3) After this required libraries for java 32-bit will be installed.
4) Try to access the smconsole now.