Two little bugs

speedfirst nginx-forum at
Thu Dec 9 04:52:46 MSK 2010

edogawaconan Wrote:
> On Wed, Dec 8, 2010 at 7:36 AM, speedfirst  wrote:
> > nginx/sbin/nginx -c nginx.conf
> > 
> >
> > will get segment fault
> I can't reproduce this either. Please provide
> output of nginx/sbin/nginx -V

Hey, I'm working on nginx dev for Zimbra. Here are my "-V" output.

speedfirst at u10:/opt/zimbra$ nginx/sbin/nginx -c conf/nginx.conf -V
nginx version: nginx/0.8.48
built by gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
TLS SNI support enabled
configure arguments: --prefix=/opt/zimbra/nginx-0.8-zimbra
--with-cc-opt='-g -I/opt/zimbra/cyrus-sasl-
-I/opt/zimbra/openssl-1.0.0a/include -I/opt/zimbra/include'
-L/opt/zimbra/openssl-1.0.0a/lib -L/opt/zimbra/lib' --with-debug
--with-http_ssl_module --with-http_stub_status_module --with-pcre
--with-http_upstream_zmauth_module --with-mail --with-mail-sasl
--with-mail_ssl_module --error-log-path=/opt/zimbra/log/nginx.log

And I try to use /opt/zimbra/conf/nginx.conf with the relative path.
According to above comments, nginx uses "--prefix" so it should try to
find /opt/zimbra/nginx-0.8.48/conf/nginx.conf. If not found, should
report an [emerg] error, rather than segment fault. Did I make something
wrong in build? Could I send the source I have to you to check? 

speedfirst at u10:/opt/zimbra$ sudo nginx/sbin/nginx -c conf/nginx.conf
[sudo] password for speedfirst: 
Segmentation fault

Posted at Nginx Forum:,156312,157026#msg-157026

More information about the nginx mailing list