Hi there,
Assuming you have root priviledges (as you *deleted* the tomcat
folder), do this:
$ps -eaf | grep 'java'
you should see something like:
tomcat 20201 1 0 Sep10 ? 00:05:19
/usr/java/jdk1.5.0_06/bin/java
-Djava.endorsed.dirs=/usr/share/tomcat5/common/endorsed -classapth bla
bla bla..
The number 20201 is the process ID in this case. Get the one you see
and then do this :
$kill -9 <The number you see>
That should kill the old process that is sitting there taking up your
ports.
-cheers,
Manish
> hi my problem is someday i was distracted and without think i deleted
> all the apache tomcat directory from linux but a little problem i
[quoted text clipped - 6 lines]
> were. i'll regard so much if anybody has an idea, and excuse me about
> my english.
gk - 23 Sep 2006 12:44 GMT
> Hi there,
>
[quoted text clipped - 14 lines]
>
> $kill -9 <The number you see>
Hi Manish ,
is there any specific reason to put 9 in your command ? why 9 ? what
it means here ? can we put any number instead of 9 ?
Thanks
> That should kill the old process that is sitting there taking up your
> ports.
[quoted text clipped - 12 lines]
> > were. i'll regard so much if anybody has an idea, and excuse me about
> > my english.
Matt Humphrey - 23 Sep 2006 13:53 GMT
>> Hi there,
>>
[quoted text clipped - 19 lines]
> is there any specific reason to put 9 in your command ? why 9 ? what
> it means here ? can we put any number instead of 9 ?
The kill command sends an interrupt signal to the process--the number is the
interrupt number. Signals are sometimes overridden to make the program do
something, such as reload a file, but signal #9 (the dreaded "kill -9")
always means halt.
Matt Humphrey matth@ivizNOSPAM.com http://www.iviz.com/