Diana Shepard wrote:
I believe there are some java or ld.so flags and/or environment variables that can provide greater detail about dynamic library loading. Does anyone know off the top of her/his head? Also, try writing a small test program that just loads in a JSS class to see what that does.Thank you for your response. The file does exist in the /opt/fedora-ds/lib directory, and is readable, even though the error says:"/opt/fedora-ds/lib/libjss3.so: cannot open shared object file: No such file or directory"Why can't it find it! I tried setting an LD_LIBRARY_PATH; no help.
Also, ldd shows: # ldd /opt/fedora-ds/lib/libjss3.so libnss3.so => /opt/fedora-ds/bin/admin/lib/libnss3.so (0x0000002a95682000) libsmime3.so => /opt/fedora-ds/bin/admin/lib/libsmime3.so (0x0000002a95808000) libssl3.so => /opt/fedora-ds/bin/admin/lib/libssl3.so (0x0000002a95933000) libplc4.so => /opt/fedora-ds/bin/admin/lib/libplc4.so (0x0000002a95a60000) libplds4.so => /opt/fedora-ds/bin/admin/lib/libplds4.so (0x0000002a95b65000) libnspr4.so => /opt/fedora-ds/bin/admin/lib/libnspr4.so (0x0000002a95c68000) libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95dae000) libsoftokn3.so => /opt/fedora-ds/bin/admin/lib/libsoftokn3.so (0x0000002a95fe2000) libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000002a9613a000) libdl.so.2 => /lib64/libdl.so.2 (0x0000002a96250000) /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000) Diana Shepard-----Original Message-----From: fedora-directory-users-bounces@xxxxxxxxxx [mailto:fedora-directory-users-bounces@xxxxxxxxxx] On Behalf Of Rob CrittendenSent: Wednesday, August 30, 2006 2:48 PM To: General discussion list for the Fedora Directory server project. Subject: Re: install/uninstall admin-servYour problem seems to be with the console client, not with the admin server. For some reason libjss3.so can't be loaded. This could be an architecute problem which is why Rich asked what you are running.You might try things like: # find /opt/fedora-ds -name libjss3.so (should be /opt/fedora-ds/lib/libjss3.so) # file /path/to/libjss3.so # ldd /path/to/libjss3.soNow the ldd may return some "not found". Many libraries are included locally in /opt/fedora-ds.rob Diana Shepard wrote:So back to my original question, is there a way to uninstall and reinstall the admin-serv only?Diana Shepard-----Original Message----- From: fedora-directory-users-bounces@xxxxxxxxxx[mailto:fedora-directory-users-bounces@xxxxxxxxxx] On Behalf Of Richard MegginsonSent: Tuesday, August 29, 2006 5:28 PMTo: General discussion list for the Fedora Directoryserver project.problemsSubject: Re: install/uninstall admin-serv Diana Shepard wrote:Not sure how to tell if it is "a 64-bit java executable",but a cloneof the box (a multi-master replicated environment) has nountil you findWeird. To find out if it is a 64-bit native executable, do ls -l `which java` and keep following the symlinks (if any)with the admin-server.script, you'llone that is not a symlink, then do file /path/to/that/java - note that if it points to /etc/alternatives/java, do /usr/sbin/alternatives --display java to find out which java executable it's using. If file tells you its a bourneI have thehave to look in the bourne script file to find out where the real java executable is. For example, on my FC5 32bit system,32-bit LSBIBM JDK installed: # file /usr/lib/jvm/java-1.4.2-ibm-1.4.2.2/jre/bin/java.bin/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2/jre/bin/java.bin: ELFexecutable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not strippedDiana Shepard-----Original Message----- From: fedora-directory-users-bounces@xxxxxxxxxx[mailto:fedora-directory-users-bounces@xxxxxxxxxx] On Behalf Of Richard MegginsonSent: Monday, August 28, 2006 8:37 PM To: General discussion list for the Fedora Directoryserver project.Subject: Re: install/uninstalladmin-servmight haveDiana Shepard wrote:I'm runnins 64-bit RedHat Linux AS, version 4, 64-bit). java 1.4.2_04.Is it a 64-bit java executable? I think a 32-bit javawith theproblems loading 64-bit shared libs such as are includedBehalf Of64-bit Fedora DS.Diana Shepard-----Original Message----- From: fedora-directory-users-bounces@xxxxxxxxxx[mailto:fedora-directory-users-bounces@xxxxxxxxxx] OnRichard Megginson Sent: Monday, August 28, 2006 4:44 PM To: General discussion list for the Fedora Directoryserver project.Subject: Re: install/uninstalladmin-servDiana Shepard wrote:The problem is that whenever I try to start theDirectory ServerConsole via command line "startconsole", I get thefollowing errorWhat OS and version are you running? 32bit or 64bit?(libjss3.so is in /opt/fedora-ds/lib, and readable):Which javaare you using?Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/fedora-ds/lib/libjss3.so:/opt/fedora-ds/lib/libjss3.so: cannotopen shared object file: No such file or directory atjava.lang.ClassLoader$NativeLibrary.load(Native Method)atjava.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)atjava.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)at java.lang.Runtime.loadLibrary0(Runtime.java:788) at java.lang.System.loadLibrary(System.java:834) atorg.mozilla.jss.CryptoManager.loadNativeLibraries(CryptoManager.java:1330) atorg.mozilla.jss.CryptoManager.initialize(CryptoManager.java:822)atorg.mozilla.jss.CryptoManager.initialize(CryptoManager.java:795)atcom.netscape.management.client.util.UtilConsoleGlobals.initJSS(UnknownSource) atcom.netscape.management.client.util.UtilConsoleGlobals.getLDAPSSLSocketFactory(Unknown Source) atcom.netscape.management.client.console.Console.LDAPinitialization(Unknown Source) atcom.netscape.management.client.console.Console.<init>(Unknown Source)atcom.netscape.management.client.console.Console.main(UnknownSource)Diana Shepard Date: Mon, 28 Aug 2006 15:59:40 -0600 From: Richard Megginson <rmeggins@xxxxxxxxxx> Subject: Re: install/uninstalladmin-servonly To: "General discussion list for the Fedora Directoryserver project."<fedora-directory-users@xxxxxxxxxx> Message-ID: <44F3674C.1090202@xxxxxxxxxx> Content-Type: text/plain; charset="iso-8859-1" Diana Shepard wrote:Is there a way to unistall and reinstall the admin-serv only?Maybe, it depends.Mine seems to have gotten corruptedsomehow.What seems to be the problem?Diana Shepard University of Colorado------------------------------------------------------------------------ Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users