2017-10-28 429 views
1

你好我是一個ambari初次登臺,我有服務器PID的這個問題:無法確定服務器PID。在ambari

我試圖安裝Ambari 2.5.2.0按照 https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-installation/content/ch_Getting_Ready.html

指示的步驟,我使用Ubuntu 14和我互聯網訪問是通過代理。

我已經嘗試了以下兩種配置:1.嵌入PostgreSQL和2.獨立的PostgreSQL。在這兩種情況下,當我啓動Ambari服務器時,我都有同樣的錯誤。在屏幕上顯示的錯誤信息如下:

Server PID at: /var/run/ambari-server/ambari-server.pid Server out at: /var/log/ambari-server/ambari-server.out Server log at: /var/log/ambari-server/ambari-server.log Waiting for server start.........Unable to determine server PID. Retrying... ......Unable to determine server PID. Retrying... ......Unable to determine server PID. Retrying... 
ERROR: Exiting with exit code -1. REASON: Ambari Server java process died with exitcode 1. Check /var/log/ambari-server/ambari-server.out for more information. 

請問,你有什麼想法的問題的由來?

ambari-server.out文件的內容如下:

Exception in thread "main" com.google.inject.CreationException: Guice creation errors: 

回答

0

你從二進制包安裝Ambari,或者直接從源? com.google.inject.CreationException意味着依賴注入配置被破壞,並且通常指向損壞的源代碼