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.

setpgid(2296, 0) failed - [Errno 13] Permission denied issue, server getting stopped after some time

Solved Go to solution
Highlighted

setpgid(2296, 0) failed - [Errno 13] Permission denied issue, server getting stopped after some time

Contributor

ambari-server start Using python /usr/bin/python2 Starting ambari-server Ambari Server running with administrator privileges. Organizing resource files at /var/lib/ambari-server/resources...

WARNING: setpgid(2296, 0) failed - [Errno 13] Permission denied Server PID at: /var/run/ambari-server/ambari-server.pid Server out at: /var/log/ambari-server/ambari-server.out Server log at: /var/log/ambari-server/ambari-server.log Waiting for server start....................

Ambari Server 'start' completed successfully.

But server getting stopped automatically.

I can refer to https://community.hortonworks.com/questions/10044/ambari-server-start-warning-setpgid4340-0-failed-e... but didn't make any sense on how to apply the patch.

Any help would be great....! Any clear steps to resolve the issue and apply patch.

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: setpgid(2296, 0) failed - [Errno 13] Permission denied issue, server getting stopped after some time

13 REPLIES 13

Re: setpgid(2296, 0) failed - [Errno 13] Permission denied issue, server getting stopped after some time

Mentor

Re: setpgid(2296, 0) failed - [Errno 13] Permission denied issue, server getting stopped after some time

Contributor

I did refer to that, But didn't get resolved.

Re: setpgid(2296, 0) failed - [Errno 13] Permission denied issue, server getting stopped after some time

@Vinod Nerella

WARNING: setpgid(2296, 0) failed - [Errno 13] Permission denied --> This does not look healthy

Whats your ambari version? OS?

https://issues.apache.org/jira/browse/AMBARI-14466

Patch is in the jira

Apply https://ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git/ or https://www.drupal.org/node/1399218

Re: setpgid(2296, 0) failed - [Errno 13] Permission denied issue, server getting stopped after some time

Contributor

Ambari version - v2.2.0.0

from repo file -> Updates-ambari-2.2.0.0

OS - CentOS Linux release 7.2.1511 (Core)

But in error log the issue shows as below.

10 Feb 2016 13:54:19,728 ERROR [main] DBAccessorImpl:102 - Error while creating database accessor org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "127.0.0.1", user "ambari", database "ambari", SSL off

Re: setpgid(2296, 0) failed - [Errno 13] Permission denied issue, server getting stopped after some time

Contributor

@Neeraj Sabharwal Is this only way i.e.. by applying patch to rectify the bug or any other way to fix bug?

Re: setpgid(2296, 0) failed - [Errno 13] Permission denied issue, server getting stopped after some time

@Vinod Nerella You can remove ambari-server and resinstall...I had the same issue and I ended up doing this "couple of times"

otherwise, patch or http://docs.hortonworks.com/HDPDocuments/Ambari/Ambari-2.1.2.1/index.html

Re: setpgid(2296, 0) failed - [Errno 13] Permission denied issue, server getting stopped after some time

Contributor

@Neeraj Sabharwal I am also doing couple of times. But couldn't get resolved till now.

Thanks for the reply.

But I tried Ambari 2.1.2.1, I got the issue as follows.

https://community.hortonworks.com/questions/15495/amabari-server-212-setup-error-while-creating-data...

Can you help with this error?

Thanks in advance!

Have a nice day!

Re: setpgid(2296, 0) failed - [Errno 13] Permission denied issue, server getting stopped after some time

@Vinod Nerella I did see that thread. Please do me a favor by installing mysql or use postgres option.

I wanted to comment this on that thread but I chose not to confuse things.

Re: setpgid(2296, 0) failed - [Errno 13] Permission denied issue, server getting stopped after some time

Don't have an account?
Coming from Hortonworks? Activate your account here