nginx error log was huge, so I deleted and created a new one, now nginx won't start
Posted
by Blankman
on Server Fault
See other posts from Server Fault
or by Blankman
Published on 2010-05-31T19:26:00Z
Indexed on
2010/05/31
19:34 UTC
Read the original article
Hit count: 423
I deleted the /var/log/nginx/error.log file, and then created a new one using:
sudo nano error.log
Doinga ls -la shows that the error.log and access.log have the same permissions.
When I try and start nginx I get the error:
alert: could not open error log file: open() "/var/log/nginx/error.log" failed permission denited.
© Server Fault or respective owner