How to kill a process that says âOperation not permittedâ when attempted?
Clash Royale CLAN TAG#URR8PPP
up vote
14
down vote
favorite
I have a process I would like to kill:
computer@ubuntu:~$ ps aux | grep socat
root 2092 0.0 0.0 5564 1528 pts/1 T 14:37 0:00 sudo socat TCP:xxx.17.29.152:54321 PTY,link=/dev/ttyGPS0,raw,echo=0,mode=666
computer@ubuntu:~$ kill 2092
-bash: kill: (2092) - Operation not permitted <--------------- How to kill ??
sudo kill
add a comment |Â
up vote
14
down vote
favorite
I have a process I would like to kill:
computer@ubuntu:~$ ps aux | grep socat
root 2092 0.0 0.0 5564 1528 pts/1 T 14:37 0:00 sudo socat TCP:xxx.17.29.152:54321 PTY,link=/dev/ttyGPS0,raw,echo=0,mode=666
computer@ubuntu:~$ kill 2092
-bash: kill: (2092) - Operation not permitted <--------------- How to kill ??
sudo kill
3
The command you list here is running as root. Have you tried runningsudo kill 2092
?
â Joel Taylor
Sep 3 '13 at 22:18
add a comment |Â
up vote
14
down vote
favorite
up vote
14
down vote
favorite
I have a process I would like to kill:
computer@ubuntu:~$ ps aux | grep socat
root 2092 0.0 0.0 5564 1528 pts/1 T 14:37 0:00 sudo socat TCP:xxx.17.29.152:54321 PTY,link=/dev/ttyGPS0,raw,echo=0,mode=666
computer@ubuntu:~$ kill 2092
-bash: kill: (2092) - Operation not permitted <--------------- How to kill ??
sudo kill
I have a process I would like to kill:
computer@ubuntu:~$ ps aux | grep socat
root 2092 0.0 0.0 5564 1528 pts/1 T 14:37 0:00 sudo socat TCP:xxx.17.29.152:54321 PTY,link=/dev/ttyGPS0,raw,echo=0,mode=666
computer@ubuntu:~$ kill 2092
-bash: kill: (2092) - Operation not permitted <--------------- How to kill ??
sudo kill
sudo kill
edited Sep 3 '13 at 23:02
Gilles
515k12210251554
515k12210251554
asked Sep 3 '13 at 21:45
jdl
2862410
2862410
3
The command you list here is running as root. Have you tried runningsudo kill 2092
?
â Joel Taylor
Sep 3 '13 at 22:18
add a comment |Â
3
The command you list here is running as root. Have you tried runningsudo kill 2092
?
â Joel Taylor
Sep 3 '13 at 22:18
3
3
The command you list here is running as root. Have you tried running
sudo kill 2092
?â Joel Taylor
Sep 3 '13 at 22:18
The command you list here is running as root. Have you tried running
sudo kill 2092
?â Joel Taylor
Sep 3 '13 at 22:18
add a comment |Â
3 Answers
3
active
oldest
votes
up vote
15
down vote
accepted
try kill command with with -9 signal if sudo kill 'pid'
does not work: sudo kill -9 2092
I have a process that cannot be killed even with root (i'm running bash as root already). Any ideas what to try next?
â danbru1211
Jan 15 at 15:57
What process are you trying to kill and the error you are receiving?
â Gr33n
Jan 17 at 0:44
It is a stuck iftop and I get a "permission denied". Both iftop and kill are run by root itself. I started iftop from a bash and I can't kill that bash either.
â danbru1211
Jan 17 at 9:45
there are times even kill -9 may not work.. then try sudo kill -9 pid
â Gautam
Jun 4 at 7:32
I have a process in which I didsudo kill -9 2091
and it still gives this message. Why would that be (os/x high sierra
)
â javadba
Sep 29 at 19:05
add a comment |Â
up vote
15
down vote
That command is running under sudo as root, your kill command must as well:
sudo kill 2092
add a comment |Â
up vote
0
down vote
What if I am not a sudo user? What is the command to kill the processes then?
New contributor
add a comment |Â
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
15
down vote
accepted
try kill command with with -9 signal if sudo kill 'pid'
does not work: sudo kill -9 2092
I have a process that cannot be killed even with root (i'm running bash as root already). Any ideas what to try next?
â danbru1211
Jan 15 at 15:57
What process are you trying to kill and the error you are receiving?
â Gr33n
Jan 17 at 0:44
It is a stuck iftop and I get a "permission denied". Both iftop and kill are run by root itself. I started iftop from a bash and I can't kill that bash either.
â danbru1211
Jan 17 at 9:45
there are times even kill -9 may not work.. then try sudo kill -9 pid
â Gautam
Jun 4 at 7:32
I have a process in which I didsudo kill -9 2091
and it still gives this message. Why would that be (os/x high sierra
)
â javadba
Sep 29 at 19:05
add a comment |Â
up vote
15
down vote
accepted
try kill command with with -9 signal if sudo kill 'pid'
does not work: sudo kill -9 2092
I have a process that cannot be killed even with root (i'm running bash as root already). Any ideas what to try next?
â danbru1211
Jan 15 at 15:57
What process are you trying to kill and the error you are receiving?
â Gr33n
Jan 17 at 0:44
It is a stuck iftop and I get a "permission denied". Both iftop and kill are run by root itself. I started iftop from a bash and I can't kill that bash either.
â danbru1211
Jan 17 at 9:45
there are times even kill -9 may not work.. then try sudo kill -9 pid
â Gautam
Jun 4 at 7:32
I have a process in which I didsudo kill -9 2091
and it still gives this message. Why would that be (os/x high sierra
)
â javadba
Sep 29 at 19:05
add a comment |Â
up vote
15
down vote
accepted
up vote
15
down vote
accepted
try kill command with with -9 signal if sudo kill 'pid'
does not work: sudo kill -9 2092
try kill command with with -9 signal if sudo kill 'pid'
does not work: sudo kill -9 2092
answered Sep 4 '13 at 6:37
Gr33n
1743
1743
I have a process that cannot be killed even with root (i'm running bash as root already). Any ideas what to try next?
â danbru1211
Jan 15 at 15:57
What process are you trying to kill and the error you are receiving?
â Gr33n
Jan 17 at 0:44
It is a stuck iftop and I get a "permission denied". Both iftop and kill are run by root itself. I started iftop from a bash and I can't kill that bash either.
â danbru1211
Jan 17 at 9:45
there are times even kill -9 may not work.. then try sudo kill -9 pid
â Gautam
Jun 4 at 7:32
I have a process in which I didsudo kill -9 2091
and it still gives this message. Why would that be (os/x high sierra
)
â javadba
Sep 29 at 19:05
add a comment |Â
I have a process that cannot be killed even with root (i'm running bash as root already). Any ideas what to try next?
â danbru1211
Jan 15 at 15:57
What process are you trying to kill and the error you are receiving?
â Gr33n
Jan 17 at 0:44
It is a stuck iftop and I get a "permission denied". Both iftop and kill are run by root itself. I started iftop from a bash and I can't kill that bash either.
â danbru1211
Jan 17 at 9:45
there are times even kill -9 may not work.. then try sudo kill -9 pid
â Gautam
Jun 4 at 7:32
I have a process in which I didsudo kill -9 2091
and it still gives this message. Why would that be (os/x high sierra
)
â javadba
Sep 29 at 19:05
I have a process that cannot be killed even with root (i'm running bash as root already). Any ideas what to try next?
â danbru1211
Jan 15 at 15:57
I have a process that cannot be killed even with root (i'm running bash as root already). Any ideas what to try next?
â danbru1211
Jan 15 at 15:57
What process are you trying to kill and the error you are receiving?
â Gr33n
Jan 17 at 0:44
What process are you trying to kill and the error you are receiving?
â Gr33n
Jan 17 at 0:44
It is a stuck iftop and I get a "permission denied". Both iftop and kill are run by root itself. I started iftop from a bash and I can't kill that bash either.
â danbru1211
Jan 17 at 9:45
It is a stuck iftop and I get a "permission denied". Both iftop and kill are run by root itself. I started iftop from a bash and I can't kill that bash either.
â danbru1211
Jan 17 at 9:45
there are times even kill -9 may not work.. then try sudo kill -9 pid
â Gautam
Jun 4 at 7:32
there are times even kill -9 may not work.. then try sudo kill -9 pid
â Gautam
Jun 4 at 7:32
I have a process in which I did
sudo kill -9 2091
and it still gives this message. Why would that be (os/x high sierra
)â javadba
Sep 29 at 19:05
I have a process in which I did
sudo kill -9 2091
and it still gives this message. Why would that be (os/x high sierra
)â javadba
Sep 29 at 19:05
add a comment |Â
up vote
15
down vote
That command is running under sudo as root, your kill command must as well:
sudo kill 2092
add a comment |Â
up vote
15
down vote
That command is running under sudo as root, your kill command must as well:
sudo kill 2092
add a comment |Â
up vote
15
down vote
up vote
15
down vote
That command is running under sudo as root, your kill command must as well:
sudo kill 2092
That command is running under sudo as root, your kill command must as well:
sudo kill 2092
answered Sep 3 '13 at 22:20
wingedsubmariner
2,213819
2,213819
add a comment |Â
add a comment |Â
up vote
0
down vote
What if I am not a sudo user? What is the command to kill the processes then?
New contributor
add a comment |Â
up vote
0
down vote
What if I am not a sudo user? What is the command to kill the processes then?
New contributor
add a comment |Â
up vote
0
down vote
up vote
0
down vote
What if I am not a sudo user? What is the command to kill the processes then?
New contributor
What if I am not a sudo user? What is the command to kill the processes then?
New contributor
New contributor
answered 14 mins ago
Kishore BharathKumar
1
1
New contributor
New contributor
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f89316%2fhow-to-kill-a-process-that-says-operation-not-permitted-when-attempted%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3
The command you list here is running as root. Have you tried running
sudo kill 2092
?â Joel Taylor
Sep 3 '13 at 22:18