[alert]: could not open error log file

Андрей Василишин andron at kpi.ua
Fri Jul 3 17:14:34 MSD 2009


Alexey Vlasov пишет:
> Привет друзья.
>
> # /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


-- 
WBR, Andrey Vasilishin CDIG1-UANIC, CDIG1-RIPE






More information about the nginx-ru mailing list