Hi,
I installed the fedora-ds-7.1-2.RHEL4.i386.opt.rpm RPM, configured the
server, and tried to start the administration console from the command line:
[root@vectra-4 fedora-ds]# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant)
[root@vectra-4 fedora-ds]# uname -a
Linux vectra-4 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386
GNU/Linux
[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''
I didn''t find a bug in bugzilla, but I was also not able to use
bugzilla
to properly report this bug, since when I selected the Product Fedora
Directory Server, the page did not update the version and component
fields. Strangely enough, those fields are updated when searching for
existing bugs, but not when trying to report.
BR,
--
mike
Nathan Kinder
2005-Jun-02 15:55 UTC
Re: [Fedora-directory-users] Admin Console fails to start
Hi Mike, It appears that you are getting this error because you don''t have a domain set on your box. If you look at the end of the error output, it has your admin server URL as "http://vectra-4.(none):1500". It doesn''t like the "(none)" that it is encountering. You should set your domainname and see if that fixes your problem. -NGK Mike Jackson wrote:> Hi, > I installed the fedora-ds-7.1-2.RHEL4.i386.opt.rpm RPM, configured the > server, and tried to start the administration console from the command > line: > > [root@vectra-4 fedora-ds]# cat /etc/redhat-release > Red Hat Enterprise Linux AS release 4 (Nahant) > [root@vectra-4 fedora-ds]# uname -a > Linux vectra-4 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 > i386 GNU/Linux > > > [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'' > > I didn''t find a bug in bugzilla, but I was also not able to use > bugzilla to properly report this bug, since when I selected the > Product Fedora Directory Server, the page did not update the version > and component fields. Strangely enough, those fields are updated when > searching for existing bugs, but not when trying to report. > > BR, > -- > mike > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users
Mike Jackson
2005-Jun-02 16:10 UTC
Re: [Fedora-directory-users] Admin Console fails to start
Nathan Kinder wrote:> Hi Mike, > > It appears that you are getting this error because you don''t have a > domain set on your box. If you look at the end of the error output, > it has your admin server URL as "http://vectra-4.(none):1500". It > doesn''t like the "(none)" that it is encountering. You should set > your domainname and see if that fixes your problem. > > -NGKHi, Yes, I noticed that after I wrote the mail. I fixed it, and now I get a slew of java errors. I was able to figure out how to use the bugzilla, and I reported this java problem there also: [root@vectra-4 fedora-ds]# ./startconsole & [1] 4748 [root@vectra-4 fedora-ds]# Exception in thread "main" java.lang.ExceptionInInitializerError at com.sun.java.swing.plaf.windows.WindowsLookAndFeel.initialize(WindowsLookAndFeel.java:154) 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 Source) 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 [1]+ Done ./startconsole -- mike
Christopher Blizzard
2005-Jun-02 17:07 UTC
Re: [Fedora-directory-users] Admin Console fails to start
What JVM are you using? I''ll bet you''re using the one that comes with some Linux distro. Right now the admin tools require the one of Sun-derived JVMs. --Chris Mike Jackson wrote:> Nathan Kinder wrote: > >> Hi Mike, >> >> It appears that you are getting this error because you don''t have a >> domain set on your box. If you look at the end of the error output, >> it has your admin server URL as "http://vectra-4.(none):1500". It >> doesn''t like the "(none)" that it is encountering. You should set >> your domainname and see if that fixes your problem. >> >> -NGK > > > Hi, > Yes, I noticed that after I wrote the mail. I fixed it, and now I get a > slew of java errors. I was able to figure out how to use the bugzilla, > and I reported this java problem there also: > > > [root@vectra-4 fedora-ds]# ./startconsole & > [1] 4748 > [root@vectra-4 fedora-ds]# Exception in thread "main" > java.lang.ExceptionInInitializerError > at > com.sun.java.swing.plaf.windows.WindowsLookAndFeel.initialize(WindowsLookAndFeel.java:154) > > 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 Source) > 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 > > [1]+ Done ./startconsole > > > -- > mike > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users
Mike Jackson
2005-Jun-02 18:41 UTC
Re: [Fedora-directory-users] Admin Console fails to start
Christopher Blizzard wrote:> What JVM are you using? I''ll bet you''re using the one that comes with > some Linux distro. Right now the admin tools require the one of > Sun-derived JVMs. > > --ChrisIBM. I guess the java runtime wasn''t in the path correctly, but I seem to have fixed it now. I don''t get anymore warnings when attempting to start the console, but I still can''t start it... The next problem is that I can''t seem to get SSH X11 forwarding working from this server. Now, I guess I have to install a pile of Xorg packages onto my headless server. I am wondering how the RPM prerequisites for this software will evolve, seeing these initial problems I am facing. Mind you, the slapd works just fine. I just wanted to test the admin console, for no other reason than curiosity, because it hasn''t ran on linux in a long time, but it seems that it requires some work from my end. Please forgive me, I am a longtime Netscape DS user, but I have very rarely used the admin console, mainly due to it''s extreme slowness. And when I have used it, I was used to the software coming with the java runtime already built-in. I think you can close that bug due to PEBKAC. Mike -- LDAP Directory Consulting - http://www.netauth.com
Rob Crittenden
2005-Jun-02 18:44 UTC
Re: [Fedora-directory-users] Admin Console fails to start
Mike Jackson wrote:> Christopher Blizzard wrote: > >> What JVM are you using? I''ll bet you''re using the one that comes with >> some Linux distro. Right now the admin tools require the one of >> Sun-derived JVMs. >> >> --Chris > > > IBM. I guess the java runtime wasn''t in the path correctly, but I seem > to have fixed it now. I don''t get anymore warnings when attempting to > start the console, but I still can''t start it... > > The next problem is that I can''t seem to get SSH X11 forwarding working > from this server. Now, I guess I have to install a pile of Xorg packages > onto my headless server. I am wondering how the RPM prerequisites for > this software will evolve, seeing these initial problems I am facing. > Mind you, the slapd works just fine. I just wanted to test the admin > console, for no other reason than curiosity, because it hasn''t ran on > linux in a long time, but it seems that it requires some work from my end. > > Please forgive me, I am a longtime Netscape DS user, but I have very > rarely used the admin console, mainly due to it''s extreme slowness. And > when I have used it, I was used to the software coming with the java > runtime already built-in. > > I think you can close that bug due to PEBKAC.Check the value of X11Forwarding in /etc/ssh/sshd_config. rob
Mike Jackson
2005-Jun-02 18:53 UTC
Re: [Fedora-directory-users] Admin Console fails to start
Mike Jackson wrote:> Christopher Blizzard wrote: > >> What JVM are you using? I''ll bet you''re using the one that comes with >> some Linux distro. Right now the admin tools require the one of >> Sun-derived JVMs. >>Note: After installing all of the xorg-x11 RPMS and the java-1.4.2-ibm-1.4.2.1-1jpp_2rh.i386.rpm on RHEL4, as well as modifying the /etc/sshd_config to allow x11 forwarding, and restarting sshd, I now have the admin console running. It seems that the console works just fine with the IBM JVM. I flipped through all of the tabs, and was able to see logs from the server, as well as other queried information. Do you know why it requires a SUN derived JVM, e.g. what was the problem? The only reason I have installed the IBM JVM is that it comes with RHEL extras CD, so I figure there is a better chance that it works out of the box with RHEL4... Mike -- LDAP Directory Consulting - http://www.netauth.com
Nathan Kinder
2005-Jun-02 20:17 UTC
Re: [Fedora-directory-users] Admin Console fails to start
Mike Jackson wrote:> Mike Jackson wrote: > >> Christopher Blizzard wrote: >> >>> What JVM are you using? I''ll bet you''re using the one that comes >>> with some Linux distro. Right now the admin tools require the one >>> of Sun-derived JVMs. >>> > > Note: > > After installing all of the xorg-x11 RPMS and the > java-1.4.2-ibm-1.4.2.1-1jpp_2rh.i386.rpm on RHEL4, as well as > modifying the /etc/sshd_config to allow x11 forwarding, and restarting > sshd, I now have the admin console running. > > It seems that the console works just fine with the IBM JVM. I flipped > through all of the tabs, and was able to see logs from the server, as > well as other queried information. Do you know why it requires a SUN > derived JVM, e.g. what was the problem? The only reason I have > installed the IBM JVM is that it comes with RHEL extras CD, so I > figure there is a better chance that it works out of the box with > RHEL4...Actually, FDS uses, and ships with, the IBM JRE on Linux. Other platforms, such as Solaris, require the Sun JRE. -NGK> > > Mike >
Christopher Blizzard
2005-Jun-02 20:47 UTC
Re: [Fedora-directory-users] Admin Console fails to start
Nathan Kinder wrote:> Actually, FDS uses, and ships with, the IBM JRE on Linux. Other > platforms, such as Solaris, require the Sun JRE. > > -NGKOh, interesting. So this must have been some other problem? Also, in theory, you should be able to run the admin console on your local computer, and run the admin server and the directory server on the headless machine without installing all the X libraries. --Chris
Mike Jackson
2005-Jun-02 20:47 UTC
Re: [Fedora-directory-users] Admin Console fails to start
Nathan Kinder wrote:> > Actually, FDS uses, and ships with, the IBM JRE on Linux. Other > platforms, such as Solaris, require the Sun JRE. >OK, then there seems to be some sort of bug with the startconsole, because before I installed the IBM JVM RPM, it was spitting that long slew of java errors I sent earlier. Mike -- LDAP Directory Consulting - http://www.netauth.com
Christopher Blizzard
2005-Jun-02 20:51 UTC
Re: [Fedora-directory-users] Admin Console fails to start
Mike Jackson wrote:> Nathan Kinder wrote: > >> >> Actually, FDS uses, and ships with, the IBM JRE on Linux. Other >> platforms, such as Solaris, require the Sun JRE. >> > > OK, then there seems to be some sort of bug with the startconsole, > because before I installed the IBM JVM RPM, it was spitting that long > slew of java errors I sent earlier. > > Mike >On my FC4test<mumble> workstation: [root@mobile2 ~]# java -version java version "1.4.2" gij (GNU libgcj) version 4.0.0 20050525 (Red Hat 4.0.0-9) That''s why I thought maybe it was a path problem. --Chris
David Boreham
2005-Jun-02 22:54 UTC
Re: [Fedora-directory-users] Admin Console fails to start
> Please forgive me, I am a longtime Netscape DS user, but I have very > rarely used the admin console, mainly due to it''s extreme slowness.That was then and this is now. CPU speed has caught up with Java/Swing and the Console is really very snappy on recent hardware.