Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Solved Go to solution
Highlighted

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

New 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

Accepted Solutions

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

@jeff

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

8 REPLIES 8

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

Mentor

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

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

@jeff

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

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

New Contributor

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

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

New Contributor

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

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

New Contributor

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

@Kaushik Dutta and it's fixed in 2.2.1 :)

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

Contributor

I am still getting the setpgid issue in centos 7.

How to get the updated guide to get Ambari 2.2.1 ?

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