这个问题是关于pentaho套件的server
组件,而不是PDI。
我成功地";已安装";并在我的windows盒子上运行服务器,但我在centos盒子上部署它是最困难的。
服务器信息,以及我迄今为止尝试过的内容:
#cat /etc/centos-release
CentOS Linux release 7.8.2003 (Core)
#wget --no-cookies --no-check-certificate --header "Cookie:oraclelicense=accept-securebackup-cookie"
http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.rpm
#rpm -ivh jdk-8u131-linux-x64.rpm
#java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
#cat /root/.bashrc #I know: whenever it runs as root, I'll change the user it runs under
export JAVA_HOME=/usr/java/jdk1.8.0_131
export JRE_HOME=/usr/java/jdk1.8.0_131/jre
#/home/XXX/pentaho-server/start-pentaho.sh
DEBUG: Using JAVA_HOME
DEBUG: _PENTAHO_JAVA_HOME=/usr/java/jdk1.8.0_131
DEBUG: _PENTAHO_JAVA=/usr/java/jdk1.8.0_131/bin/java
Using CATALINA_BASE: /home/XXX/pentaho-server/tomcat
Using CATALINA_HOME: /home/XXX/pentaho-server/tomcat
Using CATALINA_TMPDIR: /home/XXX/pentaho-server/tomcat/temp
Using JRE_HOME: /usr/java/jdk1.8.0_131/jre
Using CLASSPATH: /home/XXX/pentaho-server/tomcat/bin/bootstrap.jar:/home/XXX/pentaho-server/tomcat/bin/tomcat-juli.jar
Tomcat started.
然而,如果我netstat -antlp
,我看不到任何进程在8080端口上侦听。
所以,我去了tomcat日志文件:
#ls -lah /home/XXX/pentaho-server/tomcat/logs
total 120K
drwxrwxrwx 2 XXX XXX 4.0K Oct 30 21:23 .
drwxrwxrwx 10 XXX XXX 4.0K Sep 7 16:51 ..
-rw-r----- 1 XXX XXX 52K Oct 30 22:07 catalina.2020-10-30.log
-rw-r----- 1 XXX XXX 52K Oct 30 22:07 catalina.out
-rw-r----- 1 XXX XXX 0 Oct 30 20:47 host-manager.2020-10-30.log
-rw-r----- 1 XXX XXX 0 Oct 30 20:47 localhost.2020-10-30.log
-rw-r----- 1 XXX XXX 0 Oct 30 20:47 localhost_access_log.2020-10-30.txt
-rw-r----- 1 XXX XXX 0 Oct 30 20:47 manager.2020-10-30.log
#cat /home/XXX/pentaho-server/tomcat/logs/catalina.out
30-Oct-2020 22:07:57.014 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version name: Apache Tomcat/8.5.51
30-Oct-2020 22:07:57.020 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Feb 5 2020 22:26:25 UTC
30-Oct-2020 22:07:57.020 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version number: 8.5.51.0
30-Oct-2020 22:07:57.020 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
30-Oct-2020 22:07:57.020 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 3.10.0-042stab141.3
30-Oct-2020 22:07:57.020 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
30-Oct-2020 22:07:57.021 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/java/jdk1.8.0_131/jre
30-Oct-2020 22:07:57.021 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_131-b11
30-Oct-2020 22:07:57.021 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
30-Oct-2020 22:07:57.021 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /home/XXX/pentaho-server/tomcat
30-Oct-2020 22:07:57.022 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /home/XXX/pentaho-server/tomcat
30-Oct-2020 22:07:57.023 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/home/XXX/pentaho-server/tomcat/conf/logging.properties
30-Oct-2020 22:07:57.024 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
30-Oct-2020 22:07:57.025 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
30-Oct-2020 22:07:57.025 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
30-Oct-2020 22:07:57.025 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dorg.apache.catalina.security.SecurityListener.UMASK=0027
30-Oct-2020 22:07:57.027 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms2048m
30-Oct-2020 22:07:57.027 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx6144m
30-Oct-2020 22:07:57.028 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dsun.rmi.dgc.client.gcInterval=3600000
30-Oct-2020 22:07:57.028 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dsun.rmi.dgc.server.gcInterval=3600000
30-Oct-2020 22:07:57.029 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=utf8
30-Oct-2020 22:07:57.029 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -DDI_HOME=/home/XXX/pentaho-server/pentaho-solutions/system/kettle
30-Oct-2020 22:07:57.030 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
30-Oct-2020 22:07:57.030 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/home/XXX/pentaho-server/tomcat
30-Oct-2020 22:07:57.030 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/home/XXX/pentaho-server/tomcat
30-Oct-2020 22:07:57.031 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/home/XXX/pentaho-server/tomcat/temp
30-Oct-2020 22:07:57.031 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
30-Oct-2020 22:07:57.438 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
30-Oct-2020 22:07:57.472 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
30-Oct-2020 22:07:57.528 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1414 ms
30-Oct-2020 22:07:57.616 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
30-Oct-2020 22:07:57.617 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.51
30-Oct-2020 22:07:57.639 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/home/XXX/pentaho-server/tomcat/webapps/pentaho]
30-Oct-2020 22:07:57.757 WARNING [localhost-startStop-1] org.apache.catalina.startup.SetContextPropertiesRule.begin [SetContextPropertiesRule]{Context} Setting property 'docbase' to 'webapps/pentaho/' did not find a matching property.
唯一引起我注意的是最后一行,在我看来(远不是阅读tomcat日志的专家(,这可能是一个停止日志。
我没有主意了,我不知道如何进一步调试。
任何建议都将不胜感激!
非常感谢!
对于出现类似错误后来到这里的任何人:
检查您的dmesg
:我试图用太多的RAM内存运行tomcat服务。