On Tue, 2012-05-22 at 18:02 +0200, Luigi Rosa wrote:
$ strings /usr/lib/libapr-1.so.0|grep apr_socket_accept apr_socket_accept
yum whatprovides /usr/lib/libapr-1.so.0 A link that points to? apr-..........el6
# Do not do a gracefull restart here! service httpd stop service hpptd start
ps aux|grep httpd # you want the parent proccess or pstree -p |grep httpd
strace -f -o httpd.txt -p 18289 '-p = parent_id_here'
Then kill strace after you see the error in the logs.
grep apr_socket_accept httpd.txt
I don't think you need to post the full strace output to the list, just the needed bits. It can get rather large. See man strace if you need to have strace do individual child process debugging in separate files.
That fails install debug packages and use gdb. You'll find the answer...
John