*Steps to reproduce:*
1\. Change any of the parameters that hamper the ambari-server to restart
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
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.