Page 1 of 1

Fresh install, startup fails

Posted: Thu Mar 29, 2012 7:59 pm
by odomera
Dear all,

I'm currently trying to install a fresh OpenEMM installation (yes, for the first time :D ) and the following error occurs:

Code: Select all

Start /home/openemm/bin/scripts/bav-update.py .. done.
Start /home/openemm/bin/scripts/bav-trigger.py .. done.
Start /home/openemm/bin/scripts/bavd.py .. done.
Start /home/openemm/bin/bav -L INFO .. done.
Start python /home/openemm/bin/scripts/recovery.py .. done.
Start /home/openemm/bin/scripts/update.py account bounce .. done.
Start /home/openemm/bin/scripts/pickdist.py .. done.
Stopping obsolete sendmail processes:   -15:8373 -15:8376 done.
Starting sendmails:   listener Starting Mail Transport Agent (MTA): sendmail.
 admin queue  mail queue  done.
Start /home/openemm/bin/scripts/slrtscn.py .. done.
Starting up Tomcat ......
Check Java installation          :FAILED
Since no other error occurs this makes it a bit hard for me to debug, and trying to find help here and with Google due to the error also didn't point me in the right direction.

Any hints from you experienced guys here would be highly appreciated :D

Thanks,

Oliver

Re: Fresh install, startup fails

Posted: Thu Mar 29, 2012 8:04 pm
by maschoff
It looks like you did not install Java properly. Please have a look at the Java section in the install guide.

Re: Fresh install, startup fails

Posted: Thu Mar 29, 2012 8:18 pm
by odomera
Thanks for your feedback.

I installed Java according to the install doc:

Code: Select all

~$ java/bin/java -version

java version "1.6.0_26"
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)
This does look good to me, doesn't it?

Re: Fresh install, startup fails

Posted: Thu Mar 29, 2012 8:33 pm
by maschoff
According to the output you posted $JAVA_HOME/bin/java does not exist.

Re: Fresh install, startup fails

Posted: Thu Mar 29, 2012 9:38 pm
by odomera
Hmm, JAVA_HOME is set in bash_profile as JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.26/jre where it's existing?!

Sorry for the noob questions here, not quite a Java expert :lol:

Re: Fresh install, startup fails

Posted: Thu Mar 29, 2012 9:42 pm
by odomera
Ah damn, I just noticed this:

"edit /home/openemm/bin/openemm.sh after the installation of the OpenEMM tarball and adjust parameter JAVA_HOME accordingly"

Yeah, well, ok sorry guys, that step is done 8)