Hi,
I'm fairly new to FDS and was going thru the manual on configuring
encryption for the Administration and Directory Servers. The problem
begins after configuring SSL for the Admin Server and restarting the
console. Attempts to start the console yielded this Java exception
listed below. I've read in previous threads where there was a mismatch
between the lib and the Java version but in this case, both are 64bit.
[root@brpswg01 fedora-ds]# ./startconsole -u admin -a
https://`hostname`:43811
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/opt/app/fedora-ds/lib/libjss3.so: Can't load AMD 64-bit .so on a AMD
64-bit platform
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.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at
org.mozilla.jss.CryptoManager.loadNativeLibraries(CryptoManager.java:133
0)
at
org.mozilla.jss.CryptoManager.initialize(CryptoManager.java:822)
at
org.mozilla.jss.CryptoManager.initialize(CryptoManager.java:795)
at
com.netscape.management.client.util.UtilConsoleGlobals.initJSS(Unknown
Source)
at
com.netscape.management.client.comm.HttpsChannel.<clinit>(Unknown
Source)
at
com.netscape.management.client.comm.HttpManager.createChannel(Unknown
Source)
at com.netscape.management.client.comm.CommManager.send(Unknown
Source)
at com.netscape.management.client.comm.CommManager.send(Unknown
Source)
at com.netscape.management.client.comm.HttpManager.get(Unknown
Source)
at
com.netscape.management.client.console.Console.invoke_task(Unknown
Source)
at
com.netscape.management.client.console.Console.authenticate_user(Unknown
Source)
at com.netscape.management.client.console.Console.<init>(Unknown
Source)
at com.netscape.management.client.console.Console.main(Unknown
Source)
[root@brpswg01 fedora-ds]# file /opt/app/fedora-ds/lib/libjss3.so
/opt/app/fedora-ds/lib/libjss3.so: ELF 64-bit LSB shared object, AMD
x86-64, version 1 (SYSV), not stripped
[root@brpswg01 fedora-ds]# file `which java`
/opt/app/jre1.5.0_11/bin/java: ELF 64-bit LSB executable, AMD x86-64,
version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared
libs), stripped
[root@brpswg01 fedora-ds]# md5sum /opt/app/fedora-ds/lib/libjss3.so
2098364ec91d9b354e9086806852ae5d /opt/app/fedora-ds/lib/libjss3.so
At this point, the console will not startup but the Directory Server is
fine (I can query and modify userRoot db just fine).
I'm running FDS 1.0.4 on RHEL 4 Update 4 (2.6.9-42.0.10.ELsmp) with Sun
JRE 1.5.0_11.
If someone has some pointers on where I'm going wrong, that'll be much
appreciated.
Thx,
-an