On 8/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

Quoting Andreas Widerøe Andersen <[EMAIL PROTECTED]>:

> On 8/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > Quoting Girish Venkatachalam <[EMAIL PROTECTED]>:
> > > > > > Hope to get some input.
> > > > > Looks like ur random seeding is not happening
> > > > > properly. check whether /dev/random and
> > > > /dev/urandom
> > > > > work properly. You can verify it with the command
> > > > >
> > > > > $openssl rand  512
> > > > >
> >
> >
> > Why not just run httpd under gdb, and see WHY it is crashing?
> >
> > gdb httpd httpd.core
> >
> > run -X
> >
> > once cored, just back trace, step, and it should tell you exactly why
it
> > is
> > crashing...
>
>
> Thanks!
> How do I start httpd with ssl support from this command? (I do apachectl
> startssl when Apache crashes. apachectl start works fine though.)
>
> Apache runs fine when ssl is NOT started.

run -X -DSSL


Here's the output:

# gdb httpd httpd.core
GNU gdb 4.18 (FreeBSD)
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"...(no debugging symbols
found)...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols
found)...done.
Reading symbols from /usr/local/lib/libmm.so.14...(no debugging symbols
found)...done.
Reading symbols from /usr/local/lib/libexpat.so.6...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols
found)...done.
Reading symbols from /usr/local/libexec/apache/mod_mmap_static.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_vhost_alias.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_env.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_define.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_log_config.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_mime_magic.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_mime.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_negotiation.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_status.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_info.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_include.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_autoindex.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_dir.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_cgi.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_asis.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_imap.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_actions.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_speling.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_userdir.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_alias.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_rewrite.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_access.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_auth.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_auth_anon.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_auth_db.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_digest.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/libproxy.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_cern_meta.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_expires.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_headers.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_usertrack.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_log_forensic.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_unique_id.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_setenvif.so...(no
debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/libssl.so...(no debugging
symbols found)...done.
Reading symbols from /usr/local/lib/libssl.so.4...(no debugging symbols
found)...done.
Reading symbols from /usr/local/lib/libcrypto.so.4...(no debugging symbols
found)...done.
Reading symbols from /usr/local/libexec/apache/libphp4.so...Deprecated
bfd_read called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
2627 in elfstab_build_psymtabs
Deprecated bfd_read called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
933 in fill_symbuf
done.
Reading symbols from /usr/local/lib/libgnugetopt.so.1...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/local/lib/php/20020429-debug/session.so...done.
Reading symbols from /usr/local/lib/php/20020429-debug/mhash.so...done.
Reading symbols from /usr/local/lib/libmhash.so.2...done.
Reading symbols from /usr/local/lib/php/20020429-debug/gettext.so...done.
Reading symbols from /usr/local/lib/libintl.so.6...done.
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Reading symbols from /usr/local/lib/php/20020429-debug/mbstring.so...done.
Reading symbols from /usr/local/lib/php/20020429-debug/pcre.so...done.
Reading symbols from /usr/local/lib/php/20020429-debug/openssl.so...done.
Reading symbols from /usr/local/lib/php/20020429-debug/xml.so...done.
Reading symbols from /usr/local/lib/php/20020429-debug/bz2.so...done.
Reading symbols from /usr/lib/libbz2.so.1...done.
Reading symbols from /usr/local/lib/php/20020429-debug/ctype.so...done.
Reading symbols from /usr/local/lib/php/20020429-debug/ftp.so...done.
Reading symbols from /usr/local/lib/php/20020429-debug/mysql.so...done.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.10...done.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/local/lib/php/20020429-debug/overload.so...done.
Reading symbols from /usr/local/lib/php/20020429-debug/posix.so...done.
Reading symbols from /usr/local/lib/php/20020429-debug/tokenizer.so...done.
Reading symbols from /usr/local/lib/php/20020429-debug/zlib.so...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x283d1d61 in bn_mul_add_words () from /usr/local/lib/libcrypto.so.4
(gdb) run -X DSSL
Starting program: /usr/local/sbin/httpd -X DSSL
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...

(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
Program received signal SIGPIPE, Broken pipe.
0x2810b1e8 in writev () from /usr/lib/libc.so.4
(gdb)

/Andreas
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to