I''ve just installed fedora directory server on my fedora core 4 machine. The installation was a breeze, but when I go to start the console, I get the following error: ./startconsole: Your JAVA_HOME environment variable is not set. Please set it appropriately. I''ve confirmend that I indeed have java run time installed. Is there some config somewhere that I need to set or is ignoring? Any help or suggestions will be appreciated. Thanks - Delamatrix
Richard Megginson
2005-Dec-06 04:09 UTC
Re: [Fedora-directory-users] Cant''t Start Console
Golden Butler wrote:> I''ve just installed fedora directory server on my fedora core 4 > machine. The installation was a breeze, but when I go to start the > console, I get the following error: > > ./startconsole: Your JAVA_HOME environment variable is not set. > Please set it appropriately.export JAVA_HOME=/path/to/java e.g. on my Fedora Core 4 system with the RHEL4 IBM 1.4.2 JDK: export JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2> > I''ve confirmend that I indeed have java run time installed. Is there > some config somewhere that I need to set or is ignoring? Any help or > suggestions will be appreciated. Thanks > > - Delamatrix > >------------------------------------------------------------------------ > >-- >Fedora-directory-users mailing list >Fedora-directory-users@redhat.com >https://www.redhat.com/mailman/listinfo/fedora-directory-users > >
Thanks for the help. I''ve installed the IBM java kit and successfully
exported JAVA_HOME to the install path.
Now when I run ./startconsole, I get the following error:
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:2171)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2006)
at java.lang.Runtime.loadLibrary0(Runtime.java:824)
at java.lang.System.loadLibrary(System.java:910)
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
Is this error saying something with the Java gui is screwed up?
- Delamatrix
_____
From: Richard Megginson [mailto:rmeggins@redhat.com]
To: golden@cnt.org, General discussion list for the Fedora Directory server
project. [mailto:fedora-directory-users@redhat.com]
Sent: Mon, 05 Dec 2005 22:09:19 -0600
Subject: Re: [Fedora-directory-users] Cant''t Start Console
Golden Butler wrote:
> I''ve just installed fedora directory server on my fedora core 4
> machine. The installation was a breeze, but when I go to start the
> console, I get the following error:
>
> ./startconsole: Your JAVA_HOME environment variable is not set.
> Please set it appropriately.
export JAVA_HOME=/path/to/java e.g. on my Fedora Core 4 system with the
RHEL4 IBM 1.4.2 JDK:
export JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2
>
> I''ve confirmend that I indeed have java run time installed. Is
there
> some config somewhere that I need to set or is ignoring? Any help or
> suggestions will be appreciated. Thanks
>
> - Delamatrix
>
>------------------------------------------------------------------------
>
>--
>Fedora-directory-users mailing list
>Fedora-directory-users@redhat.com
>https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>
Richard Megginson
2005-Dec-06 15:03 UTC
Re: [Fedora-directory-users] Cant''t Start Console
Try export LD_LIBRARY_PATH=/opt/fedora-ds/shared/lib then ./startconsole does the problem go away? Golden Butler wrote:> Thanks for the help. I''ve installed the IBM java kit and successfully > exported JAVA_HOME to the install path. > Now when I run ./startconsole, I get the following error: > > 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:2171) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2006) > at java.lang.Runtime.loadLibrary0(Runtime.java:824) > at java.lang.System.loadLibrary(System.java:910) > 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 > > Is this error saying something with the Java gui is screwed up? > > - Delamatrix > > ------------------------------------------------------------------------ > *From:* Richard Megginson [mailto:rmeggins@redhat.com] > *To:* golden@cnt.org, General discussion list for the Fedora > Directory server project. [mailto:fedora-directory-users@redhat.com] > *Sent:* Mon, 05 Dec 2005 22:09:19 -0600 > *Subject:* Re: [Fedora-directory-users] Cant''t Start Console > > Golden Butler wrote: > > > I''ve just installed fedora directory server on my fedora core 4 > > machine. The installation was a breeze, but when I go to start the > > console, I get the following error: > > > > ./startconsole: Your JAVA_HOME environment variable is not set. > > Please set it appropriately. > > export JAVA_HOME=/path/to/java e.g. on my Fedora Core 4 system > with the > RHEL4 IBM 1.4.2 JDK: > export JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 > > > > > I''ve confirmend that I indeed have java run time installed. Is > there > > some config somewhere that I need to set or is ignoring? Any > help or > > suggestions will be appreciated. Thanks > > > > - Delamatrix > > > >------------------------------------------------------------------------ > > > >-- > >Fedora-directory-users mailing list > >Fedora-directory-users@redhat.com > <javascript:ki8a0("new","Fedora-directory-users@redhat.com")> > >https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > >
Thanks Richard. I tried running the export command like you suggested, but I still get the same error message. Golden Butler IT Support Center for Neighborhood Technology 2125 W. North Avenue Chicago, IL 60647 773-269-4061 golden@cnt.org www.cnt.org _____ From: Richard Megginson [mailto:rmeggins@redhat.com] To: golden@cnt.org Cc: fedora-directory-users@redhat.com Sent: Tue, 06 Dec 2005 09:03:01 -0600 Subject: Re: [Fedora-directory-users] Cant''t Start Console Try export LD_LIBRARY_PATH=/opt/fedora-ds/shared/lib then ./startconsole does the problem go away? Golden Butler wrote:> Thanks for the help. I''ve installed the IBM java kit and successfully > exported JAVA_HOME to the install path. > Now when I run ./startconsole, I get the following error: > > 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:2171) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2006) > at java.lang.Runtime.loadLibrary0(Runtime.java:824) > at java.lang.System.loadLibrary(System.java:910) > 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 > > Is this error saying something with the Java gui is screwed up? > > - Delamatrix > > ------------------------------------------------------------------------ > *From:* Richard Megginson [mailto:rmeggins@redhat.com] > *To:* golden@cnt.org, General discussion list for the Fedora > Directory server project. [mailto:fedora-directory-users@redhat.com] > *Sent:* Mon, 05 Dec 2005 22:09:19 -0600 > *Subject:* Re: [Fedora-directory-users] Cant''t Start Console > > Golden Butler wrote: > > > I''ve just installed fedora directory server on my fedora core 4 > > machine. The installation was a breeze, but when I go to start the > > console, I get the following error: > > > > ./startconsole: Your JAVA_HOME environment variable is not set. > > Please set it appropriately. > > export JAVA_HOME=/path/to/java e.g. on my Fedora Core 4 system > with the > RHEL4 IBM 1.4.2 JDK: > export JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 > > > > > I''ve confirmend that I indeed have java run time installed. Is > there > > some config somewhere that I need to set or is ignoring? Any > help or > > suggestions will be appreciated. Thanks > > > > - Delamatrix > > > >------------------------------------------------------------------------ > > > >-- > >Fedora-directory-users mailing list > >Fedora-directory-users@redhat.com > <javascript:ki8a0("new","Fedora-directory-users@redhat.com")> > >https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > >
Richard Megginson
2005-Dec-06 17:41 UTC
Re: [Fedora-directory-users] Cant''t Start Console
Golden Butler wrote:> Thanks Richard. I tried running the export command like you > suggested, but I still get the same error message.What is your JAVA_HOME setting? Where did you download the IBM JDK from?> > Golden Butler > IT Support > > Center for Neighborhood Technology > 2125 W. North Avenue > Chicago, IL 60647 > > 773-269-4061 > golden@cnt.org > www.cnt.org > > ------------------------------------------------------------------------ > *From:* Richard Megginson [mailto:rmeggins@redhat.com] > *To:* golden@cnt.org > *Cc:* fedora-directory-users@redhat.com > *Sent:* Tue, 06 Dec 2005 09:03:01 -0600 > *Subject:* Re: [Fedora-directory-users] Cant''t Start Console > > Try > export LD_LIBRARY_PATH=/opt/fedora-ds/shared/lib > then ./startconsole > does the problem go away? > > Golden Butler wrote: > > > Thanks for the help. I''ve installed the IBM java kit and > successfully > > exported JAVA_HOME to the install path. > > Now when I run ./startconsole, I get the following error: > > > > 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:2171) > > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2006) > > at java.lang.Runtime.loadLibrary0(Runtime.java:824) > > at java.lang.System.loadLibrary(System.java:910) > > 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 > > > > Is this error saying something with the Java gui is screwed up? > > > > - Delamatrix > > > > > ------------------------------------------------------------------------ > > *From:* Richard Megginson [mailto:rmeggins@redhat.com > <javascript:ki8a0("new","rmeggins@redhat.com")>] > > *To:* golden@cnt.org <javascript:ki8a0("new","golden@cnt.org")>, > General discussion list for the Fedora > > Directory server project. > [mailto:fedora-directory-users@redhat.com > <javascript:ki8a0("new","fedora-directory-users@redhat.com")>] > > *Sent:* Mon, 05 Dec 2005 22:09:19 -0600 > > *Subject:* Re: [Fedora-directory-users] Cant''t Start Console > > > > Golden Butler wrote: > > > > > I''ve just installed fedora directory server on my fedora core 4 > > > machine. The installation was a breeze, but when I go to start the > > > console, I get the following error: > > > > > > ./startconsole: Your JAVA_HOME environment variable is not set. > > > Please set it appropriately. > > > > export JAVA_HOME=/path/to/java e.g. on my Fedora Core 4 system > > with the > > RHEL4 IBM 1.4.2 JDK: > > export JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 > > > > > > > > I''ve confirmend that I indeed have java run time installed. Is > > there > > > some config somewhere that I need to set or is ignoring? Any > > help or > > > suggestions will be appreciated. Thanks > > > > > > - Delamatrix > > > > > > >------------------------------------------------------------------------ > > > > > >-- > > >Fedora-directory-users mailing list > > >Fedora-directory-users@redhat.com > <javascript:ki8a0("new","Fedora-directory-users@redhat.com")> > > <javascript:ki8a0("new","Fedora-directory-users@redhat.com > <javascript:ki8a0("new","Fedora-directory-users@redhat.com")>")> > > >https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > > > > > >
Hi Golden, This may help. http://directory.fedora.redhat.com/wiki/FAQ#Exception_in_thread_.22main.22_java.lang.ExceptionInInitializerError <http://directory.fedora.r%21%20edhat.com/wiki/FAQ#Exception_in_thread_.22main.22_java.lang.ExceptionInInitializerError> thomas Golden Butler wrote:> Thanks Richard. I tried running the export command like you > suggested, but I still get the same error message. > > Golden Butler > IT Support > > Center for Neighborhood Technology > 2125 W. North Avenue > Chicago, IL 60647 > > 773-269-4061 > golden@cnt.org > www.cnt.org > > *From:* Richard Megginson [mailto:rmeggins@redhat.com] > *To:* golden@cnt.org > *Cc:* fedora-directory-users@redhat.com > *Sent:* Tue, 06 Dec 2005 09:03:01 -0600 > *Subject:* Re: [Fedora-directory-users] Cant''t Start Console > > Try > export LD_LIBRARY_PATH=/opt/fedora-ds/shared/lib > then ./startconsole > does the problem go away? > > Golden Butler wrote: > > > Thanks for the help. I''ve installed the IBM java kit and > successfully > > exported JAVA_HOME to the install path. > > Now when I run ./startconsole, I get the following error: > > > > 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:2171) > > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2006) > > at java.lang.Runtime.loadLibrary0(Runtime.java:824) > > at java.lang.System.loadLibrary(System.java:910) > > 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 > > > > Is this error saying something with the Java gui is screwed up? > > > > - Delamatrix > > > > > ------------------------------------------------------------------------ > > *From:* Richard Megginson [mailto:rmeggins@redhat.com] > > *To:* golden@cnt.org, General discussion list for the Fedora > > Directory server project. [mailto:fedora-directory-users@redhat.com] > > *Sent:* Mon, 05 Dec 2005 22:09:19 -0600 > > *Subject:* Re: [Fedora-directory-users] Cant''t Start Console > > > > Golden Butler wrote: > > > > > I''ve just installed fedora directory server on my fedora core 4 > > > machine. The installation was a breeze, but when I go to start the > > > console, I get the following error: > > > > > > ./startconsole: Your JAVA_HOME environment variable is not set. > > > Please set it appropriately. > > > > export JAVA_HOME=/path/to/java e.g. on my Fedora Core 4 system > > with the > > RHEL4 IBM 1.4.2 JDK: > > export JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 > > > > > > > > I''ve confirmend that I indeed have java run time installed. Is > > there > > > some config somewhere that I need to set or is ignoring? Any > > help or > > > suggestions will be appreciated. Thanks > > > > > > - Delamatrix > > > > > > >------------------------------------------------------------------------ > > > > > >-- > > >Fedora-directory-users mailing list > > >Fedora-directory-users@redhat.com > > <javascript:ki8a0("new","Fedora-directory-users@redhat.com")> > > >https://www.redhat.com/mailman/listinfo/fedora-directory-users > > > > > > > > > >------------------------------------------------------------------------ > >-- >Fedora-directory-users mailing list >Fedora-directory-users@redhat.com >https://www.redhat.com/mailman/listinfo/fedora-directory-users > >
$JAVA_HOME = /opt/IBMJava2-142 Downloaded IBM JDK from = http://www-128.ibm.com/developerworks/java/jdk/linux140/download.html Is this right? Richard Megginson wrote:> Golden Butler wrote: > >> Thanks Richard. I tried running the export command like you >> suggested, but I still get the same error message. > > > What is your JAVA_HOME setting? Where did you download the IBM JDK from? > >> >> Golden Butler >> IT Support >> >> Center for Neighborhood Technology >> 2125 W. North Avenue >> Chicago, IL 60647 >> >> 773-269-4061 >> golden@cnt.org >> www.cnt.org >> >> >> ------------------------------------------------------------------------ >> *From:* Richard Megginson [mailto:rmeggins@redhat.com] >> *To:* golden@cnt.org >> *Cc:* fedora-directory-users@redhat.com >> *Sent:* Tue, 06 Dec 2005 09:03:01 -0600 >> *Subject:* Re: [Fedora-directory-users] Cant''t Start Console >> >> Try >> export LD_LIBRARY_PATH=/opt/fedora-ds/shared/lib >> then ./startconsole >> does the problem go away? >> >> Golden Butler wrote: >> >> > Thanks for the help. I''ve installed the IBM java kit and >> successfully >> > exported JAVA_HOME to the install path. >> > Now when I run ./startconsole, I get the following error: >> > >> > 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:2171) >> > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2006) >> > at java.lang.Runtime.loadLibrary0(Runtime.java:824) >> > at java.lang.System.loadLibrary(System.java:910) >> > 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 >> > >> > Is this error saying something with the Java gui is screwed up? >> > >> > - Delamatrix >> > >> > >> >> ------------------------------------------------------------------------ >> > *From:* Richard Megginson [mailto:rmeggins@redhat.com >> <javascript:ki8a0("new","rmeggins@redhat.com")>] >> > *To:* golden@cnt.org <javascript:ki8a0("new","golden@cnt.org")>, >> General discussion list for the Fedora >> > Directory server project. >> [mailto:fedora-directory-users@redhat.com >> <javascript:ki8a0("new","fedora-directory-users@redhat.com")>] >> > *Sent:* Mon, 05 Dec 2005 22:09:19 -0600 >> > *Subject:* Re: [Fedora-directory-users] Cant''t Start Console >> > >> > Golden Butler wrote: >> > >> > > I''ve just installed fedora directory server on my fedora core 4 >> > > machine. The installation was a breeze, but when I go to >> start the >> > > console, I get the following error: >> > > >> > > ./startconsole: Your JAVA_HOME environment variable is not set. >> > > Please set it appropriately. >> > >> > export JAVA_HOME=/path/to/java e.g. on my Fedora Core 4 system >> > with the >> > RHEL4 IBM 1.4.2 JDK: >> > export JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 >> > >> > > >> > > I''ve confirmend that I indeed have java run time installed. Is >> > there >> > > some config somewhere that I need to set or is ignoring? Any >> > help or >> > > suggestions will be appreciated. Thanks >> > > >> > > - Delamatrix >> > > >> > >> >> >------------------------------------------------------------------------ >> >> > > >> > >-- >> > >Fedora-directory-users mailing list >> > >Fedora-directory-users@redhat.com >> <javascript:ki8a0("new","Fedora-directory-users@redhat.com")> >> > <javascript:ki8a0("new","Fedora-directory-users@redhat.com >> <javascript:ki8a0("new","Fedora-directory-users@redhat.com")>")> >> > >https://www.redhat.com/mailman/listinfo/fedora-directory-users >> > > >> > > >> > >>
Richard Megginson
2005-Dec-07 01:52 UTC
Re: [Fedora-directory-users] Cant''t Start Console
Golden Butler wrote:> $JAVA_HOME = /opt/IBMJava2-142 > > Downloaded IBM JDK from = > http://www-128.ibm.com/developerworks/java/jdk/linux140/download.html > > Is this right?Yes. But see here, as Thomas suggested - http://directory.fedora.redhat.com/wiki/FAQ#Exception_in_thread_.22main.22_java.lang.ExceptionInInitializerError> > Richard Megginson wrote: > >> Golden Butler wrote: >> >>> Thanks Richard. I tried running the export command like you >>> suggested, but I still get the same error message. >> >> >> >> What is your JAVA_HOME setting? Where did you download the IBM JDK >> from? >> >>> >>> Golden Butler >>> IT Support >>> >>> Center for Neighborhood Technology >>> 2125 W. North Avenue >>> Chicago, IL 60647 >>> >>> 773-269-4061 >>> golden@cnt.org >>> www.cnt.org >>> >>> >>> ------------------------------------------------------------------------ >>> >>> *From:* Richard Megginson [mailto:rmeggins@redhat.com] >>> *To:* golden@cnt.org >>> *Cc:* fedora-directory-users@redhat.com >>> *Sent:* Tue, 06 Dec 2005 09:03:01 -0600 >>> *Subject:* Re: [Fedora-directory-users] Cant''t Start Console >>> >>> Try >>> export LD_LIBRARY_PATH=/opt/fedora-ds/shared/lib >>> then ./startconsole >>> does the problem go away? >>> >>> Golden Butler wrote: >>> >>> > Thanks for the help. I''ve installed the IBM java kit and >>> successfully >>> > exported JAVA_HOME to the install path. >>> > Now when I run ./startconsole, I get the following error: >>> > >>> > 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:2171) >>> > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2006) >>> > at java.lang.Runtime.loadLibrary0(Runtime.java:824) >>> > at java.lang.System.loadLibrary(System.java:910) >>> > 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 >>> > >>> > Is this error saying something with the Java gui is screwed up? >>> > >>> > - Delamatrix >>> > >>> > >>> >>> ------------------------------------------------------------------------ >>> >>> > *From:* Richard Megginson [mailto:rmeggins@redhat.com >>> <javascript:ki8a0("new","rmeggins@redhat.com")>] >>> > *To:* golden@cnt.org <javascript:ki8a0("new","golden@cnt.org")>, >>> General discussion list for the Fedora >>> > Directory server project. >>> [mailto:fedora-directory-users@redhat.com >>> <javascript:ki8a0("new","fedora-directory-users@redhat.com")>] >>> > *Sent:* Mon, 05 Dec 2005 22:09:19 -0600 >>> > *Subject:* Re: [Fedora-directory-users] Cant''t Start Console >>> > >>> > Golden Butler wrote: >>> > >>> > > I''ve just installed fedora directory server on my fedora core 4 >>> > > machine. The installation was a breeze, but when I go to >>> start the >>> > > console, I get the following error: >>> > > >>> > > ./startconsole: Your JAVA_HOME environment variable is not set. >>> > > Please set it appropriately. >>> > >>> > export JAVA_HOME=/path/to/java e.g. on my Fedora Core 4 system >>> > with the >>> > RHEL4 IBM 1.4.2 JDK: >>> > export JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 >>> > >>> > > >>> > > I''ve confirmend that I indeed have java run time installed. Is >>> > there >>> > > some config somewhere that I need to set or is ignoring? Any >>> > help or >>> > > suggestions will be appreciated. Thanks >>> > > >>> > > - Delamatrix >>> > > >>> > >>> >>> >------------------------------------------------------------------------ >>> >>> > > >>> > >-- >>> > >Fedora-directory-users mailing list >>> > >Fedora-directory-users@redhat.com >>> <javascript:ki8a0("new","Fedora-directory-users@redhat.com")> >>> > <javascript:ki8a0("new","Fedora-directory-users@redhat.com >>> <javascript:ki8a0("new","Fedora-directory-users@redhat.com")>")> >>> > >https://www.redhat.com/mailman/listinfo/fedora-directory-users >>> > > >>> > > >>> > >>> >
Great! That worked. I didn''t have the xorg* package installed. Now the console starts. I''m pretty new to Fedora Core 4, so how can I get the directory server to start on boot up? Richard Megginson wrote:> Golden Butler wrote: > >> $JAVA_HOME = /opt/IBMJava2-142 >> >> Downloaded IBM JDK from = >> http://www-128.ibm.com/developerworks/java/jdk/linux140/download.html >> >> Is this right? > > > Yes. But see here, as Thomas suggested - > http://directory.fedora.redhat.com/wiki/FAQ#Exception_in_thread_.22main.22_java.lang.ExceptionInInitializerError > > >> >> Richard Megginson wrote: >> >>> Golden Butler wrote: >>> >>>> Thanks Richard. I tried running the export command like you >>>> suggested, but I still get the same error message. >>> >>> >>> >>> >>> What is your JAVA_HOME setting? Where did you download the IBM JDK >>> from? >>> >>>> >>>> Golden Butler >>>> IT Support >>>> >>>> Center for Neighborhood Technology >>>> 2125 W. North Avenue >>>> Chicago, IL 60647 >>>> >>>> 773-269-4061 >>>> golden@cnt.org >>>> www.cnt.org >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> *From:* Richard Megginson [mailto:rmeggins@redhat.com] >>>> *To:* golden@cnt.org >>>> *Cc:* fedora-directory-users@redhat.com >>>> *Sent:* Tue, 06 Dec 2005 09:03:01 -0600 >>>> *Subject:* Re: [Fedora-directory-users] Cant''t Start Console >>>> >>>> Try >>>> export LD_LIBRARY_PATH=/opt/fedora-ds/shared/lib >>>> then ./startconsole >>>> does the problem go away? >>>> >>>> Golden Butler wrote: >>>> >>>> > Thanks for the help. I''ve installed the IBM java kit and >>>> successfully >>>> > exported JAVA_HOME to the install path. >>>> > Now when I run ./startconsole, I get the following error: >>>> > >>>> > 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:2171) >>>> > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2006) >>>> > at java.lang.Runtime.loadLibrary0(Runtime.java:824) >>>> > at java.lang.System.loadLibrary(System.java:910) >>>> > 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 >>>> > >>>> > Is this error saying something with the Java gui is screwed up? >>>> > >>>> > - Delamatrix >>>> > >>>> > >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> > *From:* Richard Megginson [mailto:rmeggins@redhat.com >>>> <javascript:ki8a0("new","rmeggins@redhat.com")>] >>>> > *To:* golden@cnt.org <javascript:ki8a0("new","golden@cnt.org")>, >>>> General discussion list for the Fedora >>>> > Directory server project. >>>> [mailto:fedora-directory-users@redhat.com >>>> <javascript:ki8a0("new","fedora-directory-users@redhat.com")>] >>>> > *Sent:* Mon, 05 Dec 2005 22:09:19 -0600 >>>> > *Subject:* Re: [Fedora-directory-users] Cant''t Start Console >>>> > >>>> > Golden Butler wrote: >>>> > >>>> > > I''ve just installed fedora directory server on my fedora >>>> core 4 >>>> > > machine. The installation was a breeze, but when I go to >>>> start the >>>> > > console, I get the following error: >>>> > > >>>> > > ./startconsole: Your JAVA_HOME environment variable is not >>>> set. >>>> > > Please set it appropriately. >>>> > >>>> > export JAVA_HOME=/path/to/java e.g. on my Fedora Core 4 system >>>> > with the >>>> > RHEL4 IBM 1.4.2 JDK: >>>> > export JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 >>>> > >>>> > > >>>> > > I''ve confirmend that I indeed have java run time installed. Is >>>> > there >>>> > > some config somewhere that I need to set or is ignoring? Any >>>> > help or >>>> > > suggestions will be appreciated. Thanks >>>> > > >>>> > > - Delamatrix >>>> > > >>>> > >>>> >>>> >------------------------------------------------------------------------ >>>> >>>> > > >>>> > >-- >>>> > >Fedora-directory-users mailing list >>>> > >Fedora-directory-users@redhat.com >>>> <javascript:ki8a0("new","Fedora-directory-users@redhat.com")> >>>> > <javascript:ki8a0("new","Fedora-directory-users@redhat.com >>>> <javascript:ki8a0("new","Fedora-directory-users@redhat.com")>")> >>>> > >https://www.redhat.com/mailman/listinfo/fedora-directory-users >>>> > > >>>> > > >>>> > >>>> >>
Richard Megginson
2005-Dec-07 04:49 UTC
Re: [Fedora-directory-users] Cant''t Start Console
Golden Butler wrote:> Great! That worked. I didn''t have the xorg* package installed. Now > the console starts. I''m pretty new to Fedora Core 4, so how can I get > the directory server to start on boot up?http://directory.fedora.redhat.com/wiki/Howto:SysVInit> > Richard Megginson wrote: > >> Golden Butler wrote: >> >>> $JAVA_HOME = /opt/IBMJava2-142 >>> >>> Downloaded IBM JDK from = >>> http://www-128.ibm.com/developerworks/java/jdk/linux140/download.html >>> >>> Is this right? >> >> >> >> Yes. But see here, as Thomas suggested - >> http://directory.fedora.redhat.com/wiki/FAQ#Exception_in_thread_.22main.22_java.lang.ExceptionInInitializerError >> >> >>> >>> Richard Megginson wrote: >>> >>>> Golden Butler wrote: >>>> >>>>> Thanks Richard. I tried running the export command like you >>>>> suggested, but I still get the same error message. >>>> >>>> >>>> >>>> >>>> >>>> What is your JAVA_HOME setting? Where did you download the IBM JDK >>>> from? >>>> >>>>> >>>>> Golden Butler >>>>> IT Support >>>>> >>>>> Center for Neighborhood Technology >>>>> 2125 W. North Avenue >>>>> Chicago, IL 60647 >>>>> >>>>> 773-269-4061 >>>>> golden@cnt.org >>>>> www.cnt.org >>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> *From:* Richard Megginson [mailto:rmeggins@redhat.com] >>>>> *To:* golden@cnt.org >>>>> *Cc:* fedora-directory-users@redhat.com >>>>> *Sent:* Tue, 06 Dec 2005 09:03:01 -0600 >>>>> *Subject:* Re: [Fedora-directory-users] Cant''t Start Console >>>>> >>>>> Try >>>>> export LD_LIBRARY_PATH=/opt/fedora-ds/shared/lib >>>>> then ./startconsole >>>>> does the problem go away? >>>>> >>>>> Golden Butler wrote: >>>>> >>>>> > Thanks for the help. I''ve installed the IBM java kit and >>>>> successfully >>>>> > exported JAVA_HOME to the install path. >>>>> > Now when I run ./startconsole, I get the following error: >>>>> > >>>>> > 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:2171) >>>>> > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2006) >>>>> > at java.lang.Runtime.loadLibrary0(Runtime.java:824) >>>>> > at java.lang.System.loadLibrary(System.java:910) >>>>> > 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 >>>>> > >>>>> > Is this error saying something with the Java gui is screwed up? >>>>> > >>>>> > - Delamatrix >>>>> > >>>>> > >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> > *From:* Richard Megginson [mailto:rmeggins@redhat.com >>>>> <javascript:ki8a0("new","rmeggins@redhat.com")>] >>>>> > *To:* golden@cnt.org >>>>> <javascript:ki8a0("new","golden@cnt.org")>, >>>>> General discussion list for the Fedora >>>>> > Directory server project. >>>>> [mailto:fedora-directory-users@redhat.com >>>>> <javascript:ki8a0("new","fedora-directory-users@redhat.com")>] >>>>> > *Sent:* Mon, 05 Dec 2005 22:09:19 -0600 >>>>> > *Subject:* Re: [Fedora-directory-users] Cant''t Start Console >>>>> > >>>>> > Golden Butler wrote: >>>>> > >>>>> > > I''ve just installed fedora directory server on my fedora >>>>> core 4 >>>>> > > machine. The installation was a breeze, but when I go to >>>>> start the >>>>> > > console, I get the following error: >>>>> > > >>>>> > > ./startconsole: Your JAVA_HOME environment variable is not >>>>> set. >>>>> > > Please set it appropriately. >>>>> > >>>>> > export JAVA_HOME=/path/to/java e.g. on my Fedora Core 4 system >>>>> > with the >>>>> > RHEL4 IBM 1.4.2 JDK: >>>>> > export JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 >>>>> > >>>>> > > >>>>> > > I''ve confirmend that I indeed have java run time >>>>> installed. Is >>>>> > there >>>>> > > some config somewhere that I need to set or is ignoring? Any >>>>> > help or >>>>> > > suggestions will be appreciated. Thanks >>>>> > > >>>>> > > - Delamatrix >>>>> > > >>>>> > >>>>> >>>>> >------------------------------------------------------------------------ >>>>> >>>>> > > >>>>> > >-- >>>>> > >Fedora-directory-users mailing list >>>>> > >Fedora-directory-users@redhat.com >>>>> <javascript:ki8a0("new","Fedora-directory-users@redhat.com")> >>>>> > <javascript:ki8a0("new","Fedora-directory-users@redhat.com >>>>> <javascript:ki8a0("new","Fedora-directory-users@redhat.com")>")> >>>>> > >https://www.redhat.com/mailman/listinfo/fedora-directory-users >>>>> > > >>>>> > > >>>>> > >>>>> >>> >
thanks for the link! now excuse me my linux ignorance here, but where do I copy this scripts to, and what do I name them? _____ From: Richard Megginson [mailto:rmeggins@redhat.com] To: Golden Butler [mailto:golden@cnt.org] Cc: fedora-directory-users@redhat.com Sent: Tue, 06 Dec 2005 22:49:30 -0600 Subject: Re: [Fedora-directory-users] Cant''t Start Console Golden Butler wrote:> Great! That worked. I didn''t have the xorg* package installed. Now > the console starts. I''m pretty new to Fedora Core 4, so how can I get > the directory server to start on boot up?http://directory.fedora.redhat.com/wiki/Howto:SysVInit> > Richard Megginson wrote: > >> Golden Butler wrote: >> >>> $JAVA_HOME = /opt/IBMJava2-142 >>> >>> Downloaded IBM JDK from = >>> http://www-128.ibm.com/developerworks/java/jdk/linux140/download.html >>> >>> Is this right? >> >> >> >> Yes. But see here, as Thomas suggested - >> http://directory.fedora.redhat.com/wiki/FAQ#Exception_in_thread_.22main.22_java.lang.ExceptionInInitializerError >> >> >>> >>> Richard Megginson wrote: >>> >>>> Golden Butler wrote: >>>> >>>>> Thanks Richard. I tried running the export command like you >>>>> suggested, but I still get the same error message. >>>> >>>> >>>> >>>> >>>> >>>> What is your JAVA_HOME setting? Where did you download the IBM JDK >>>> from? >>>> >>>>> >>>>> Golden Butler >>>>> IT Support >>>>> >>>>> Center for Neighborhood Technology >>>>> 2125 W. North Avenue >>>>> Chicago, IL 60647 >>>>> >>>>> 773-269-4061 >>>>> golden@cnt.org >>>>> www.cnt.org >>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> *From:* Richard Megginson [mailto:rmeggins@redhat.com] >>>>> *To:* golden@cnt.org >>>>> *Cc:* fedora-directory-users@redhat.com >>>>> *Sent:* Tue, 06 Dec 2005 09:03:01 -0600 >>>>> *Subject:* Re: [Fedora-directory-users] Cant''t Start Console >>>>> >>>>> Try >>>>> export LD_LIBRARY_PATH=/opt/fedora-ds/shared/lib >>>>> then ./startconsole >>>>> does the problem go away? >>>>> >>>>> Golden Butler wrote: >>>>> >>>>> > Thanks for the help. I''ve installed the IBM java kit and >>>>> successfully >>>>> > exported JAVA_HOME to the install path. >>>>> > Now when I run ./startconsole, I get the following error: >>>>> > >>>>> > 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:2171) >>>>> > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2006) >>>>> > at java.lang.Runtime.loadLibrary0(Runtime.java:824) >>>>> > at java.lang.System.loadLibrary(System.java:910) >>>>> > 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 >>>>> > >>>>> > Is this error saying something with the Java gui is screwed up? >>>>> > >>>>> > - Delamatrix >>>>> > >>>>> > >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> > *From:* Richard Megginson [mailto:rmeggins@redhat.com >>>>> <javascript:ki8a0("new","rmeggins@redhat.com")>] >>>>> > *To:* golden@cnt.org >>>>> <javascript:ki8a0("new","golden@cnt.org")>, >>>>> General discussion list for the Fedora >>>>> > Directory server project. >>>>> [mailto:fedora-directory-users@redhat.com >>>>> <javascript:ki8a0("new","fedora-directory-users@redhat.com")>] >>>>> > *Sent:* Mon, 05 Dec 2005 22:09:19 -0600 >>>>> > *Subject:* Re: [Fedora-directory-users] Cant''t Start Console >>>>> > >>>>> > Golden Butler wrote: >>>>> > >>>>> > > I''ve just installed fedora directory server on my fedora >>>>> core 4 >>>>> > > machine. The installation was a breeze, but when I go to >>>>> start the >>>>> > > console, I get the following error: >>>>> > > >>>>> > > ./startconsole: Your JAVA_HOME environment variable is not >>>>> set. >>>>> > > Please set it appropriately. >>>>> > >>>>> > export JAVA_HOME=/path/to/java e.g. on my Fedora Core 4 system >>>>> > with the >>>>> > RHEL4 IBM 1.4.2 JDK: >>>>> > export JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 >>>>> > >>>>> > > >>>>> > > I''ve confirmend that I indeed have java run time >>>>> installed. Is >>>>> > there >>>>> > > some config somewhere that I need to set or is ignoring? Any >>>>> > help or >>>>> > > suggestions will be appreciated. Thanks >>>>> > > >>>>> > > - Delamatrix >>>>> > > >>>>> > >>>>> >>>>> >------------------------------------------------------------------------ >>>>> >>>>> > > >>>>> > >-- >>>>> > >Fedora-directory-users mailing list >>>>> > >Fedora-directory-users@redhat.com >>>>> <javascript:ki8a0("new","Fedora-directory-users@redhat.com")> >>>>> > <javascript:ki8a0("new","Fedora-directory-users@redhat.com >>>>> <javascript:ki8a0("new","Fedora-directory-users@redhat.com")>")> >>>>> > >https://www.redhat.com/mailman/listinfo/fedora-directory-users >>>>> > > >>>>> > > >>>>> > >>>>> >>> >
On Tue, 2005-12-06 at 23:00 -0600, Golden Butler wrote:> thanks for the link! now excuse me my linux ignorance here, but where > do I copy this scripts to/etc/init.d/> , and what do I name them?naming them as they appear in the url without the -ini.d would make sense. Something like: fedora-ds fedora-ds-admin to start the services: /etc/init.d/fedora-ds start /etc/init.d/fedora-ds-admin start or leave off the start option to see what else you can do. To have the servers start on boot do: /sbin/chkconfig --add fedora-ds /sbin/chkconfig --add fedora-ds-admin> > ______________________________________________________________ > From: Richard Megginson [mailto:rmeggins@redhat.com] > To: Golden Butler [mailto:golden@cnt.org] > Cc: fedora-directory-users@redhat.com > Sent: Tue, 06 Dec 2005 22:49:30 -0600 > Subject: Re: [Fedora-directory-users] Cant''t Start Console > > Golden Butler wrote: > > > Great! That worked. I didn''t have the xorg* package > installed. Now > > the console starts. I''m pretty new to Fedora Core 4, so how > can I get > > the directory server to start on boot up? > > http://directory.fedora.redhat.com/wiki/Howto:SysVInit > > > > > Richard Megginson wrote: > > > >> Golden Butler wrote: > >> > >>> $JAVA_HOME = /opt/IBMJava2-142 > >>> > >>> Downloaded IBM JDK from = > >>> > http://www-128.ibm.com/developerworks/java/jdk/linux140/download.html > >>> > >>> Is this right? > >> > >> > >> > >> Yes. But see here, as Thomas suggested - > >> > http://directory.fedora.redhat.com/wiki/FAQ#Exception_in_thread_.22main.22_java.lang.ExceptionInInitializerError > >> > >> > >>> > >>> Richard Megginson wrote: > >>> > >>>> Golden Butler wrote: > >>>> > >>>>> Thanks Richard. I tried running the export command like > you > >>>>> suggested, but I still get the same error message. > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> What is your JAVA_HOME setting? Where did you download > the IBM JDK > >>>> from? > >>>> > >>>>> > >>>>> Golden Butler > >>>>> IT Support > >>>>> > >>>>> Center for Neighborhood Technology > >>>>> 2125 W. North Avenue > >>>>> Chicago, IL 60647 > >>>>> > >>>>> 773-269-4061 > >>>>> golden@cnt.org > >>>>> www.cnt.org > >>>>> > >>>>> > >>>>> > ------------------------------------------------------------------------ > >>>>> > >>>>> *From:* Richard Megginson [mailto:rmeggins@redhat.com] > >>>>> *To:* golden@cnt.org > >>>>> *Cc:* fedora-directory-users@redhat.com > >>>>> *Sent:* Tue, 06 Dec 2005 09:03:01 -0600 > >>>>> *Subject:* Re: [Fedora-directory-users] Cant''t Start > Console > >>>>> > >>>>> Try > >>>>> export LD_LIBRARY_PATH=/opt/fedora-ds/shared/lib > >>>>> then ./startconsole > >>>>> does the problem go away? > >>>>> > >>>>> Golden Butler wrote: > >>>>> > >>>>> > Thanks for the help. I''ve installed the IBM java kit > and > >>>>> successfully > >>>>> > exported JAVA_HOME to the install path. > >>>>> > Now when I run ./startconsole, I get the following > error: > >>>>> > > >>>>> > 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:2171) > >>>>> > at > java.lang.ClassLoader.loadLibrary(ClassLoader.java:2006) > >>>>> > at java.lang.Runtime.loadLibrary0(Runtime.java:824) > >>>>> > at java.lang.System.loadLibrary(System.java:910) > >>>>> > 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 > >>>>> > > >>>>> > Is this error saying something with the Java gui is > screwed up? > >>>>> > > >>>>> > - Delamatrix > >>>>> > > >>>>> > > >>>>> > >>>>> > ------------------------------------------------------------------------ > >>>>> > >>>>> > *From:* Richard Megginson [mailto:rmeggins@redhat.com > >>>>> <javascript:ki8a0("new","rmeggins@redhat.com")>] > >>>>> > *To:* golden@cnt.org > >>>>> <javascript:ki8a0("new","golden@cnt.org")>, > >>>>> General discussion list for the Fedora > >>>>> > Directory server project. > >>>>> [mailto:fedora-directory-users@redhat.com > >>>>> > <javascript:ki8a0("new","fedora-directory-users@redhat.com")>] > >>>>> > *Sent:* Mon, 05 Dec 2005 22:09:19 -0600 > >>>>> > *Subject:* Re: [Fedora-directory-users] Cant''t Start > Console > >>>>> > > >>>>> > Golden Butler wrote: > >>>>> > > >>>>> > > I''ve just installed fedora directory server on my > fedora > >>>>> core 4 > >>>>> > > machine. The installation was a breeze, but when I > go to > >>>>> start the > >>>>> > > console, I get the following error: > >>>>> > > > >>>>> > > ./startconsole: Your JAVA_HOME environment variable > is not > >>>>> set. > >>>>> > > Please set it appropriately. > >>>>> > > >>>>> > export JAVA_HOME=/path/to/java e.g. on my Fedora Core > 4 system > >>>>> > with the > >>>>> > RHEL4 IBM 1.4.2 JDK: > >>>>> > export JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 > >>>>> > > >>>>> > > > >>>>> > > I''ve confirmend that I indeed have java run time > >>>>> installed. Is > >>>>> > there > >>>>> > > some config somewhere that I need to set or is > ignoring? Any > >>>>> > help or > >>>>> > > suggestions will be appreciated. Thanks > >>>>> > > > >>>>> > > - Delamatrix > >>>>> > > > >>>>> > > >>>>> > >>>>> > >------------------------------------------------------------------------ > >>>>> > >>>>> > > > >>>>> > >-- > >>>>> > >Fedora-directory-users mailing list > >>>>> > >Fedora-directory-users@redhat.com > >>>>> > <javascript:ki8a0("new","Fedora-directory-users@redhat.com")> > >>>>> > > <javascript:ki8a0("new","Fedora-directory-users@redhat.com > >>>>> > <javascript:ki8a0("new","Fedora-directory-users@redhat.com")>")> > >>>>> > > >https://www.redhat.com/mailman/listinfo/fedora-directory-users > >>>>> > > > >>>>> > > > >>>>> > > >>>>> > >>> > > > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users
thanks Pete! I''ve tested the scripts, and they indeed start
fedora-directory. But when I try to get them to at boot up issuing
/sbin/chkconfig --add fedora-ds
I get the following error:
service fedora-ds does not support chkconfig
Any ideas?
- Delamatrix
_____
From: Pete Rowley [mailto:pete@openrowley.com]
To: golden@cnt.org, General discussion list for the Fedora Directory server
project. [mailto:fedora-directory-users@redhat.com]
Sent: Wed, 07 Dec 2005 02:11:28 -0600
Subject: Re: [Fedora-directory-users] Cant''t Start Console
On Tue, 2005-12-06 at 23:00 -0600, Golden Butler wrote:> thanks for the link! now excuse me my linux ignorance here, but where
> do I copy this scripts to
/etc/init.d/
> , and what do I name them?
naming them as they appear in the url without the -ini.d would make
sense. Something like:
fedora-ds
fedora-ds-admin
to start the services:
/etc/init.d/fedora-ds start
/etc/init.d/fedora-ds-admin start
or leave off the start option to see what else you can do.
To have the servers start on boot do:
/sbin/chkconfig --add fedora-ds
/sbin/chkconfig --add fedora-ds-admin
>
> ______________________________________________________________
> From: Richard Megginson [mailto:rmeggins@redhat.com]
> To: Golden Butler [mailto:golden@cnt.org]
> Cc: fedora-directory-users@redhat.com
> Sent: Tue, 06 Dec 2005 22:49:30 -0600
> Subject: Re: [Fedora-directory-users] Cant''t Start Console
>
> Golden Butler wrote:
>
> > Great! That worked. I didn''t have the xorg* package
> installed. Now
> > the console starts. I''m pretty new to Fedora Core 4,
so how
> can I get
> > the directory server to start on boot up?
>
> http://directory.fedora.redhat.com/wiki/Howto:SysVInit
>
> >
> > Richard Megginson wrote:
> >
> >> Golden Butler wrote:
> >>
> >>> $JAVA_HOME = /opt/IBMJava2-142
> >>>
> >>> Downloaded IBM JDK from =
> >>>
>
http://www-128.ibm.com/developerworks/java/jdk/linux140/download.html
> >>>
> >>> Is this right?
> >>
> >>
> >>
> >> Yes. But see here, as Thomas suggested -
> >>
>
http://directory.fedora.redhat.com/wiki/FAQ#Exception_in_thread_.22main.22_java.lang.ExceptionInInitializerError
> >>
> >>
> >>>
> >>> Richard Megginson wrote:
> >>>
> >>>> Golden Butler wrote:
> >>>>
> >>>>> Thanks Richard. I tried running the export
command like
> you
> >>>>> suggested, but I still get the same error
message.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> What is your JAVA_HOME setting? Where did you
download
> the IBM JDK
> >>>> from?
> >>>>
> >>>>>
> >>>>> Golden Butler
> >>>>> IT Support
> >>>>>
> >>>>> Center for Neighborhood Technology
> >>>>> 2125 W. North Avenue
> >>>>> Chicago, IL 60647
> >>>>>
> >>>>> 773-269-4061
> >>>>> golden@cnt.org
> >>>>> www.cnt.org
> >>>>>
> >>>>>
> >>>>>
>
------------------------------------------------------------------------
> >>>>>
> >>>>> *From:* Richard Megginson
[mailto:rmeggins@redhat.com]
> >>>>> *To:* golden@cnt.org
> >>>>> *Cc:* fedora-directory-users@redhat.com
> >>>>> *Sent:* Tue, 06 Dec 2005 09:03:01 -0600
> >>>>> *Subject:* Re: [Fedora-directory-users]
Cant''t Start
> Console
> >>>>>
> >>>>> Try
> >>>>> export
LD_LIBRARY_PATH=/opt/fedora-ds/shared/lib
> >>>>> then ./startconsole
> >>>>> does the problem go away?
> >>>>>
> >>>>> Golden Butler wrote:
> >>>>>
> >>>>> > Thanks for the help. I''ve
installed the IBM java kit
> and
> >>>>> successfully
> >>>>> > exported JAVA_HOME to the install path.
> >>>>> > Now when I run ./startconsole, I get the
following
> error:
> >>>>> >
> >>>>> > 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:2171)
> >>>>> > at
> java.lang.ClassLoader.loadLibrary(ClassLoader.java:2006)
> >>>>> > at
java.lang.Runtime.loadLibrary0(Runtime.java:824)
> >>>>> > at
java.lang.System.loadLibrary(System.java:910)
> >>>>> > 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
> >>>>> >
> >>>>> > Is this error saying something with the
Java gui is
> screwed up?
> >>>>> >
> >>>>> > - Delamatrix
> >>>>> >
> >>>>> >
> >>>>>
> >>>>>
>
------------------------------------------------------------------------
> >>>>>
> >>>>> > *From:* Richard Megginson
[mailto:rmeggins@redhat.com
> >>>>>
<javascript:ki8a0("new","rmeggins@redhat.com")>]
> >>>>> > *To:* golden@cnt.org
> >>>>>
<javascript:ki8a0("new","golden@cnt.org")>,
> >>>>> General discussion list for the Fedora
> >>>>> > Directory server project.
> >>>>> [mailto:fedora-directory-users@redhat.com
> >>>>>
>
<javascript:ki8a0("new","fedora-directory-users@redhat.com")>]
> >>>>> > *Sent:* Mon, 05 Dec 2005 22:09:19 -0600
> >>>>> > *Subject:* Re: [Fedora-directory-users]
Cant''t Start
> Console
> >>>>> >
> >>>>> > Golden Butler wrote:
> >>>>> >
> >>>>> > > I''ve just installed fedora
directory server on my
> fedora
> >>>>> core 4
> >>>>> > > machine. The installation was a
breeze, but when I
> go to
> >>>>> start the
> >>>>> > > console, I get the following error:
> >>>>> > >
> >>>>> > > ./startconsole: Your JAVA_HOME
environment variable
> is not
> >>>>> set.
> >>>>> > > Please set it appropriately.
> >>>>> >
> >>>>> > export JAVA_HOME=/path/to/java e.g. on my
Fedora Core
> 4 system
> >>>>> > with the
> >>>>> > RHEL4 IBM 1.4.2 JDK:
> >>>>> > export
JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2
> >>>>> >
> >>>>> > >
> >>>>> > > I''ve confirmend that I
indeed have java run time
> >>>>> installed. Is
> >>>>> > there
> >>>>> > > some config somewhere that I need to
set or is
> ignoring? Any
> >>>>> > help or
> >>>>> > > suggestions will be appreciated.
Thanks
> >>>>> > >
> >>>>> > > - Delamatrix
> >>>>> > >
> >>>>> >
> >>>>>
> >>>>>
>
>------------------------------------------------------------------------
> >>>>>
> >>>>> > >
> >>>>> > >--
> >>>>> > >Fedora-directory-users mailing list
> >>>>> > >Fedora-directory-users@redhat.com
> >>>>>
>
<javascript:ki8a0("new","Fedora-directory-users@redhat.com")>
> >>>>> >
>
<javascript:ki8a0("new","Fedora-directory-users@redhat.com
> >>>>>
>
<javascript:ki8a0("new","Fedora-directory-users@redhat.com")>")>
> >>>>> >
> >https://www.redhat.com/mailman/listinfo/fedora-directory-users
> >>>>> > >
> >>>>> > >
> >>>>> >
> >>>>>
> >>>
> >
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users@redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
On Thu, 2005-12-08 at 15:24 -0600, Golden Butler wrote:> thanks Pete! I''ve tested the scripts, and they indeed start fedora- > directory. But when I try to get them to at boot up issuing > > /sbin/chkconfig --add fedora-ds > > I get the following error: > > service fedora-ds does not support chkconfig > > Any ideas?---- yeah - some of the samples need the line to be formatted something more like this... # chkconfig: 345 86 14 ^^^ runlevels Craig