[CentOS] Apache error
John Stanley
john.stanley at elslc.com
Tue May 22 17:08:04 UTC 2012
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
-------------- 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.sig>
More information about the CentOS
mailing list