Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19851

ambari-server start failed with exit code 1.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.0
    • None
    • None

    Description

      Found this issue in ST.
      Trying to provide setup ambari-server and

      [root@ctr-e126-1485243696039-17812-01-000004 ~]# ambari-server setup -s
      Using python /usr/bin/python
      Setup ambari-server
      Nothing was done. Ambari Setup already performed and cannot re-run setup in silent mode. Use "ambari-server setup" command without -s option to change Ambari setup.

      Trying to start ambari-server

      [root@ctr-e126-1485243696039-17812-01-000004 ~]# ambari-server start
      Using python /usr/bin/python
      Starting ambari-server
      ERROR: Exiting with exit code 1.
      REASON: Unable to detect a system user for Ambari Server.

      • If this is a new setup, then run the "ambari-server setup" command to create the user
      • If this is an upgrade of an existing setup, run the "ambari-server upgrade" command.
        Refer to the Ambari documentation for more information on setup and upgrade.

      Ambari-server restart in debug log

      2017-02-01 04:36:34,630 DEBUG com.hw.ambari.ui.util.cluster_managers.CommandExecutor.executeCommandSequence(): Sending command [ambari-server restart --debug]
      2017-02-01 04:36:35,331 DEBUG com.hw.ambari.ui.util.cluster_managers.CommandExecutor.executeCommandSequence(): [OUTPUT STREAM]
      Using python /usr/bin/python
      Restarting ambari-server
      Ambari Server is not running
      ERROR: Exiting with exit code 1.
      REASON: Unable to detect a system user for Ambari Server.

      • If this is a new setup, then run the "ambari-server setup" command to create the user
      • If this is an upgrade of an existing setup, run the "ambari-server upgrade" command.
        Refer to the Ambari documentation for more information on setup and upgrade.

      *ambari-server setup* without -s setup ambari successful and ambari-server start passed.

      artifacts: <http://qelog.hortonworks.com/log/nat-yc-r7-sius-ambari-setup-hw-6
      /test-logs/ambari-setup-hw/artifacts/screenshots/com.hw.ambari.ui.tests.consol
      e.TestInstallSeparateSSLCertificate/testA_InstallSeparateSSLCertificate/_1_4_4
      0_52_Element_has_not_been_found_within_60_seconds__/>
      cluster: 172.27.30.144

      Attachments

        1. AMBARI-19851.patch
          3 kB
          Andrew Onischuk

        Issue Links

          Activity

            People

              aonishuk Andrew Onischuk
              andrewKhalymon Andrew Khalymon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: