> # Do not do a gracefull restart here! service httpd stop service hpptd
> start
Done.
>
> 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
got a lot of
Process 32565 attached
Process 32566 attached
Process 32567 attached
Process 32568 attached
Process 32561 detached
grep returns an empty set, there is no 'apr' in the entire httpd.txt
Murphy's Law is recursive. Washing your car to make it rain doesn't work.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
On Tue, 2012-05-22 at 19:24 +0200, Luigi Rosa wrote:
> > $ strings /usr/lib/libapr-1.so.0|grep apr_socket_accept apr_socket_accept
>
> Ok, the strings command gives the same result.
It should just for a pointer...
> > # Do not do a gracefull restart here! service httpd stop service hpptd
> got a lot of
> Process 32565 attached
Should also strace all subprocesses off the parent
> grep returns an empty set, there is no 'apr' in the entire httpd.txt
> Some (I suppose) relevant parts:
You want to look for errors also. You could post the entire thing to a
pastebin that bit is basically the start up. If it is still doing it
the error should be in there and may be socket related also as your was.
But be aware that some Parent Processes are not aware of there Subprocs
and thus they can not be seen by the parent. So that entails the error
will not be in the log!
Before you go any further:
httpd is running here
lsof |grep httpd
...
all process listed here
service httpd stop
lsof|grep httpd
...should show no processes listed
if you see any listed theres your problem maybe.
Your problem seems related to an older apache problem.
John
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos