Hello Stefan, unfortunately the gdb problem is still there, and it stops the debug process. Therefore I tried it with ExceptionHooks and the core.dump module, to get something out of the apache: # gdb --args /usr/sbin/apache.dbg -F -X -f /etc/apache/httpd.conf GNU gdb 6.4.90-debian Copyright (C) 2006 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 "i486-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) run Starting program: /usr/sbin/apache.dbg -F -X -f /etc/apache/httpd.conf [Thread debugging using libthread_db enabled] Error while reading shared library symbols: Cannot find new threads: generic error Cannot find user-level thread for LWP 9920: generic error (gdb) bt #0 0xb7ff7010 in _dl_debug_state () from /lib/ld-linux.so.2 #1 0xbfffd860 in ?? () #2 0xb7fedc35 in dl_main () from /lib/ld-linux.so.2 #3 0xb7ffa3e8 in _dl_sysdep_start () from /lib/ld-linux.so.2 #4 0xb7febb46 in _dl_start () from /lib/ld-linux.so.2 #5 0xb7feb7b7 in _start () from /lib/ld-linux.so.2 This Cannot find user-level thread for LWP 9920: generic error gdb issue might came in because of the old kernel, that is used on my vserver: # uname -a Linux px11.ncsrv.de 2.6.9-023stab044.11-smp #1 SMP Sat Sep 29 13:36:25 MSD 2007 i686 GNU/Linux # apt-cache policy `dpkg -S /lib/ld-linux.so.2|awk -F: '{print $1}'` libc6: Installed: 2.3.6.ds1-13etch2 Candidate: 2.3.6.ds1-13etch2 Version table: *** 2.3.6.ds1-13etch2 0 500 http://ftp.de.debian.org stable/main Packages 100 /var/lib/dpkg/status Bizarre, that the option -X doesn't avoid the threaded start of apache. I thought that option ensures, that apache will start in a single process? # man apache |egrep "\-X" Reformatting apache(8), please wait... apache [ -X ] [ -F ] [ -R libexecdir ] [ -d serverroot ] [ -f config ] -X Run in single-process mode, for internal debugging purposes Even without -F and -f /etc/apache/httpd.conf I got the LWP eror again. How can I ensure, that the bibc6 debug symbols are used? I'm afraid, that they are not used by apache.dbg? I'm stuck, but I'll try to do some trial and error with the modules though. Is there a `lsmod` for apache modules? # /usr/sbin/apache.dbg -l Compiled-in modules: http_core.c mod_so.c mod_macro.c suexec: disabled; invalid wrapper /usr/lib/apache/suexec # egrep LoadModule /etc/apache/modules.conf|awk -F/ '{print $6}' mod_log_config.so mod_log_agent.so mod_log_referer.so mod_log_forensic.so mod_mime_magic.so mod_mime.so mod_status.so mod_info.so mod_dir.so mod_alias.so mod_rewrite.so mod_access.so mod_auth.so mod_setenvif.so libphp5.so What modules should I disable for debug purposes? Thank you for your help! Gerhard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]