[alert]: could not open error log file

Igor Sysoev is at rambler-co.ru
Fri Jul 3 17:26:45 MSD 2009


On Fri, Jul 03, 2009 at 04:43:13PM +0400, Alexey Vlasov wrote:

> Привет друзья.
> 
> # /opt/sbin/nginx -t
> [alert]: could not open error log file: open()
> "/var/log/nginx" failed (21: Is a directory)
> the configuration file /etc/nginx/nginx.conf syntax is ok
> configuration file /etc/nginx/nginx.conf test is successful
> 
> # /opt/sbin/nginx -v
> nginx version: nginx/0.7.61
> 
> В /etc/nginx/nginx.conf написано:
> error_log  /var/log/nginx/error.log;
> 
> Может что изменилось в последних версиях?

Скорее всего --error-log=/var/log/nginx

nginx -V


-- 
Игорь Сысоев
http://sysoev.ru





More information about the nginx-ru mailing list