I did a reboot/restart of my ec2 cluster and then when i try to start ambari server it always fails.
This is the screenshot,
This is the log info,
18 Jun 2020 05:13:37,523 ERROR [main] DBAccessorImpl:119 - Error while creating database accessor
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
I also tried to restart my server( I know that its not already running)
Can anyone help me in resolving this issue?
Thank you in Advance.
Hello, I dont know how to check because i am new to these, Can you help me check it out?
this is the output i got
udhav@ip-10-70-14-10:~$ cat /etc/ambari-server/conf/ambari.properties |grep -i jdbc
Hi @Udhav ,
Please check below solved post if it can help you with this issue.
@Udhav It appears your mysql is not running after a restart. Try this:
service mariabdb start
chkconfig mariadb on
Also, I would refrain from using "localhost" or "127.0.0.1". This opens doors for networking and permissions issues. Please always use an FQDN, for example: c3701.ambari.apache.org that is mapped to public IP addresses on any given node via /etc/hosts. That FQDN should also be the hostname for each node as well.
If this answer resolves your issue or allows you to move forward, please choose to ACCEPT this solution and close this topic. If you have further dialogue on this topic please comment here or feel free to private message me. If you have new questions related to your Use Case please create separate topic and feel free to tag me in your post.
Steven @ DFHZ