Created 11-20-2017 07:15 PM
Hi, i am new to all of this,, i have created my instances on google cloud but i after ambari server setup , i tried to access amabri through UI but i am not able to access
Created 11-20-2017 07:21 PM
@Shyam Mishra kindly provide some more details about the issue. It would be great if you can probably attach the screenshot of error message.
Also, check running below command using root user and tell us what do you see:
ambari-server status
You will find the logs of ambari at this location: /var/log/ambari-server/
Kindly, attach them as well.
Thanks,
SKS
Created 11-20-2017 07:42 PM
hi , amabri -server status i have cehcked already it is in running state. when I try to access amabri web ui it shows me some DNS problem and if i repalce with ip it gives error as time out or more time taken, I have installed ambari server on machine that ip address i am taking as amabri server access.
Created 11-20-2017 07:54 PM
Did you check the GCP VPC traffic ports access rules? Is the traffic allowed to/from VPC?
Created 11-20-2017 07:50 PM
1. Please check if the "iptables" is disabled on the ambari server host?
# service iptables stop
2. Check if the port 8080 is listening on ambari server host.
# netstat -tnlpa | grep 8080
3. Please check from your remote host (Where you are running the browser to access ambari UI) to see if that port and IP address / Hostname of ambari is accessible?
# nc -v $AMBARI_HOSTNAME 8080 # nc -v $AMBARI_IP_ADDRESS 8080 (OR) # telnet $AMBARI_HOSTNAME 8080 # telnet $AMBARI_IP_ADDRESS 8080
>>> If above fails then you will need to see if there is any N/W issue which is causing your ambari server UI to be accessed from your machine.
>>> In many scenarios there is a proxy involved in the browser (Means Browsers Proxy setting can cause this issue). So please check if your browser has any Proxy settings?
.
Created 11-21-2017 04:58 PM
@Shyam Mishra Thanks for the further details.
Can you please check if your web server is up and running in your GCP compute engine? By default, it doesn't come with installed packages, so you have to install it separately using yum in Red Hat/Centos flavours and apt-get in Debian flavors.
Steps are below for Centos/Redhat machines:
#To check the installed package yum list installed httpd #To install http web server yum install httpd -y #To start the service of httpd webserver systemctl status httpd.service #Another way to start httpd service service start httpd #Once service is up and running restart your ambari server ambari-server restart #Now check the service status ambari-server status
Once these steps are executed you can check your Ambari portal link and let us know the status of the problem.
Please Note: You will not find IPtables services installed on your machine unless you have exclusively installed it on your GCP machine.
Regards,
SKS