File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes I cann't kill apache process even with kill -9 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "I cann Watch "I cann New topic

I cann't kill apache process even with kill -9

Deepak Dew
Ranch Hand

Joined: Mar 29, 2004
Posts: 79

I am using RedHat Linux3.0 and apache 2.054.
I could not stop apache by using apachectl -k stop
I still see process listening/binded to port 8080 as

netstat -lnp|grep 8080
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0* LISTEN 15812/httpd

even doing kill -9 15812 would not wipe off this process

with ps the process is shown as :

1 T apache1 15812 1 0 75 0 - 59221 finish Jun30 ? 00:00:00 /opt/app/apache/apache1/test-apache/apache/bin/httpd -k start

T means stopped or traced state but I am not doing any tracing

I want trebooting the box as my last resort and I am looking for a way to avoid this problem which is happening frequently.

I tried killall also but it is not working.
Pz help me



IBM Certified Advance WAS Administrator on 6.1, BEA Certified WebLogic Server 81 Administrator, Vitria Certified BusinessWorks Administrator, SCJP 2
I agree. Here's the link:
subject: I cann't kill apache process even with kill -9
Similar Threads
Kill all instances of httpd deamon that are orphaned
script to kill all instances of orphaned httpd daemon
problem with ports
Kill all instances of the httpd daemon that are orphaned
how to kill a process(I know the port in which it runs)