问题描述
我尝试安装Pentaho,但始终收到以下错误消息:
运行安装后步骤时出现问题。安装可能无法正确完成
运行sc config pentahobiservernum1depend = Pentaho Solution Repository-1时出错:程序以错误退出代码结束。
I tried to install Pentaho but I keep getting this error message: Problem running post-install step. Installation may not complete correctlyError running sc config pentahobiservernum1 depend= "Pentaho Solution Repository-1" : Program ended with an error exit code.
关闭后我也得到的那个:
安装无法启动Data Integration Server
After I close that one I also get :Installation is unable to start Data Integration Server
有人解决此问题吗?
推荐答案
我也遇到了这个问题,我付出了巨大的努力,终于找到了解决方案。
如果已安装Java,请确保环境变量为 JRE_HOME
而不是 JAVA_HOME
。
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
.
根据Oracle / Sun / JAVA:
JAVA_HOME
变量旨在指向到JDK。当Tomcat看到 JAVA_HOME
时,它将启用额外的调试功能。在Tomcat的早期版本(6.0.39及更低版本)中,将 JAVA_HOME
设置为JRE位置会让您脱颖而出。
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.
JRE_HOME
变量旨在指向JRE。当Tomcat看到此提示时,不会启用额外的调试。这样做的目的是针对不希望启用该级别日志记录的Production Server。
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.
从Tomcat 6.0.40开始(Pentaho 5.2随6.0.41一起提供)已经解决了此问题,现在需要您正确设置 JRE_HOME
或 JAVA_HOME
变量。
摘要: JAVA_HOME
应该指向jdk。 JRE_HOME
应该指向JRE。新的tomcat版本不允许进行错误的设置。
作为一种替代方法:由于Pentaho随Java一起提供,因此您可以卸载所有JRE和JDK以及相关的Java变量,然后让Pentaho自己完成
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
这篇关于无法安装pentaho业务分析5.2.0.0-209-x64的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!