- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: can't kill the process
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 06:50 PM
12-19-2004 06:50 PM
root 19832 19831 0 14:37 pts/44 00:00:00 login -- test_usr
test_usr 19839 19832 0 14:37 pts/44 00:00:00 -sh
root 9864 32487 0 15:39 pts/43 00:00:00 grep test_usr
the user login again and want to kill this dead process , but can't kill it , I am wonder why it report the process owner is not test_usr , could suggest what is wrong in my system ? thx
bash: kill: (19832) - Not owner
bash: kill: (19839) - Not owner
bash: kill: (19831) - Not owner
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 07:05 PM
12-19-2004 07:05 PM
SolutionLogin as test_usr.
$ tty
$ ps -t
You will be able to kill all process listed with this command except specific processes which ignores certain Signals.
In your case:
$ kill -9 19839
This should work.
Hope that helps.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 07:10 PM
12-19-2004 07:10 PM
Re: can't kill the process
I think you have logged in as root and then did "su test_usr" and then you are trying to kill process owned by root which is not possible.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 07:22 PM
12-19-2004 07:22 PM
Re: can't kill the process
Besides , I am not use su - test_usr to login , the user login with the password .
thx in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 07:31 PM
12-19-2004 07:31 PM
Re: can't kill the process
Try shutting down the database prior to issuing the kill -9.
In this circumstance you are probably better off rebooting the server.
What is bash doing on an hp-9000 server.
If you by chance changed the root shell, change it back.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2004 07:31 PM
12-19-2004 07:31 PM
Re: can't kill the process
Only the owner ( process) or root can kill processes. The kill -9 should only be used if the normal kills fail.
If a process is owned by an other user then the user who started it the executable is suid-ed. This changes the owner of the process to the owner of the executable. Check the executable
ll /usr/bin/login
-r-sr-xr-x 1 root bin 53248 Sep 13 2002 /usr/bin/login
Regards,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-30-2005 01:18 AM
03-30-2005 01:18 AM
Re: can't kill the process
Do you have any idea?
First I try only "kill"
ps -ef|grep 12697|grep -v grep
crpadm 12697 12674 0 Mar 24 ? 52:16 dw.sapCRP_D02 pf=/usr/sap/CRP/SYS/profile/CRP_D02_bynrap2
kill 12697
But it is still active;
ps -ef|grep 12697|grep -v grep
crpadm 12697 12674 0 Mar 24 ? 52:16 dw.sapCRP_D02 pf=/usr/sap/CRP/SYS/profile/CRP_D02_bynrap2
then I try kill -9 ;
kill -9 12697
But it is still active.
I couldnt kill it .
ps -ef|grep 12697|grep -v grep
crpadm 12697 12674 0 Mar 24 ? 52:16 dw.sapCRP_D02 pf=/usr/sap/CRP/SYS/profile/CRP_D02_bynrap2