This problem was resolved by an install of the 64-bit, jdk1.5.0_08 from java.sun.com. Thanks to all who offered advice and solutions. Diana Shepard University of Colorado, Boulder > -----Original Message----- > From: fedora-directory-users-bounces at redhat.com > [mailto:fedora-directory-users-bounces at redhat.com] On Behalf > Of Richard Megginson > Sent: Wednesday, August 30, 2006 5:44 PM > To: General discussion list for the Fedora Directory server project. > Subject: Re: install/uninstall admin-serv > > Diana Shepard wrote: > > 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. > > > 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. > > 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 at redhat.com > >> [mailto:fedora-directory-users-bounces at redhat.com] On > Behalf Of Rob > >> Crittenden > >> Sent: Wednesday, August 30, 2006 2:48 PM > >> To: General discussion list for the Fedora Directory > server project. > >> Subject: Re: install/uninstall admin-serv > >> > >> Your 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.so > >> > >> Now 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 at redhat.com > >>>> [mailto:fedora-directory-users-bounces at redhat.com] On Behalf Of > >>>> Richard Megginson > >>>> Sent: Tuesday, August 29, 2006 5:28 PM > >>>> To: General discussion list for the Fedora Directory > >>>> > >> server project. > >> > >>>> Subject: Re: install/uninstall > admin-serv > >>>> > >>>> Diana Shepard wrote: > >>>> > >>>>> Not sure how to tell if it is "a 64-bit java executable", > >>>>> > >>>> but a clone > >>>> > >>>>> of the box (a multi-master replicated environment) has no > >>>>> > >> problems > >> > >>>>> with the admin-server. > >>>>> > >>>>> > >>>> Weird. To find out if it is a 64-bit native executable, > do ls -l > >>>> `which java` and keep following the symlinks (if any) > >>>> > >> until you find > >> > >>>> one 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 bourne > >>>> > >> script, you'll > >> > >>>> have to look in the bourne script file to find out where > the real > >>>> java executable is. For example, on my FC5 32bit system, > >>>> > >> I have the > >> > >>>> IBM 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: ELF > >>>> > >> 32-bit LSB > >> > >>>> executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.5, > >>>> dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not > >>>> stripped > >>>> > >>>> > >>>>> Diana Shepard > >>>>> > >>>>> > >>>>> > >>>>>> -----Original Message----- > >>>>>> From: fedora-directory-users-bounces at redhat.com > >>>>>> [mailto:fedora-directory-users-bounces at redhat.com] On > Behalf Of > >>>>>> Richard Megginson > >>>>>> Sent: Monday, August 28, 2006 8:37 PM > >>>>>> To: General discussion list for the Fedora Directory > >>>>>> > >>>> server project. > >>>> > >>>>>> Subject: Re: install/uninstall > >>>>>> > >> admin-serv > >> > >>>>>> Diana 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 java > >>>>>> > >> might have > >> > >>>>>> problems loading 64-bit shared libs such as are included > >>>>>> > >> with the > >> > >>>>>> 64-bit Fedora DS. > >>>>>> > >>>>>> > >>>>>>> Diana Shepard > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>> -----Original Message----- > >>>>>>>> From: fedora-directory-users-bounces at redhat.com > >>>>>>>> [mailto:fedora-directory-users-bounces at redhat.com] On > >>>>>>>> > >> Behalf Of > >> > >>>>>>>> Richard Megginson > >>>>>>>> Sent: Monday, August 28, 2006 4:44 PM > >>>>>>>> To: General discussion list for the Fedora Directory > >>>>>>>> > >>>>>>>> > >>>>>> server project. > >>>>>> > >>>>>> > >>>>>>>> Subject: Re: install/uninstall > >>>>>>>> > >>>> admin-serv > >>>> > >>>>>>>> Diana Shepard wrote: > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> The problem is that whenever I try to start the > >>>>>>>>> > >>>> Directory Server > >>>> > >>>>>>>>> Console via command line "startconsole", I get the > >>>>>>>>> > >>>>>>>>> > >>>>>> following error > >>>>>> > >>>>>> > >>>>>>>>> (libjss3.so is in /opt/fedora-ds/lib, and readable): > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>> What OS and version are you running? 32bit or 64bit? > >>>>>>>> > >>>> Which java > >>>> > >>>>>>>> are you using? > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> Exception in thread "main" java.lang.UnsatisfiedLinkError: > >>>>>>>>> /opt/fedora-ds/lib/libjss3.so: > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>> /opt/fedora-ds/lib/libjss3.so: cannot > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> open shared object file: No such file or directory > >>>>>>>>> > >>>>>>>>> at > >>>>>>>>> > >>>> java.lang.ClassLoader$NativeLibrary.load(Native Method) > >>>> > >>>>>>>>> at > >>>>>>>>> > >>>>>>>>> > >>>>>> java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560) > >>>>>> > >>>>>> > >>>>>>>>> at > >>>>>>>>> > >>>>>>>>> > >>>>>> java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485) > >>>>>> > >>>>>> > >>>>>>>>> at java.lang.Runtime.loadLibrary0(Runtime.java:788) > >>>>>>>>> at java.lang.System.loadLibrary(System.java:834) > >>>>>>>>> at > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >> > org.mozilla.jss.CryptoManager.loadNativeLibraries(CryptoManager.java: > >> > >>>>>> 1 > >>>>>> > >>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> 330) > >>>>>>>>> > >>>>>>>>> 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(Unknow > >> > >>>>>> n > >>>>>> > >>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> Source) > >>>>>>>>> at > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >> > com.netscape.management.client.util.UtilConsoleGlobals.getLDAPSSLSock > >> > >>>>>> e > >>>>>> > >>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> tFactory(Unknown > >>>>>>>>> Source) > >>>>>>>>> at > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >> > com.netscape.management.client.console.Console.LDAPinitialization(Unk > >> > >>>>>> n > >>>>>> > >>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> own > >>>>>>>>> Source) > >>>>>>>>> at > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >> > com.netscape.management.client.console.Console.<init>(Unknown Source) > >> > >>>>>> > >>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> at > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>> com.netscape.management.client.console.Console.main(Unknown > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> Source) > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> Diana Shepard > >>>>>>>>> > >>>>>>>>> Date: Mon, 28 Aug 2006 15:59:40 -0600 > >>>>>>>>> From: Richard Megginson <rmeggins at redhat.com> > >>>>>>>>> Subject: Re: install/uninstall > >>>>>>>>> > >>>> admin-serv > >>>> > >>>>>>>>> only > >>>>>>>>> To: "General discussion list for the Fedora Directory > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>> server project." > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>> <fedora-directory-users at redhat.com> > >>>>>>>>> Message-ID: <44F3674C.1090202 at redhat.com> > >>>>>>>>> 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 corrupted > >>>>>>>>>> somehow. > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>> What seems to be the problem? > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>>> Diana Shepard > >>>>>>>>>> University of Colorado > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >> > --------------------------------------------------------------------- > >> > >>>>>> - > >>>>>> > >>>>>> > >>>>>>>> > >>>>>>>> > > > > -- > > Fedora-directory-users mailing list > > Fedora-directory-users at redhat.com > > https://www.redhat.com/mailman/listinfo/fedora-directory-users > > >