Bug 159384 - Admin console fails to start
Admin console fails to start
Product: 389
Classification: Community
Component: Admin (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Rich Megginson
Chandrasekar Kannan
Depends On:
  Show dependency treegraph
Reported: 2005-06-02 03:36 EDT by Mike Jackson
Modified: 2015-01-04 18:18 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-06-06 16:52:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
fedora-ds startconsole error (439 bytes, text/plain)
2005-06-28 09:52 EDT, tom tran
no flags Details

  None (edit)
Description Mike Jackson 2005-06-02 03:36:27 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041123 Firefox/1.0

Description of problem:
The admin console fails to start, complaining about`sh' syntax errors.

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

How reproducible:

Steps to Reproduce:
1. cd /opt/fedora-ds
2. ./start-admin
3. ./startconsole

Actual Results:  [root@vectra-4 fedora-ds]# ./startconsole
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `/opt/fedora-ds/bin/base/jre/bin/java -ms8m -mx64m  -cp .:./mcc70.jar:./mcc70_en.jar:./nmclf70.jar:./ldapjdk.jar:./jss3.jar:./base.jar:./nmclf70_en.jar -Djava.library.path=/opt/fedora-ds/lib/jss  -Djava.util.prefs.systemRoot=/opt/fedora-ds/java/.java -Djava.util.prefs.userRoot=/opt/fedora-ds/java com.netscape.management.client.console.Console -A http://vectra-4.(none):1500'

Expected Results:  The admin console should have started.

Additional info:
Comment 1 Mike Jackson 2005-06-02 05:59:55 EDT
Actually, I worked around this by setting an FQDN as the hostname.

Now, I see a more problems:

[root@vectra-4 fedora-ds]# ./startconsole 
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.netscape.management.nmclf.SuiLookAndFeel.initialize(Unknown Source)
        at javax.swing.UIManager.setLookAndFeel(UIManager.java:424)
        at com.netscape.management.client.console.Console.common_init(Unknown
        at com.netscape.management.client.console.Console.<init>(Unknown Source)
        at com.netscape.management.client.console.Console.main(Unknown Source)
Caused by: java.lang.NullPointerException
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2159)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1994)
        at java.lang.Runtime.loadLibrary0(Runtime.java:824)
        at java.lang.System.loadLibrary(System.java:908)
        at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:76)
        at java.security.AccessController.doPrivileged1(Native Method)
        at java.security.AccessController.doPrivileged(AccessController.java:287)
        at java.awt.Toolkit.loadLibraries(Toolkit.java:1488)
        at java.awt.Toolkit.<clinit>(Toolkit.java:1511)
        ... 6 more
Comment 2 Rich Megginson 2005-06-03 18:24:51 EDT
Ok.  Based on mailing list discussion, this bug is only found on headless
systems or those which are missing the following RPMs:
So the workaround for now is to install those from RHN or a YUM repository, and
the fix is to make the RPM depend on those packages.
Comment 3 Christopher Blizzard 2005-06-07 09:48:20 EDT
So I guess we need to add a Requires: to the rpm package?
Comment 4 Rich Megginson 2005-06-07 11:21:44 EDT
Yes, adding the Requires would do the trick.
Comment 5 Joaquin Romero 2005-06-07 16:27:01 EDT
How do I add Requires: to successfully make fedora-ds depend on these 
packages?  Is this a source rpm thing or can I accomplish with just the rpm?
Comment 6 Rich Megginson 2005-06-07 16:34:24 EDT
There is currently no method to build the binary RPM from the source RPM using
the open source components - there is still a dependency on our proprietary
parts.  The file itself is easy to change - it's
ldapserver/ldapserver.spec.tmpl.  But we will have to respin the binary RPM
internally and make another release.
Comment 7 tom tran 2005-06-28 09:52:54 EDT
Created attachment 116060 [details]
fedora-ds startconsole error

1) My computer has all three packages mentioned above, but I still have the
same problem with executing startconsole command after installing

My computer has:

2) rpm's Requires option is for query mode (not for install mode)
Comment 9 Rich Megginson 2007-10-05 11:13:19 EDT
Nathan, is this still a problem?
Comment 10 Rich Megginson 2008-06-06 16:52:38 EDT
This is not a problem with Fedora 8 and later - now Requires: java-1.5.0 

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