upcoming 0.7.53 large patch

Igor Sysoev is at rambler-co.ru
Fri Apr 24 20:19:12 MSD 2009


On Fri, Apr 24, 2009 at 05:58:43PM +0200, J?r?me Loyet wrote:

> 2009/4/24 Igor Sysoev <is at rambler-co.ru>:
> > On Fri, Apr 24, 2009 at 02:43:43PM +0200, J?r?me Loyet wrote:
> >
> >> here the test I made:
> >> #tar -xzvf nginx-0.7.52.tar.gz
> >> # cd nginx-0.7.52
> >> # patch -p0 < ../patch.0.7.52.1.prefix
> >> # patch -p0 < ../patch.gnu_strerror_r
> >> #./configure
> >> #make && make install
> >> # (cd /tmp && /usr/local/nginx/sbin/nginx)
> >> [emerg]: could not open error log file: open() "/logs/error.log"
> >> failed (2: No such file or directory)
> >>
> >> it should be /usr/local/nginx/logs/error.log
> >>
> >> # (cd /tmp && /usr/local/nginx/sbin/nginx -p /root/test/nginx)
> >> 2009/04/24 14:38:57 [notice] 27082#0: using the "epoll" event method
> >> 2009/04/24 14:38:57 [notice] 27082#0: nginx/0.7.52
> >> 2009/04/24 14:38:57 [notice] 27082#0: OS: Linux 2.6.25.4dedibox-r9-smp-x32
> >> 2009/04/24 14:38:57 [notice] 27082#0: getrlimit(RLIMIT_NOFILE): 1024:1024
> >> 2009/04/24 14:38:57 [notice] 27083#0: start worker processes
> >> 2009/04/24 14:38:57 [notice] 27083#0: start worker process 27084
> >> root at wild:~/nginx-0.7.52# 2009/04/24 14:39:04 [error] 27084#0: *1
> >> open() "/root/test/nginx/docs/sdfsdfsdfs" failed (2: No such file or
> >> directory), client: 160.92.7.69, server: localhost, request: "GET
> >> /sdfsdfsdfs HTTP/1.0", host: "wild.xxxxxxxx.com"
> >>
> >> The file /root/test/nginx/logs/error.log is created but stays empty.
> >> And for information it's owned by user root.
> >>
> >> Hope this help
> >
> > http://sysoev.ru/tmp/patch.0.7.52.2.prefix
> 
> Still the same problem:
> 
> root at wild:~/nginx-0.7.52# (cd /tmp && /usr/local/nginx/sbin/nginx)
> [emerg]: could not open error log file: open() "/logs/error.log"
> failed (2: No such file or directory)
> 
> Why does NGX_PREFIX is set to / ?
> #ifndef NGX_PREFIX
> #define NGX_PREFIX  "/"
> #endif

It seems you used ./configure --prefix= ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list