Re: Need to remove and add virtualhosts to start apache
> Sometimes, after a system reboot or an apache upgrade, apache won't
> start. apache-ssl comes up fine, but apache doesn't. If I run apache
> -X manually, I get a segfault.
> All I have to do to fix it is remove a few virtual hosts from
> httpd.conf. Then apache starts fine. If I add them back in and reload
> apache, it continues to start fine. This technique works 100% of the
> time--and I've encountered this problem probably 10 times or so in the
> last few months.
Actually, I just had the good (?) fortune to have the problem recur. Here
is a backtrace from the segfault:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1076545344 (LWP 3142)]
0x4073f324 in ERR_add_error_data () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
(gdb) bt
#0 0x4073f324 in ERR_add_error_data () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#1 0x406a8380 in ?? ()
#2 0x40b23380 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7
#3 0x4073f320 in ERR_add_error_data () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#4 0x08118bd0 in ?? ()
#5 0x08118bd0 in ?? ()
#6 0x40b23380 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7
#7 0x4073af45 in lh_insert () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#8 0x08118bd0 in ?? ()
#9 0x40b23380 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7
#10 0xbfffb3c8 in ?? ()
#11 0x4073e8ce in ERR_add_error_data () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#12 0x00000001 in ?? ()
#13 0x14064057 in ?? ()
#14 0x407b6d04 in ?? () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#15 0x4079f26d in CAST_S_table7 () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#16 0x08118bd0 in ?? ()
#17 0xbfffb458 in ?? ()
#18 0x4073eb3d in ERR_add_error_data () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#19 0x40b23380 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7
#20 0x4079f26d in CAST_S_table7 () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#21 0x00000185 in ?? ()
#22 0x407b6d04 in ?? () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#23 0x40b23388 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7
#24 0x14000000 in ?? ()
#25 0x4073d5f3 in ERR_load_ERR_strings () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#26 0x40b23380 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7
#27 0x407b95a0 in p_CSwift_ReleaseAccContext () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#28 0x40ab1458 in php_builtin_extensions () from /usr/lib/apache/1.3/libphp4.so
#29 0x4073d52d in ERR_load_ERR_strings () from /usr/lib/i686/cmov/libcrypto.so.0.9.7
#30 0x40b24010 in ?? () from /usr/lib/i686/cmov/libssl.so.0.9.7
#31 0x0000001e in ?? ()
#32 0x40ab1458 in php_builtin_extensions () from /usr/lib/apache/1.3/libphp4.so
#33 0x40b1c9b2 in ERR_load_SSL_strings () from /usr/lib/i686/cmov/libssl.so.0.9.7
#34 0x00000014 in ?? ()
#35 0x40b23380 in ssl3_undef_enc_method () from /usr/lib/i686/cmov/libssl.so.0.9.7
#36 0x40ab1590 in ?? () from /usr/lib/apache/1.3/libphp4.so
#37 0x407f7267 in zm_startup_openssl () from /usr/lib/apache/1.3/libphp4.so
Previous frame inner to this frame (corrupt stack?)
--
Adam Rosi-Kessel
http://adam.rosi-kessel.org
Reply to: