[alert]: could not open error log file

Антон Кирюшкин swood at fotofor.biz
Fri Jul 3 18:09:21 MSD 2009


А сама папка /var/log/nginx существует?

3 июля 2009 г. 17:26 пользователь Igor Sysoev <is at rambler-co.ru> написал:

> 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
>
>


-- 
Best regards,
Anton Kiryushkin,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20090703/850aaf9e/attachment.html>


More information about the nginx-ru mailing list