Nginx-0.8.51

Changes with nginx 0.8.51 27 Sep
2010

*) Change: the "secure_link_expires" directive has been canceled.

*) Change: a logging level of resolver errors has been lowered from
   "alert" to "error".

*) Feature: now a listen socket "ssl" parameter may be set several
   times.


Igor S.
http://sysoev.ru/en/

Why cancel the “secure_link_expires” directive ?

2010/9/27 Igor S. [email protected]:

After I upgraded nginx today to 0.8.5 whenever I start the nginx
service, I get this error:

Starting nginx: Can’t load ‘/usr/lib/perl5/auto/nginx/nginx.so’ for
module nginx: /usr/lib/perl5/auto/nginx/nginx.so: undefined symbol:
ngx_http_core_module at /usr/lib/perl5/XSLoader.pm line 70.
at /usr/lib/perl5/nginx.pm line 54
Compilation failed in require.
BEGIN failed–compilation aborted.
[alert]: perl_parse() failed: 255

I’m running Fedora Core 13 and I installed nginx using an RPM I built
with the attached spec file though I’m including the SRPM which might be
useful.

Any help in getting nginx working again would be greatly appreciated.

omega13a
Owner and Founder of UFT
http://www.fedtrek.com

I have known the reason.

2010/9/28 lhmwzy [email protected]:

Oh, Yes! It is a “Stable version” !!!

Thank you , igor !

2010/9/28 lhmwzy [email protected]

Have you try to upgrading or repairing your perl modules?
Installing nginx manually is more fun. :slight_smile:

Regards,
Joe

On 09/27/2010 06:18 PM, Joe wrote:

Have you try to upgrading or repairing your perl modules?
No and don’t know how though nginx 0.8.50 runs perfectly fine (I
downgraded to see). If its a problem with the perl modules I think
0.8.50 would be effected as well since the spec file I used to build
nginx 0.8.50 is nearly identical to the one I used to build nginx
0.8.51.
Installing nginx manually is more fun. :slight_smile:
Not possible when you run a small yum repo.


omega13a
Owner and Founder of UFT
http://www.fedtrek.com

On Mon, Sep 27, 2010 at 06:56:29PM -0700, Xin LI wrote:

host name, the HTTP service would break (asking for SSL certificate, log
says: no “ssl_certificate” is defined in server listening on SSL port
while SSL handshaking, client: 67.195.111.174, server: 0.0.0.0:80).

I think it is a bug, the problem is that when SSL support is compiled
in, all HTTP servers would be considered as SSL since their opt.set is 1.

Attached patch should fix the problem (I am not very familiar with the
code though).

The attched patch fixes the bug.

Thanks for your work on nginx! :slight_smile:

Thanks for your work on FreeBSD! :slight_smile:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

On 2010/09/27 06:41, Igor S. wrote:

*) Feature: now a listen socket "ssl" parameter may be set several 
   times.

It seems that when one have both HTTP and HTTPS service under the same
host name, the HTTP service would break (asking for SSL certificate, log
says: no “ssl_certificate” is defined in server listening on SSL port
while SSL handshaking, client: 67.195.111.174, server: 0.0.0.0:80).

I think it is a bug, the problem is that when SSL support is compiled
in, all HTTP servers would be considered as SSL since their opt.set is
1.

Attached patch should fix the problem (I am not very familiar with the
code though).

Thanks for your work on nginx! :slight_smile:

Cheers,


Xin LI [email protected] http://www.delphij.net/
FreeBSD - The Power to Serve! Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iQEcBAEBCAAGBQJMoUtNAAoJEATO+BI/yjfBgWkIAIGzkjoFuS7Ig42GZSfT1rhU
8ZyryQLNVWMBXXhoEdV4sd/eu9hLOn19nc+bO8xr/KJUwTJOD5x3MsX/OWxf7X2Q
pKdNhvkEYL7XhdZNydjgH44MWBEx49dHQMB1N7W0SIZyNZQ2ylI1M0+YF+tlE9cl
5glOPUKsLnv77gNq2dU5RVUt5b1ihPxEZ3SXdwVnxZgp4tfnZmczc16rFbsZpjfB
WCaGGhM19wcwAV6j1hPbO09Ror4Q7m5ebuszpi49JhSBE5WEiTLrSuFMwHA4rA0E
Nz1eB8I/j+DL2iXGJP/Tzl9TUDfhiZ3Xv1BIG1pyXGbDY4rjahW/KRUa/wZiCNA=
=pXjW
-----END PGP SIGNATURE-----

Hello!

On Thu, Oct 14, 2010 at 04:50:07AM -0400, moorthi wrote:

hi,
i have centos 5.2 64bit working system, i am able to install 32bit rpm
on 32 bit machine working fine(nginx version 0.8.52 all 0.8 versions
tried with http perl modulue), but on 64 bit compilation/installation
works but perl -e ‘use nginx’ giving the error, all perl modules are
working fine(it’s a production mc).

‘use nginx’ isn’t expected to succeed outside of nginx process.

Maxim D.

hi,
i have centos 5.2 64bit working system, i am able to install 32bit rpm
on 32 bit machine working fine(nginx version 0.8.52 all 0.8 versions
tried with http perl modulue), but on 64 bit compilation/installation
works but perl -e ‘use nginx’ giving the error, all perl modules are
working fine(it’s a production mc).

perl -V output
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=linux, osvers=2.6.18-53.el5,
archname=x86_64-linux-thread-multi
uname=‘linux builder10.centos.org 2.6.18-53.el5 #1 smp mon nov 12
02:14:55 est 2007 x86_64 x86_64 x86_64 gnulinux ’
config_args=’-des -Doptimize=-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
–param=ssp-buffer-size=4 -m64 -mtune=generic -Dversion=5.8.8
-Dmyhostname=localhost [email protected] -Dcc=gcc -Dcf_by=Red
Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr -Dlibpth=/usr/local/lib64
/lib64 /usr/lib64 -Dprivlib=/usr/lib/perl5/5.8.8
-Dsitelib=/usr/lib/perl5/site_perl/5.8.8
-Dvendorlib=/usr/lib/perl5/vendor_perl/5.8.8
-Darchlib=/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi
-Dsitearch=/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
-Dvendorarch=/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
-Darchname=x86_64-linux-thread-multi -Dvendorprefix=/usr
-Dsiteprefix=/usr -Duseshrplib -Dusethreads -Duseithreads
-Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm
-Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl=n
-Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less -isr
-Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto
-Ud_endprotoent_r_proto -Ud_setprotoent_r_proto -Ud_endservent_r_proto
-Ud_setservent_r_proto -Dinc_version_list=5.8.7 5.8.6 5.8.5
-Dscriptdir=/usr/bin’
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc=‘gcc’, ccflags =’-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-pipe -Wdeclaration-after-statement -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm’,
optimize=’-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic’,
cppflags=’-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe
-Wdeclaration-after-statement -I/usr/local/include -I/usr/include/gdbm’
ccversion=’’, gccversion=‘4.1.2 20080704 (Red Hat 4.1.2-48)’,
gccosandvers=’’
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype=‘long’, ivsize=8, nvtype=‘double’, nvsize=8, Off_t=‘off_t’,
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld=‘gcc’, ldflags =’’
libpth=/usr/local/lib64 /lib64 /usr/lib64
libs=-lresolv -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread
-lc
perllibs=-lresolv -lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version=‘2.5’
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=’-Wl,-E
-Wl,-rpath,/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE’
cccdlflags=’-fPIC’, lddlflags=’-shared -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
–param=ssp-buffer-size=4 -m64 -mtune=generic’

Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT
USE_ITHREADS USE_LARGE_FILES USE_PERLIO
USE_REENTRANT_API
Built under linux
Compiled at Sep 28 2010 08:50:01
@INC:
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl
/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi
/usr/lib/perl5/5.8.8
.
cat /etc/redhat-release
CentOS release 5.2 (Final)

nm nginx.so gives undefined symbol
can anyone plz help

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,134558,140459#msg-140459

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs