无法确定服务器PID。在ambari

时间:2017-10-28 13:56:08

标签: ubuntu ambari

您好,我是Ambari的首次亮相,我遇到了服务器PID问题:

我正按照中所示的步骤尝试安装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:

1 个答案:

答案 0 :(得分:0)

您是从二进制包还是从源安装Ambari? com.google.inject.CreationException表示依赖注入配置已损坏,通常指向源代码损坏