Welcome! Log In Create A New Profile

Advanced

0.7.60: "could not open error log"

Toni Mueller
June 26, 2009 04:51AM
Hi,

while going from 0.6.x to 0.7.6[01], I notice the following:

$ nginx -t -c /my/private/path/conf/nginx.conf
[alert]: could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)
the configuration file /my/private/path/conf/nginx.conf syntax is ok
configuration file /my/private/path/conf/nginx.conf test is successful

I always set the log file locations to somewhere else, not
/var/log/nginx (the system default). When I run nginx w/o the "-t"
switch, it emits the same error message on the console, but proceeds to
actually use the log file(s) that I've specified in my configuration
file.


Kind regards,
--Toni++
Subject Author Posted

0.7.60: "could not open error log"

Toni Mueller June 26, 2009 04:51AM

Re: 0.7.60: "could not open error log"

Maxim Dounin June 26, 2009 08:27AM

Re: 0.7.60: "could not open error log"

Toni Mueller June 26, 2009 04:11PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 250
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