upcoming 0.7.53 large patch

Jérôme Loyet jerome at loyet.net
Fri Apr 24 13:10:26 MSD 2009


2009/4/24 Igor Sysoev <is at rambler-co.ru>:
> On Fri, Apr 24, 2009 at 09:48:52AM +0200, J?r?me Loyet wrote:
>
>> 2009/4/24 Igor Sysoev <is at rambler-co.ru>:
>> > On Fri, Apr 24, 2009 at 08:35:58AM +0200, J?r?me Loyet wrote:
>> >
>> >> >> # (cd /tmp && strace -e open /usr/local/nginx/sbin/nginx -p /root/test/nginx/)
>> >> >> [emerg]: could not open error log file: open() "logs/error.log" failed (2: )
>> >> >>
>> >> >> It seems there is a bug with the default error_log and/or the prefix.
>> >> >
>> >> > A new version, that fixes startup error log prefix:
>> >> >
>> >> > http://sysoev.ru/tmp/patch.0.7.52.1.prefix
>> >> >
>> >> > BTW, what OS do you use ? Recently I saw messages without text
>> >> > description of error: "open() "logs/error.log" failed (2: )".
>> >> > while it should be "(2: No such file or directory)".
>> >>
>> >> I'm using linux ubuntu 8.04.
>> >
>> > What does "./configure | grep strerror" show ?
>>
>> root at wild:~/nginx-0.7.52# ./configure | grep strerror
>> checking for strerror_r() ... found
>> checking for gnu style strerror_r() ... found but is not working
>
> Could you test the attached patch ? It seems it was broken in 0.7.45.

This patch correct the bug for str_error_r.





More information about the nginx mailing list