[CentOS] Apache error

Tue May 22 17:08:04 UTC 2012
John Stanley <john.stanley at elslc.com>

On Tue, 2012-05-22 at 18:02 +0200, Luigi Rosa wrote:

$ strings /usr/lib/libapr-1.so.0|grep apr_socket_accept

yum whatprovides /usr/lib/libapr-1.so.0
A link that points to?

# 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20120522/2f180f79/attachment-0005.sig>