Welcome! Log In Create A New Profile

Advanced

Re: Two little bugs

December 08, 2010 08:52PM
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.

[code]
speedfirst@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-2.1.23.3z/include -I/opt/zimbra/openssl-1.0.0a/include -I/opt/zimbra/include' --with-ld-opt='-L/opt/zimbra/cyrus-sasl-2.1.23.3z/lib -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 --http-log-path=/opt/zimbra/log/nginx.access.log --http-client-body-temp-path=/opt/zimbra/data/tmp/nginx/client --http-proxy-temp-path=/opt/zimbra/data/tmp/nginx/proxy --http-fastcgi-temp-path=/opt/zimbra/data/tmp/nginx/fastcgi
[/code]

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?

[code]
speedfirst@u10:/opt/zimbra$ sudo nginx/sbin/nginx -c conf/nginx.conf
[sudo] password for speedfirst:
Segmentation fault
[/code]
Subject Author Posted

Two little bugs

speedfirst December 07, 2010 01:45AM

Re: Two little bugs

Sergey A. Osokin December 07, 2010 02:12AM

Re: Two little bugs

Igor Sysoev December 07, 2010 02:42AM

Re: Two little bugs

speedfirst December 07, 2010 07:36PM

Re: Two little bugs

edogawaconan December 08, 2010 01:16AM

Re: Two little bugs

speedfirst December 08, 2010 08:52PM

Re: Two little bugs

Mark Alan December 08, 2010 10:56AM

Re: Two little bugs

Piotr Sikora December 08, 2010 11:14AM

Re: Two little bugs

Mark Alan December 08, 2010 12:34PM

Re: Two little bugs

Maxim Dounin December 08, 2010 12:46PM

Re: Two little bugs

Mark Alan December 08, 2010 02:04PM

Re: Two little bugs

Igor Sysoev December 08, 2010 03:46PM

Re: Two little bugs

Maxim Dounin December 08, 2010 04:36PM

Re: Two little bugs

Piotr Sikora December 08, 2010 12:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 55
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready