Error openat()

Hi,

I have alot of this error on my vhost-error_log:

2012/05/08 08:01:19 [crit] 14351#0: *1884636 openat()
“/home/celta/public_html/favicon.ico” failed (13: Permission denied),
client: 189.38.238.160, server: domain.com, request: “GET /favicon.ico
HTTP/1.0”, host: “www.domain.com

How to fix this?

Thanks,
Wilson

Posted at Nginx Forum:

On 8 May 2012 12:47, wgalafassijr [email protected] wrote:

Hi,

I have alot of this error on my vhost-error_log:

2012/05/08 08:01:19 [crit] 14351#0: *1884636 openat()
“/home/celta/public_html/favicon.ico” failed (13: Permission denied),
client: 189.38.238.160, server: domain.com, request: “GET /favicon.ico
HTTP/1.0”, host: “www.domain.com

How to fix this?

“man chown”.

HTH,
J

Jonathan M.
Oxford, London, UK
http://www.jpluscplusm.com/contact.html

what operating system or linux distribution are you using??


Anielkis

Posted at Nginx Forum:

uhmm ok… then… that can be selinux denying that access… check
if /var/log/audit/audit.log has any report of that… in case that there
is the report, you can fix it with:

grep nginx /var/log/audit/audit.log | audit2allow -M nginx
semodule -i nginx.pp


Anielkis

Centos 5.

Posted at Nginx Forum:

of course :smiley:
RTFM at the right time is always welcomed and save many lives


Anielkis

On 8 May 2012 16:19, Anielkis [email protected] wrote:

uhmm ok… then… that can be selinux denying that access… check
if /var/log/audit/audit.log has any report of that… in case that there
is the report, you can fix it with:

grep nginx /var/log/audit/audit.log | audit2allow -M nginx
semodule -i nginx.pp

(I still say “man chown” has a good chance of fixing it for the OP ;-))


Jonathan M.
Oxford, London, UK
http://www.jpluscplusm.com/contact.html

selinux is disabled.

Posted at Nginx Forum:

mmm… check the permissions and owner of that file and the directories
of the path


Anielkis