LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 06-19-2012, 01:20 AM   #1
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 549
Blog Entries: 5

Rep: Reputation: Disabled
Could not able kill apache log using killall -9 httpd command


Hi all
In one of my linux server of distro centos 6.2 .when i try to kill the process id

#killall -9 httpd .Command does not seems to work the process id remains .So i had also tried of killing of individual process id using kill -9 2652 but it also does not seems to work.After a reboot only i can disable the process id.Any help why it happens to my server



#lsof -i :80
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
httpd 2652 root 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 2684 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 2685 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 2686 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 2687 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 2688 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 2689 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 2690 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 2691 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 2776 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 2777 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 2778 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 3050 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 3051 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 3052 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
httpd 3298 apache 4u IPv6 14114 0t0 TCP *:http (LISTEN)
 
Old 06-19-2012, 01:24 AM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

1. "kill -9" won't work if you don't have permission, or if the process is blocked on I/O. The latter is probably true in your case.

2. I assume it doesn't work at all: is that correct? You're not able to serve any web requests? Ever?

3. Have you tried "/etc/init.d/httpd stop" (or equivalent)? Or "apache2ctl stop"?

4. Have you looked at the Apache error logs (in /var/log/httpd) or the system log (/var/log/messages) for reasons Apache might be failing? Are there any relevant error messages you could post here?

Thank you in advance!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Does apache need to own var/log/httpd/logfiles.log Karas Linux - Newbie 2 11-26-2009 12:25 PM
Using killall to kill mysql processes? SirTristan Linux - Newbie 3 08-14-2009 03:25 PM
Strange Apache HTTPD log entry cylarz Linux - Server 6 04-03-2008 07:46 AM
kill/killall not working (?) didi156 Linux - Software 2 05-20-2004 11:47 PM
kill vs. killall, AIX vs. Linux thebeaglebeagle Linux - Newbie 1 09-24-2003 02:41 AM


All times are GMT -5. The time now is 04:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration