Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Ambari Install Wizard won't load

Re: Ambari Install Wizard won't load

New Contributor

Hi Predrag,

I have the three ambari Users ("%", "localhost", and the FQDN (hostname))

use ambari; show tables outputs:

ERROR 1049 (42000): Unknown database 'ambari'

hostname -f outputs:

hostname: Name or service not known

And now when I start ambari-server, this is what I get:

[root@centos7 /]# ambari-server start
Using python  /usr/bin/python2.7
Starting ambari-server
WARNING: The hostname was not found in the reverse DNS lookup. This may result in incorrect behavior. Please check the DNS setup and fix the issue.
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Server PID at: /var/run/ambari-server/
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server /var/run/ambari-server/ambari-server.exitcode: Permission denied
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.
[root@centos7 /]#

Re: Ambari Install Wizard won't load

Okay, first configure your hostname, for the current session you can just type "hostname YOUR-HOSTNAME", for the full setup refer to this. After that revisit Steps 3 and 4 of "Using Ambari with MySql" document to crate your Ambari database, create tables, and tell ambari-server that you are using MySql. By the way, hostnames must be set on all your nodes, otherwise you'll run into more troubles later.


Re: Ambari Install Wizard won't load

New Contributor

In the hosts file, there's only two entries

[root@centos7 ~]# vi /etc/hosts localhost localhost.localdomain localhost4 localhost4.localdomain4

::1 localhost localhost.localdomain localhost6 localhost6.localdomain6

No entries in: just says created by anaconda


For the current session, I typed

# hostname ambarivm

Noting happened