Goolsby, Daniel S (Daniel)
2006-Mar-06 19:08 UTC
RE: [Fedora-directory-users] HELP: Error while start startconsole
I had a similar problem and corrected it by creating the following file: -bash-3.00$ vi /etc/profile.d/java.sh # set java home enviroment variable JAVA_HOME=/usr/java/jre1.5.0_06/bin export JAVA_HOME You might have to have java in your path, that can be done with export PATH=$PATH:$JAVA_HOME (in the same profile) Where "/usr/java/jre1.5.0_06/bin" is the path where java is installed on your box. Daniel -----Original Message----- From: fedora-directory-users-bounces@redhat.com [mailto:fedora-directory-users-bounces@redhat.com] On Behalf Of Alex Sent: Monday, March 06, 2006 11:36 AM To: ''General discussion list for the Fedora Directory server project.'' Subject: R: [Fedora-directory-users] HELP: Error while start startconsole> > > Which java are you using? What is your operating system and version? >Hi, thanks for interesting on my problem.... Ok, this is the scenario: I''m testing on lab with 2 server configured with CentOs 4.2 operating System (derived from redhat enterprise Source)...in their website there is a faq that says to download Fedora directory server...1.0.2 is compatible......everything works well and install finished correcty. But when I try to start console I received error below...I have the exact copy on vmware for testing at home...so if you have some good news...I can try on fly... Java is Sun Version version 1.4.2 but I have downloaded 1.5.0 too Thanks in advance> >./startconsole -u magobin -a http://ldap.example.com:55087 > >Warning: -ms8m not understood. Ignoring. > >Warning: -mx64m not understood. Ignoring. > >Exception in thread "main" java.lang.NoSuchMethodError: method > >com.netscape.management.client.util.RemoteImage.setImage was > not found. > > at _Jv_ResolvePoolEntry(java.lang.Class, int)...CUT -- Fedora-directory-users mailing list Fedora-directory-users@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-users ______________________________________________________________________ This e-mail has been scanned by Verizon Managed Email Content Service, using Skeptic(tm) technology powered by MessageLabs. For more information on Verizon Managed Email Content Service, visit http://www.verizonbusiness.com. ______________________________________________________________________ ______________________________________________________________________ This e-mail has been scanned by Verizon Managed Email Content Service, using Skeptic technology powered by MessageLabs. For more information on Verizon Managed Email Content Service, visit http://www.verizonbusiness.com. ______________________________________________________________________
Alessandro Binarelli
2006-Mar-07 08:07 UTC
Re: [Fedora-directory-users] HELP: Error while start startconsole
> > -bash-3.00$ vi /etc/profile.d/java.sh > # set java home enviroment variable > JAVA_HOME=/usr/java/jre1.5.0_06/bin > export JAVA_HOME > > You might have to have java in your path, that can be done with > export PATH=$PATH:$JAVA_HOME (in the same profile) > > Where "/usr/java/jre1.5.0_06/bin" is the path where java is installed on > your box. > > Daniel >uhm...JAVA_HOME is not set on my distro....but in more cases is not required..... But when I found the error I tried to set it....in effect I exported the following path: export JAVA_HOME="/usr/java/jre1.4.2" ....I thought that was right....I don''t exported bin... Ok....now in the (my) Afternoon I try to set as you say me.... regards Alex
Alex
2006-Mar-07 17:06 UTC
R: [Fedora-directory-users] HELP: Error while start startconsole
> -bash-3.00$ vi /etc/profile.d/java.sh> # set java home enviroment variable > JAVA_HOME=/usr/java/jre1.5.0_06/bin > export JAVA_HOME > > You might have to have java in your path, that can be done with > export PATH=$PATH:$JAVA_HOME (in the same profile) > > Where "/usr/java/jre1.5.0_06/bin" is the path where java is installed on > your box. > > Daniel Ok, I tried to add in my path java path....then if I check with echo $PATH if it was right.....it was, but when I try to run startconsole it responds with te same error.... What can I do now???is there something to try??? thanks Alex
Richard Megginson
2006-Mar-07 17:10 UTC
Re: R: [Fedora-directory-users] HELP: Error while start startconsole
Alex wrote:> > -bash-3.00$ vi /etc/profile.d/java.sh > > # set java home enviroment variable > > JAVA_HOME=/usr/java/jre1.5.0_06/binThis should be JAVA_HOME=/usr/java/jre1.5.0_06 JAVA_HOME is the _parent_ of the bin directory.> > export JAVA_HOME > > > > You might have to have java in your path, that can be done with > > export PATH=$PATH:$JAVA_HOME (in the same profile)....:$JAVA_HOME/bin> > > > Where "/usr/java/jre1.5.0_06/bin" is the path where java is > installed on > > your box. > > > > Daniel > > > Ok, I tried to add in my path java path....then if I check with echo > $PATH if it was right.....it was, but when I try to run > startconsole it responds with te same error.... > > What can I do now???is there something to try??? > > > thanks > > Alex > >------------------------------------------------------------------------ > >-- >Fedora-directory-users mailing list >Fedora-directory-users@redhat.com >https://www.redhat.com/mailman/listinfo/fedora-directory-users > >
Alex
2006-Mar-07 17:19 UTC
R: R: [Fedora-directory-users] HELP: Error while start startconsole
> > ....:$JAVA_HOME/bin > > > > > > > Where "/usr/java/jre1.5.0_06/bin" is the path where java is > > installed on > your box. > > > > > > Daniel > > > >My Path now is: [root@nodo1 fedora-ds]# echo $PATH /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/b in:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/java/j2re1.4.2_11/bin I think that this is right! Alex
Richard Megginson
2006-Mar-07 17:29 UTC
Re: R: R: [Fedora-directory-users] HELP: Error while start startconsole
Alex wrote:> > > > >>....:$JAVA_HOME/bin >> >> >> >>> > >>> > Where "/usr/java/jre1.5.0_06/bin" is the path where java is >>>installed on > your box. >>> > >>> > Daniel >>> >>> >>> >>> > > > >My Path now is: > > >[root@nodo1 fedora-ds]# echo $PATH > >/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/b >in:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/java/j2re1.4.2_11/bin > > >I think that this is right! > >Yes. How about JAVA_HOME?>Alex > >-- >Fedora-directory-users mailing list >Fedora-directory-users@redhat.com >https://www.redhat.com/mailman/listinfo/fedora-directory-users > >
Alex
2006-Mar-07 17:35 UTC
R: R: [Fedora-directory-users] HELP: Error while start startconsole
Sorry Richard, but I don''t understand.....what have I to do with your attachement?? Can you explain me please?? Thanks in advance Alex
Richard Megginson
2006-Mar-07 17:40 UTC
Re: R: R: [Fedora-directory-users] HELP: Error while start startconsole
Alex wrote:> Sorry Richard, but I don''t understand.....what have I to do with your >attachement?? > >In order to run the console (startconsole) you need to define the environment variable JAVA_HOME to the parent directory of your java bin directory e.g. on my Fedora Core 4 system, I have: # ls /usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 bin include jre lib So I set JAVA_HOME: JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 ; export JAVA_HOME Then I can run startconsole>Can you explain me please?? > > >Thanks in advance >Alex > >-- >Fedora-directory-users mailing list >Fedora-directory-users@redhat.com >https://www.redhat.com/mailman/listinfo/fedora-directory-users > >
Alex
2006-Mar-07 18:03 UTC
R: R: R: [Fedora-directory-users] HELP: Error while startstartconsole
> # ls /usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 > bin include jre lib > > So I set JAVA_HOME: > JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 ; export JAVA_HOME > > Then I can run startconsole >Ok, for test... - I''ve unistalled jre-1.4.2 and downloaded and installed jre1_5_0_06-linux-i586.rpm from Sun - after installation I check where system put the files, so Rpm -ql jre ....return that jre is installed on /usr/java/java1.5.0_06/ If I do ls /usr/java/java1.5.0_06/ The output is: Bin COPYRIGHT lib man README Welcome.html CHANGES javaws LICENSE plugin THIRDPARTYLICENSEREADME.txt ..but exporting JAVA_HOME with that path doen''t work for me :-( You have IBM and Include....I''ve downloaded only jre.... Any suggestion? Alex
Nathan Kinder
2006-Mar-07 18:16 UTC
Re: R: R: R: [Fedora-directory-users] HELP: Error while startstartconsole
Alex wrote:> > > >># ls /usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 >>bin include jre lib >> >>So I set JAVA_HOME: >>JAVA_HOME=/usr/lib/jvm/java-1.4.2-ibm-1.4.2.2 ; export JAVA_HOME >> >>Then I can run startconsole >> >> >> > > >Ok, for test... >- I''ve unistalled jre-1.4.2 and downloaded and installed >jre1_5_0_06-linux-i586.rpm from Sun >- after installation I check where system put the files, so > >Rpm -ql jre ....return that jre is installed on /usr/java/java1.5.0_06/ > >If I do >ls /usr/java/java1.5.0_06/ > >The output is: > >Bin COPYRIGHT lib man README Welcome.html >CHANGES javaws LICENSE plugin THIRDPARTYLICENSEREADME.txt > >..but exporting JAVA_HOME with that path doen''t work for me :-( > >You have IBM and Include....I''ve downloaded only jre.... >Any suggestion? > >Try running "java --showversion" and let us know what the output is.>Alex > >-- >Fedora-directory-users mailing list >Fedora-directory-users@redhat.com >https://www.redhat.com/mailman/listinfo/fedora-directory-users > >
Alex
2006-Mar-07 18:56 UTC
R: R: R: R: [Fedora-directory-users] HELP: Error while start startconsole
> Try running "java --showversion" and let us know what the output is. >The output is: Java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing) I have to inform you that this is the output from /usr/java/jre1.5.0_06/bin/java ; I specific becase in path I still have java..from 1.4.2....It''s impossible because i have unistalled it (rpm -e j2re)....so...now I want to rename java(1.4.2), because this is in the path and this is before the new java path! Thanks Alex
Alex
2006-Mar-07 19:11 UTC
R: R: R: R: [Fedora-directory-users] HELP: Error whilestartstartconsole [SOLVED]
Ok, now I can open console....the problem was that I still have java in /usr/bin from old installation (default installation)....follwing the link it came from /etc/alternatives and then point to /usr/java/1.4.2.....renaming it and putting /JAVA_HOME/bin in my path now it works and open splash image.....thanks to all for support.... Now I have to find issue why cannot connect to the Admin Server....but this is anther story...:-)) Thank to all Alex