[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#4093: start-stop-daemon fails to kill process



Yves Arrouye writes ("Bug#4093: start-stop-daemon fails to kill process"):
> Maybe should it kill the process whose pid is in the pidfile, even if
> it does not think the executable is running?
> 
> Here is an example of the problem:
> 
> marin66# /etc/init.d/apache stop
> no /usr/sbin/apache found; none killed.
> marin67# cat /var/run/apache/apache.pid 
> 12707
> marin68# ps -ax|grep 12707
> 12707  ?  S    0:00 /usr/sbin/apache 
> 20378  p9 S    0:00 grep 12707 

Are you using a new apache package ?  On my system apache installs
itself as /usr/sbin/apache-httpd.

In any case, could you check to see what
 ls -ali /proc/12707/exe
 ls -aliL /proc/12707/exe
shows and what
 ls -ali /usr/sbin/apache
shows ?

Thanks,
Ian.



Reply to: