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

Ambari-server restart command not working. if any parameters are changed and reset to default.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

    Description

      *Steps to reproduce:*
      1\. Change any of the parameters that hamper the ambari-server to restart
      successfully.(password.dat file)
      2\. Restart ambari-server, ambari-server restart will fail saying (This is
      expected as we have changed the parameter.)

      Unable to determine server PID. Retrying...
      DB configs consistency check: no errors and warnings were found.
      ERROR: Exiting with exit code -1.

      3\. Now set the Parameter to its actual value.
      4.Restart ambari-server, ambari-server restart will fail saying

      Using python /usr/bin/python
      Restarting ambari-server
      WARNING: '' is incorrect PID value. /var/run/ambari-server/ambari-server.pid is corrupt. Removing
      Ambari Server 'restart' completed with warnings.

      5.If you Restart the Ambari server again. It gets restarted successfully.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            aonishuk Andrew Onischuk
            pradarttana Pradarttana
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment