Member since
10-28-2017
3
Posts
0
Kudos Received
0
Solutions
10-28-2017
04:42 PM
Thanks very much for your quick answer. For your questions related to Error 1 : I use Ambari server as a root. The command "ls -ld /var/run/ambari-server" generates : drwxr-xr-x 2 root root 40 oct. 28 16:32 /var/run/ambari-server The command "ls -lart /var/run/ambari-server" generates : total 0 drwxr-xr-x 2 root root 40 oct. 28 16:32 . drwxr-xr-x 26 root root 820 oct. 28 16:32 .. For your questions related to Error 2 : The command "grep 'jdbc' /etc/ambari-server/conf/ambari.properties" generates : server.jdbc.connection-pool=c3p0 server.jdbc.connection-pool.acquisition-size=5 server.jdbc.connection-pool.idle-test-interval=7200 server.jdbc.connection-pool.max-age=0 server.jdbc.connection-pool.max-idle-time=14400 server.jdbc.connection-pool.max-idle-time-excess=0 server.jdbc.database=postgres server.jdbc.database_name=ambari server.jdbc.driver=org.postgresql.Driver server.jdbc.hostname=masternode server.jdbc.port=5432 server.jdbc.postgres.schema=ambari server.jdbc.rca.driver=org.postgresql.Driver server.jdbc.rca.url=jdbc:postgresql://masternode:5432/ambari server.jdbc.rca.user.name=ambari server.jdbc.rca.user.passwd=/etc/ambari-server/conf/password.dat server.jdbc.url=jdbc:postgresql://masternode:5432/ambari server.jdbc.user.name=ambari server.jdbc.user.passwd=/etc/ambari-server/conf/password.dat
... View more
10-28-2017
01:58 PM
I
am trying to install Ambari 2.5.2.0
following the steps indicated in https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.2.0/bk_ambari-installation/content/ch_Getting_Ready.html I
use Ubuntu 14 My Internet access is
through a proxy and I tried the following two configurations: embedded
PostgreSQL, and a standalone PostgreSQL. In both cases, I have the
same error when I start Ambari server. The error message displayed on
the screen is the following: 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. Please,
do you have any idea of the origin of the problem? The
content of ambari-server.out
file is the following: Exception
in thread "main" com.google.inject.CreationException: Guice
creation errors: 1)
Error injecting constructor, java.lang.RuntimeException: Error while
creating database accessor
at
org.apache.ambari.server.orm.DBAccessorImpl.<init>(DBAccessorImpl.java:87)
at
org.apache.ambari.server.orm.DBAccessorImpl.class(DBAccessorImpl.java:75)
while
locating org.apache.ambari.server.orm.DBAccessorImpl
while
locating org.apache.ambari.server.orm.DBAccessor
for
field at
org.apache.ambari.server.orm.dao.DaoUtils.dbAccessor(DaoUtils.java:36)
at
org.apache.ambari.server.orm.dao.DaoUtils.class(DaoUtils.java:36)
while
locating org.apache.ambari.server.orm.dao.DaoUtils
for
field at
org.apache.ambari.server.orm.dao.UserDAO.daoUtils(UserDAO.java:45)
at
org.apache.ambari.server.orm.dao.UserDAO.class(UserDAO.java:45)
while
locating org.apache.ambari.server.orm.dao.UserDAO
for
field at
org.apache.ambari.server.controller.internal.ActiveWidgetLayoutResourceProvider.userDAO(ActiveWidgetLayoutResourceProvider.java:61) Caused
by: java.lang.RuntimeException: Error while creating database
accessor at
org.apache.ambari.server.orm.DBAccessorImpl.<init>(DBAccessorImpl.java:120) at
org.apache.ambari.server.orm.DBAccessorImpl$$FastClassByGuice$$86dbc63e.newInstance(<generated>) at
com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40) at
com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60) ......
... View more
Labels:
- Labels:
-
Apache Ambari