Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Ambari server fails to start

$
0
0

I just installed Ambari on RHEL using MySQL DB. The server seems to start successfully but the log file has errors. I have verified that I am able to remotely connect to MySQL DB using MySQL workbench.
I have used the following command to specify the driver. I also ran the same command for setup.
ambari-server start –jdbc-driver /usr/share/java/mysql-connector-java.jar –jdbc-db mysql

Start Status
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
Ambari Server ‘start’ completed successfully.

But the log file has an error
22:50:24,806 INFO [main] Configuration:375 – Reading password from existing file
22:50:24,825 INFO [main] Configuration:561 – Hosts Mapping File null
22:50:24,825 INFO [main] HostsMap:60 – Using hostsmap file null
22:50:26,929 INFO [main] AmbariServer:563 – Getting the controller
22:50:29,240 INFO [main] StackExtensionHelper:380 – No services defined for stack: HDP-1.3.3

22:55:33,916 INFO [main] Configuration:375 – Reading password from existing file
22:55:33,934 INFO [main] Configuration:561 – Hosts Mapping File null
22:55:33,934 INFO [main] HostsMap:60 – Using hostsmap file null
22:55:36,105 INFO [main] AmbariServer:563 – Getting the controller
22:55:38,461 INFO [main] StackExtensionHelper:380 – No services defined for stack: HDP-1.3.3
23:01:57,845 ERROR [main] AmbariServer:576 – Failed to run the Ambari Server
com.google.inject.ProvisionException: Guice provision errors:

Log also has JDBC error:

Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCon


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>