Stop and Restart Ambari Service

You must stop and restart the Ambari Service.

  1. Stop the Ambari Service:
    $ sudo ambari-server stop
  2. You should see the following response:

    Using python  /usr/bin/python
    Stopping ambari-server
    Ambari Server stopped
  3. Restart the Ambari Service:

    $ sudo service ambari-server restart
  4. You should see the following response:

    Using python  /usr/bin/python
    Restarting ambari-server
    Using python  /usr/bin/python
    Stopping ambari-server
    Ambari Server is not running
    Using python  /usr/bin/python
    Starting ambari-server
    Ambari Server running with administrator privileges.
    Organizing resource files at /var/lib/ambari-server/resources...
    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....................
    Ambari Server 'start' completed successfully.