ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА














     АРХИВ :: Apache-Talk
Apache-Talk mailing list archive (apache-talk@lists.lexa.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [apache-talk] apache & coredump



Art wrote:
> 
> Monday, February 19, 2001, 1:36:01 PM, Eugene wrote:
> 
> sysctl -w kern.sugid_coredump=1
> м?

Точно. Вот ведь собака какая:

GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...
Core was generated by `httpd.test'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/lib/libperl.so.3...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libc.so.3...done.
Reading symbols from
/usr/libdata/perl/5.00503/mach/auto/Data/Dumper/Dumper.so...done.
Reading symbols from /usr/libdata/perl/5.00503/mach/auto/B/B.so...done.
Reading symbols from
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/Apache/Symbol/Symbol.so...done.
Reading symbols from
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI/DBI.so...done.
Reading symbols from /usr/libdata/perl/5.00503/mach/auto/IPC/SysV/SysV.so...
done.
Reading symbols from /usr/local/apache/libexec/mod_expires.so...done.
Reading symbols from /usr/local/apache/libexec/mod_headers.so...done.
Reading symbols from /usr/local/apache/libexec/mod_unique_id.so...done.
Reading symbols from /usr/local/apache/libexec/mod_cgi.so...done.
Reading symbols from /usr/local/apache/libexec/mod_status.so...done.
Reading symbols from /usr/local/apache/libexec/mod_mime.so...done.
Reading symbols from /usr/local/apache/libexec/mod_access.so...done.
Reading symbols from /usr/local/apache/libexec/mod_autoindex.so...done.
Reading symbols from /usr/local/apache/libexec/mod_dir.so...done.
Reading symbols from /usr/local/apache/libexec/mod_negotiation.so...done.
Reading symbols from /usr/local/apache/libexec/mod_setenvif.so...done.
Reading symbols from /usr/local/apache/libexec/mod_log_config.so...done.
Reading symbols from /usr/local/apache/libexec/mod_alias.so...done.
Reading symbols from /usr/local/apache/libexec/mod_userdir.so...done.
Reading symbols from /usr/local/apache/libexec/mod_auth.so...done.
Reading symbols from /usr/local/apache/libexec/mod_actions.so...done.
Reading symbols from /usr/local/apache/libexec/mod_include.so...done.
Reading symbols from /usr/local/apache/libexec/mod_info.so...done.
Reading symbols from /usr/local/apache/libexec/mod_rewrite.so...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x80ac8e1 in ap_ctx_get (ctx=0x0, key=0x80d11c7 "ap::default::port")
    at ap_ctx.c:125
125         for (i = 0; ctx->cr_entry[i] != NULL; i++)
(gdb) bt
#0  0x80ac8e1 in ap_ctx_get (ctx=0x0, key=0x80d11c7 "ap::default::port")
    at ap_ctx.c:125
#1  0x808d110 in ap_get_server_port (r=0x83d3034) at http_core.c:748
#2  0x808ffdd in ap_psignature (prefix=0x80d705d "<HR>\n", r=0x83d3034)
    at http_core.c:2651
#3  0x809c95a in ap_send_error_response (r=0x83d3034, recursive_error=0)
    at http_protocol.c:3490
#4  0x809e2a9 in ap_die (type=503, r=0x83d3034) at http_request.c:1123
#5  0x8097d06 in ap_read_request (conn=0x83ce014) at http_protocol.c:1171
#6  0x80949ab in child_main (child_num_arg=24) at http_main.c:4347
#7  0x8094c38 in make_child (s=0x80e8034, slot=24, now=982579566)
    at http_main.c:4525
#8  0x8094f92 in perform_idle_server_maintenance () at http_main.c:4689
#9  0x809545d in standalone_main (argc=3, argv=0xbfbfdafc) at http_main.c:4921
#10 0x8095b0b in main (argc=3, argv=0xbfbfdafc) at http_main.c:5182
(gdb) quit

Так как у меня RA и есть vhosts, то директивы Port в конфиге нету,
а есть разные Listen (перекодировка по портам). Тестовый апач гонял
на отдельном порту, тоже через Listen. 
Поменял на Port - валиться перестал.
И чего теперь делать-то?

Eugene
=============================================================================
=               Apache-Talk@lists.lexa.ru mailing list                      =
Mail "unsubscribe apache-talk" to majordomo@lists.lexa.ru if you want to quit.
=       Archive avaliable at http://www.lexa.ru/apache-talk                 =



 




Copyright © Lexa Software, 1996-2009.