Bug 174981 - Admin console fails to load libnss3.so when authenticating with SSL
Summary: Admin console fails to load libnss3.so when authenticating with SSL
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: Security - SSL
Version: 1.0
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Rich Megginson
QA Contact: Viktor Ashirov
URL:
Whiteboard: 1.0.2
Depends On:
Blocks: 152373 183369 240316
TreeView+ depends on / blocked
 
Reported: 2005-12-05 11:54 UTC by Kim B. Nielsen
Modified: 2015-12-07 16:49 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-12-07 16:49:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Kim B. Nielsen 2005-12-05 11:54:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc3 Firefox/1.0.7

Description of problem:
When trying to start the console, this happens:

[root@gudhjem fedora-ds]# ./startconsole -u admin -a https://gudhjem.daimi.au.dk:57777/
Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/fedora-ds/lib/libjss3.so: libnss3.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:1330)
        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)

And the console just times out on the authentication.



Version-Release number of selected component (if applicable):
1.0

How reproducible:
Always

Steps to Reproduce:
1. Install FDS
2. Run setup and install and configure SSL
3. Try to log in via the console
  

Actual Results:  As Description

Expected Results:  The console should log in

Additional info:

OS: RedHat Advanced Server 3.

Comment 1 Kim B. Nielsen 2005-12-05 11:59:16 UTC
Ahh....

Installing these packages: 

[root@gudhjem fedora-ds]# rhn_check

Name                                    Version        Rel
----------------------------------------------------------
mozilla-nss                             1.7.12         1.1.3.2           i386
mozilla-nss-devel                       1.7.12         1.1.3.2           i386

mozilla-nss-1.7.12-1.1.3.2. ########################## Done.
mozilla-nss-devel-1.7.12-1. ########################## Done.
mozilla-nspr-1.7.12-1.1.3.2 ########################## Done.
mozilla-nspr-devel-1.7.12-1 ########################## Done.
Preparing              ########################################### [100%]

Installing...
   1:mozilla-nspr           ########################################### [100%]
   2:mozilla-nss            ########################################### [100%]
   3:mozilla-nspr-devel     ########################################### [100%]
   4:mozilla-nss-devel      ########################################### [100%]
The following packages were added to your selection to satisfy dependencies:

Name                                    Version        Release
--------------------------------------------------------------
mozilla-nspr                            1.7.12         1.1.3.2
mozilla-nspr-devel                      1.7.12         1.1.3.2

Fixed the problem. Might be a good idea to attach a note on that somewhere,
since the 7.1 server didn't need these packages to be installed



Comment 2 Rich Megginson 2005-12-05 14:45:32 UTC
Hmm - Nathan, how is libjss3.so supposed to find it's nss and nspr dependencies?

Comment 3 Rich Megginson 2005-12-08 18:36:48 UTC
Fixed in FDS 1.0.1 - the installation patches startconsole to set the
LD_LIBRARY_PATH to find the appropriate shared libraries under
/opt/fedora-ds/shared/lib.



Comment 4 Michael Gregg 2007-11-20 18:02:48 UTC
Verified aginst:
1195521753 redhat-ds-base-8.0.0-11.el5dsrv Mon Nov 19 2007 
1195521755 redhat-ds-admin-8.0.0-1.15.el5dsrv Mon Nov 19 2007 
1195521757 redhat-ds-console-8.0.0-8.el5dsrv Mon Nov 19 2007 
1195521758 redhat-admin-console-8.0.0-9.el5dsrv Mon Nov 19 2007 


Note You need to log in before you can comment on or make changes to this bug.