Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

ambari-server start - WARNING: setpgid(4340, 0) failed - [Errno 13] Permission denied

avatar
Contributor

Hi All,

I am new to HortonWorks HDP Installation and bump to the following issue when I am trying to start the ambari server. Any respond is appreciated. Currently we are using AWS Red Hat Linux 7.2 as the OS. Not sure if this information is good enough.

1386-main-capture.png

1387-1383-capture.png

Best Regards

David Yee

1 ACCEPTED SOLUTION

avatar
Master Mentor
8 REPLIES 8

avatar
Master Mentor

@David Yee please populate your hosts file with all the hostnames, specifically FQDN and IP.

avatar
Master Mentor

@jeff

I believe this is related to 2.2.0 and known bug. @David Yee https://issues.apache.org/jira/browse/AMBARI-14466

avatar

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

avatar

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

avatar

avatar
Master Mentor

@Kaushik Dutta and it's fixed in 2.2.1 🙂

avatar
Rising Star

I am still getting the setpgid issue in centos 7.

How to get the updated guide to get Ambari 2.2.1 ?

avatar
Master Mentor