2012/10/5 Cos Chan <roset...@gmail.com>:
> On Thu, Oct 4, 2012 at 5:21 PM, Виталий Туровец <core...@corebug.net> wrote:
>> What helped me in simillar situation is rebuilding nginx without unnecessary
>> modules.
>
> Could you share the configurations? I have removed some modules but
> still same issue.
>
>> 04.10.2012 17:47 пользователь "Cos" <roset...@gmail.com> написал:
>>
>>
>>>
>>> Dear All
>>>
>>> My system is FreeBSD 9 with latest version nginx.
>>>
>>> Here is my conf file content:
>>>
>>> #user  www;
>>>  worker_processes  1;
>>>
>>> #error_log        /var/log/nginx/error.log;
>>>
>>> #pid        logs/nginx.pid;
>>>
>>>
>>> events {
>>>      worker_connections  1024;
>>>  }
>>>
>>> The problem is I can not see anything from /var/log/nginx-error.log,
>>> all error logs outputed to screen directly.
>>>
>>> I have tried uncomment above user and error_log options to specify
>>> error_log directory or user account. But same issue..
>>>
>>> Please suggest.
>>>
>>> --
>>> with kind regards
>>> _______________________________________________
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to
>>> "freebsd-questions-unsubscr...@freebsd.org"
>
>
>
> --
> with kind regards

This one works fine:

nginx -V
nginx version: nginx/1.2.3
configure arguments: --prefix=/usr/local/etc/nginx --with-cc-opt='-I
/usr/local/include' --with-ld-opt='-L /usr/local/lib'
--conf-path=/usr/local/etc/nginx/nginx.conf
--sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid
--error-log-path=/var/log/nginx-error.log --user=www --group=www
--with-debug --with-ipv6
--http-client-body-temp-path=/var/tmp/nginx/client_body_temp
--http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
--http-proxy-temp-path=/var/tmp/nginx/proxy_temp
--http-scgi-temp-path=/var/tmp/nginx/scgi_temp
--http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp
--http-log-path=/var/log/nginx-access.log
--with-http_gzip_static_module --with-http_stub_status_module
--with-pcre

It was built with such options from port:
DEBUG,DEBUGLOG,IPV6,HTTP,HTTP_CACHE,HTTP_GZIP_STATIC,HTTP_REWRITE,HTTP_STATUS

Also i use CLANG as default compiler in my system, this is from /etc/make.conf:
WITHOUT_X11=YES
WITHOUT_GUI=YES
CC=clang
CXX=clang++
CPP=clang-cpp

I recommend you using clang as well, cause 1. it runs faster, 2.the
code it produces runs faster.
Hope this helps.
-- 




~~~
WBR,
Vitaliy Turovets
NOC Lead @TV-Net ISP
NOC Lead @Service Outsourcing company
+38(093)265-70-55
VITU-RIPE
X-NCC-RegID: ua.tv
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to