在./start-pentaho.sh啓動BI平臺服務器後,訪問BI平臺(http://192.168.1.227:8080)發生以下異常:php
2015-01-27 14:17:08,865 ERROR [org.pentaho.platform.web.hsqldb.HsqlDatabaseStarterBean] HsqlDatabaseStarterBean.ERROR_0006 - The default port of 9001 is already in use. Do you already have HSQLDB running in another process? The HSQLDB Starter cannot continue.java 2015-01-27 14:17:23,865 ERROR [org.pentaho.platform.scheduler2.quartz.EmbeddedQuartzSystemListener] EmbeddedQuartzSystemListener.ERROR_0007_SQLERRORmysql org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (socket creation error)web at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)sql ···································數據庫 2015-01-27 14:17:23,867 ERROR [org.pentaho.platform.util.logging.Logger] Error: Pentahoapache 2015-01-27 14:17:23,867 ERROR [org.pentaho.platform.util.logging.Logger] misc-org.pentaho.platform.engine.core.system.PentahoSystem: org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 - 在試圖執行啓動sequenceorg.pentaho.platform.scheduler2.quartz.EmbeddedQuartzSystemListener發生錯誤api org.pentaho.platform.api.engine.PentahoSystemException: org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 - 在試圖執行啓動sequenceorg.pentaho.platform.scheduler2.quartz.EmbeddedQuartzSystemListener發生錯誤服務器 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)socket Caused by: org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 - 在試圖執行啓動sequenceorg.pentaho.platform.scheduler2.quartz.EmbeddedQuartzSystemListener發生錯誤 Caused by: org.pentaho.platform.api.engine.PentahoSystemException: PentahoSystem.ERROR_0014 - 在試圖執行啓動sequenceorg.pentaho.platform.scheduler2.quartz.EmbeddedQuartzSystemListener發生錯誤 at org.pentaho.platform.engine.core.system.PentahoSystem$2.call(PentahoSystem.java:399) ... 35 more 2015-01-27 14:17:23,868 ERROR [org.pentaho.platform.util.logging.Logger] Error end: |
此異常是由於端口衝突了:pentaho中某服務的端口9001被hadoop集羣中某服務佔用了。
中止hadoop集羣,可成功訪問BI平臺。
訪問phpMyAdmin時,報錯:cannot load MySQL extension, please check PHP Configuration".
沒法加載mysql(外鏈,英語)擴展,請檢查您的php配置。
To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed.
Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar.
yum install php-mysql(彷佛未解決問題,可是最後意外在谷歌中能夠訪問http://192.168.1.227/phpmyadmin/了,另外也不知道操做成功是否和修改/etc/php.ini文件有關【咱們在/etc/php.ini文件中,作了這樣的修改:將display_errors = OFF設置爲ON。】。)。
用戶名:root
密碼:123456
也就是mysql數據庫的用戶名和密碼。
另外,附上安裝PHPmyadmin的文檔:http://blog.csdn.net/u010943460/article/details/42397187