December 31, 2009 03:52AM
Всех с наступающим :)

захотелось поиметь nginx на opensolaris

/usr/nginx/sbin# cat /etc/release
OpenSolaris 2009.06 snv_111b X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 07 May 2009

ставил по инструкции http://wiki.nginx.org/InstallingOnOpenSolaris

при попытке запуска получаю:
/usr/nginx/sbin# ./nginx
Illegal Instruction (core dumped)

в Solaris я не гуру, посему максимум, что смог вытянуть:
----------------------------------------------------------------
/usr/nginx/sbin# gdb nginx
GNU gdb 6.3.50_2004-11-23-cvs
<skip>
(gdb) core core
Core was generated by `./nginx'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /lib/libsocket.so.1...done.
Loaded symbols for /lib/libsocket.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/librt.so.1...warning: Lowest section in /lib/librt.so.1 is .dynamic at 00000074
done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libsendfile.so.1...done.
Loaded symbols for /lib/libsendfile.so.1
Reading symbols from /usr/lib/libpcre.so.0...done.
Loaded symbols for /usr/lib/libpcre.so.0
Reading symbols from /lib/libssl.so.0.9.8...done.
Loaded symbols for /lib/libssl.so.0.9.8
Reading symbols from /lib/libcrypto.so.0.9.8...done.
Loaded symbols for /lib/libcrypto.so.0.9.8
Reading symbols from /lib/libdl.so.1...done.
Loaded symbols for /lib/libdl.so.1
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/libc.so.1...done.
Loaded symbols for /lib/libc.so.1
#0 0x080ab8bb in ngx_vsnprintf (buf=Cannot access memory at address 0x9
) at src/core/ngx_string.c:226
226 src/core/ngx_string.c: No such file or directory.
in src/core/ngx_string.c
Current language: auto; currently minimal
(gdb) bt
#0 0x080ab8bb in ngx_vsnprintf (buf=Cannot access memory at address 0x9
) at src/core/ngx_string.c:226
#1 0x000000dc in ?? ()
#2 0x0000000c in ?? ()
#3 0x080754af in ?? ()
#4 0xd2b90018 in ?? ()
#5 0xd2b90018 in ?? ()
#6 0x00000006 in ?? ()
#7 0x05797189 in ?? ()
#8 0x00000441 in ?? ()
#9 0x0805e074 in ?? ()
#10 0x00000100 in ?? ()
#11 0x00000000 in ?? ()
#12 0x08047d48 in ?? ()
#13 0x08047cac in ?? ()
#14 0x08047bd8 in ?? ()
#15 0x00000253 in ?? ()
#16 0x080ab32c in ngx_sprintf (buf=Cannot access memory at address 0x28
) at src/core/ngx_string.c:86
#17 0x0817ab16 in .XAALRQ4H7LDKX9Y.cached_http_time ()
#18 0x00010000 in ?? ()
#19 0x08157b00 in .XBALRQ4H7LDKX9Y.ngx_time_update..L150 ()
#20 0x08047b0c in ?? ()
#21 0x08047b10 in ?? ()
#22 0xd2bc6f04 in ?? ()
#23 0x00000026 in ?? ()
#24 0x080b7270 in ngx_time_update (sec=Cannot access memory at address 0x28
) at src/core/ngx_times.c:109
Previous frame inner to this frame (corrupt stack?)
(gdb)
#0 0x080ab8bb in ngx_vsnprintf (buf=Cannot access memory at address 0x9
) at src/core/ngx_string.c:226
#1 0x000000dc in ?? ()
#2 0x0000000c in ?? ()
#3 0x080754af in ?? ()
#4 0xd2b90018 in ?? ()
#5 0xd2b90018 in ?? ()
#6 0x00000006 in ?? ()
#7 0x05797189 in ?? ()
#8 0x00000441 in ?? ()
#9 0x0805e074 in ?? ()
#10 0x00000100 in ?? ()
#11 0x00000000 in ?? ()
#12 0x08047d48 in ?? ()
#13 0x08047cac in ?? ()
#14 0x08047bd8 in ?? ()
#15 0x00000253 in ?? ()
#16 0x080ab32c in ngx_sprintf (buf=Cannot access memory at address 0x28
) at src/core/ngx_string.c:86
#17 0x0817ab16 in .XAALRQ4H7LDKX9Y.cached_http_time ()
#18 0x00010000 in ?? ()
#19 0x08157b00 in .XBALRQ4H7LDKX9Y.ngx_time_update..L150 ()
#20 0x08047b0c in ?? ()
#21 0x08047b10 in ?? ()
#22 0xd2bc6f04 in ?? ()
#23 0x00000026 in ?? ()
#24 0x080b7270 in ngx_time_update (sec=Cannot access memory at address 0x28
) at src/core/ngx_times.c:109
(gdb)
----------------------------------------------------------------

вот такая ерунда. собрал руками - думал подебажить, скачал 0.7.64 - полет нормальный.
скачал версию, такую как в пакете с webstak - 0.6.35 - собрал руками - полет нормальный.

Вопрос - куда копать, либо где взять нормальный пакет для Solaris? (кроме как руками собирать)
Дополнительную информацию, при необходимости, предоставлю.

---
WBR, Andriy Tovstik
UNIX System Administrator
Skype: andriy.tovstik
JabberID: squirl@jabber.kiev.ua
Nick-handle: SQ22-UANIC




_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

webstack nginx+opensolaris 2009.06 - валится в кору

squirl December 31, 2009 03:52AM

Re: webstack nginx+opensolaris 2009.06 - валится в кору

Andrey N. Oktyabrski December 31, 2009 11:20AM

Re: webstack nginx+opensolaris 2009.06 - валится в кору

Ihalainen Nickolay January 01, 2010 11:18AM

Re: webstack nginx+opensolaris 2009.06 - валится в кору Attachments

Deomid Ryabkov January 01, 2010 12:46PM

Re: webstack nginx+opensolaris 2009.06 - валится в кору

Ihalainen Nickolay January 01, 2010 01:24PM

Re: webstack nginx+opensolaris 2009.06 - валится в кору Attachments

Deomid Ryabkov January 01, 2010 01:56PM

Re: webstack nginx+opensolaris 2009.06 - валится в кору

Andrey N. Oktyabrski January 01, 2010 04:46PM

RE: webstack nginx+opensolaris 2009.06 - валится в кору

Anonymous User January 02, 2010 05:58AM

Re: webstack nginx+opensolaris 2009.06 - валится в кору

Andrey N. Oktyabrski January 04, 2010 09:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 89
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