I hit this bug too. The patch mentioned makes no sense to me as I am not able to get which exact line needs removing or appending. Still after some struggle, I modified "/usr/sbin/ambari-server.py" as mentioned in patch and when I try to start ambari-server, I face "NameError: global name 'environi' is not defined ". I know I must've made some mistake in updating the file. Is it possible for you to share the modified file here ? So that I can simply download the file and replace it on my test lab and try starting ambari server.
Sorry,I know its too much to ask but any help would be great.Thanks
oh! seems there was a typo. Fixed that "environi" to "environ" and that cleared "Permission Denied" error. I am still getting "exit code -1" and "exit code 255". In logs, it shows -
1) Error injecting method, Exception [EclipseLink-4011] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.DatabaseException Exception Description: Error preallocating sequence numbers. The sequence table information is not complete