apache+mod_ssl signal 4

Doug White dwhite at gumbysoft.com
Fri Apr 1 18:59:11 PST 2005


On Fri, 1 Apr 2005, Uzi Klein wrote:

> I Installed a fresh apache-moddssl port
> (using portinstall www/apache13-modssl)
>
> When i start apache using "apachectl start" everything works just fine,
> but when i try "apachectl startssl" i have some errors i have no idea
> what to do with
>
> httpd-error log gives me :
>
> [Fri Apr  1 11:40:24 2005] [info] mod_unique_id: using ip addr 127.0.0.1
> [Fri Apr  1 11:40:25 2005] [info] (2)No such file or directory:
> make_sock: for port 443, setsockopt: (SO_ACCEPTFILTER)
> [Fri Apr  1 11:40:25 2005] [info] (2)No such file or directory:
> make_sock: for port 80, setsockopt: (SO_ACCEPTFILTER)

Those should be OK, you don't have accept filters installed.

> system logs gives me :
>
> pid 62364 (httpd), uid 0: exited on signal 4 (core dumped)
> Apr  1 11:48:45 www kernel: pid 62364 (httpd), uid 0: exited on signal 4
> (core dumped)

Signal 4 is SIGABRT, which is a software-initiated abort.

> i run "gdb httpd httpd.core" in /usar/local ang got :
>
> ...
>
> Reading symbols from /libexec/ld-elf.so.1...done.
> Loaded symbols for /libexec/ld-elf.so.1
> #0  0x28474fe5 in RSA_new_method () from /lib/libcrypto.so.3
> (gdb) where
> #0  0x28474fe5 in RSA_new_method () from /lib/libcrypto.so.3
> #1  0x28474d2e in RSA_new () from /lib/libcrypto.so.3
> #2  0x28493aa6 in RSAPrivateKey_asn1_meth () from /lib/libcrypto.so.3
> #3  0x284a24e0 in ASN1_item_ex_new () from /lib/libcrypto.so.3
> #4  0x284a22c0 in ASN1_item_ex_new () from /lib/libcrypto.so.3
> #5  0x2849cf20 in ASN1_item_ex_d2i () from /lib/libcrypto.so.3
> #6  0x2849c785 in ASN1_item_d2i () from /lib/libcrypto.so.3
> #7  0x28493b25 in d2i_RSAPrivateKey () from /lib/libcrypto.so.3
> #8  0x2837bc73 in ssl_init_TmpKeysHandle () from
> /usr/local/libexec/apache/libssl.so
> #9  0x2837b752 in ssl_init_Module () from
> /usr/local/libexec/apache/libssl.so
> #10 0x08056e50 in ap_init_modules ()
> #11 0x080611a0 in standalone_main ()
> #12 0x08061ab2 in main ()

This isn't that useful without a debugging copy of libcrypto,
unfortunately.  It appears something goes wrong in the RSA key generation
and it tanks. How did you generate your certificates?

> www# uname -a
> FreeBSD www.bmby.co.il 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #2: Tue Feb
> 22 16:47:08 UTC 2005
> mook at www.bmby.co.il:/usr/obj/usr/src/sys/BMBY-STABLE  i386

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-ports mailing list