OPNsense Forum

English Forums => 26.1, 26,4 Series => Topic started by: muchacha_grande on May 20, 2026, 06:47:11 PM

Title: Nginx can't access to its own logs
Post by: muchacha_grande on May 20, 2026, 06:47:11 PM
Hi, I'm having a may be not important issue. Some nights at 12 AM, nginx is throwing these 2 errors on its log:

2026-05-19T00:00:00-03:00 Emergency nginx 2026/05/19 00:00:00 [emerg] 88258#100283: open() "/var/log/nginx/permanentban.access.log" failed (13: Permission denied)
2026-05-19T00:00:00-03:00 Emergency nginx 2026/05/19 00:00:00 [emerg] 88258#100283: open() "/var/log/nginx/tls_handshake.log" failed (13: Permission denied)
2026-05-18T00:00:00-03:00 Emergency nginx 2026/05/18 00:00:00 [emerg] 88258#100283: open() "/var/log/nginx/permanentban.access.log" failed (13: Permission denied)
2026-05-18T00:00:00-03:00 Emergency nginx 2026/05/18 00:00:00 [emerg] 88258#100283: open() "/var/log/nginx/tls_handshake.log" failed (13: Permission denied)

May be this is not important, as I can see that the service is working as expected, but...

Title: Re: Nginx can't access to its own logs
Post by: muchacha_grande on May 22, 2026, 02:24:58 PM
May be this due to a temporary file lock during log rotate and is not a problem at all.