cannot kill process

Joep L. Blom jlblom at neuroweave.nl
Wed Mar 4 11:45:55 UTC 2009


Thufir wrote:
> referencing:
> http://java-monitor.com/forum/showthread.php?t=22
> 
> I can't seem to kill process 5099, java:
> 
> thufir at arrakis:~$ 
> thufir at arrakis:~$ 
> thufir at arrakis:~$ sudo netstat -anp | grep 8080
> tcp6       0      0 :::8080                 :::*                    
> LISTEN      5099/java       
> tcp6       1      0 127.0.0.1:8080          127.0.0.1:48066         
> CLOSE_WAIT  5099/java       
> tcp6       1      0 127.0.0.1:8080          127.0.0.1:33316         
> CLOSE_WAIT  5099/java       
> tcp6       1      0 127.0.0.1:8080          127.0.0.1:48070         
> CLOSE_WAIT  5099/java       
> tcp6       0      0 127.0.0.1:8080          127.0.0.1:48067         
> CLOSE_WAIT  5099/java       
> tcp6       1      0 127.0.0.1:8080          127.0.0.1:52471         
> CLOSE_WAIT  5099/java       
> thufir at arrakis:~$ 
> thufir at arrakis:~$ kill -9 5099
> bash: kill: (5099) - Operation not permitted
> thufir at arrakis:~$ 
> thufir at arrakis:~$ kill  5099
> bash: kill: (5099) - Operation not permitted
> thufir at arrakis:~$ 
> thufir at arrakis:~$ ps | grep java
> thufir at arrakis:~$ ps -ae | grep java
>  5099 ?        00:06:03 java
> thufir at arrakis:~$ 
> 
> 
> thufir at arrakis:~$ 
> thufir at arrakis:~$ cat /usr/local/tomcat/logs/catalina.out | grep 
> BindException | tail
> java.net.BindException: Address already in use<null>:8080
> LifecycleException:  service.getName(): "Catalina";  Protocol handler 
> start failed: java.net.BindException: Address already in use<null>:8080
> java.net.BindException: Address already in use<null>:8080
> LifecycleException:  Protocol handler initialization failed: 
> java.net.BindException: Address already in use<null>:8080
> java.net.BindException: Address already in use<null>:8080
> LifecycleException:  service.getName(): "Catalina";  Protocol handler 
> start failed: java.net.BindException: Address already in use<null>:8080
> java.net.BindException: Address already in use<null>:8080
> LifecycleException:  Protocol handler initialization failed: 
> java.net.BindException: Address already in use<null>:8080
> java.net.BindException: Address already in use<null>:8080
> LifecycleException:  service.getName(): "Catalina";  Protocol handler 
> start failed: java.net.BindException: Address already in use<null>:8080
> thufir at arrakis:~$ 
> 
> 
> Is there something else which I should be doing?
> 
> 
> 
> 
> thanks,
> 
> Thufir
> 
> 
sudo kill process.
Joep





More information about the ubuntu-users mailing list