Reputation: 673
I tried to install Pentaho but I keep getting this error message: Problem running post-install step. Installation may not complete correctly Error running sc config pentahobiservernum1 depend= "Pentaho Solution Repository-1" : Program ended with an error exit code.
After I close that one I also get : Installation is unable to start Data Integration Server
Does anyone have a fix for this problem?
Upvotes: 2
Views: 1320
Reputation: 12465
I also encountered this issue, I did exert a huge effort and finally could find the solution for this.
If you have installed java make sure your environmental variable is JRE_HOME
and not JAVA_HOME
.
As per Oracle/Sun/JAVA:
The JAVA_HOME
Variable was designed to point to a JDK. When Tomcat sees a JAVA_HOME
it enables extra debugging. In previous version of Tomcat (6.0.39 and below), it would let you get away with having JAVA_HOME
set to a JRE location.
The JRE_HOME
Variable was designed to point to the JRE. When Tomcat sees this ts does not enable the extra debugging. The intention for this was for Production Server’s where you do not want that level of logging enabled.
Starting with Tomcat 6.0.40 (Pentaho 5.2 is shipped with 6.0.41) they have fixed this, and now require you to properly set the JRE_HOME
or the JAVA_HOME
variable.
SUMMARY: JAVA_HOME
should be pointed to a jdk. JRE_HOME
should point to JRE. New tomcat version won't allow the incorrect setting.
As an alternative way: Since Pentaho ships with Java you can uninstall all JRE and JDK and the related java variables and let Pentaho do it by itself
Upvotes: 1