Welcome! Log In Create A New Profile

Advanced

Re: nginx permission denied for upstream unix socket

Tim
August 25, 2014 09:52AM
Am 2014-08-25 15:46, schrieb Valentin V. Bartenev:
> On Monday 25 August 2014 15:21:44 Tim wrote:
>> Hi,
>>
>> I'm running nginx under CentOS 7 as a local proxy for a puppetmaster.
>> I
>> get the following error for every agent trying to connect to the
>> master:
>>
>> "[crit] 8543#0: *13 connect() to
>> unix:/var/run/puppet/puppetmaster_puma.sock failed (13: Permission
>> denied) while connecting to upstream, client: 192.168.122.189, server:
>> ,
>> request: "PUT /production/report/master.puppet.local HTTP/1.1",
>> upstream:
>>
> "http://unix:/var/run/puppet/puppetmaster_puma.sock:/production/report/master.puppet.local",
>> host: "master.puppet.local:8140""
>>
>>
>> But:
>> srwxrwxrwx. 1 puppet puppet 0 25. Aug 10:35
>> /var/run/puppet/puppetmaster_puma.sock
>>
>> The socket seems to be read/write able for everyone on the system? Why
>> throws nginx a "permission denied" massage?
>>
> [..]
>
> What about the /var/run/puppet/ directory?

seems to be fine:

drwxr-xr-x. 2 puppet puppet 100 25. Aug 10:35 /var/run/puppet

(the nginx user is in the puppet group btw). Even setting the
permissions to 777 didn't fix the issue.

>
> wbr, Valentin V. Bartenev
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx permission denied for upstream unix socket

Tim August 25, 2014 09:22AM

Re: nginx permission denied for upstream unix socket

Valentin V. Bartenev August 25, 2014 09:48AM

Re: nginx permission denied for upstream unix socket

Tim August 25, 2014 09:52AM

Re: nginx permission denied for upstream unix socket

Edwin August 25, 2014 10:28AM

Re: nginx permission denied for upstream unix socket

Tim August 25, 2014 10:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 126
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready