- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Not able to kill process JAVA.....
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
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
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
тАО07-02-2008 11:24 PM
тАО07-02-2008 11:24 PM
Does any one know how to stop/ kill the process...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2008 11:41 PM
тАО07-02-2008 11:41 PM
Re: Not able to kill process JAVA.....
Which commands have you tried already?
Can you provide the output of ps -ef showing your process...ps -ef | grep
If you don't care about the java apps then a
kill -9
If you're having real problems with that. Find out the startup script which starts the java process. Move the script elsewhere in case you need it. Then restart the server.
But I'd be surprised if there wasn't something that relied on it. Considering it was launched.
Maybe try using "fuser" to find out who's using the process first.
Kevin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2008 11:42 PM
тАО07-02-2008 11:42 PM
Re: Not able to kill process JAVA.....
What OS you are using and what commands you have used for killing the PID, when you do a check after killing what is parent id displayed for this Java process/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2008 11:43 PM
тАО07-02-2008 11:43 PM
Re: Not able to kill process JAVA.....
>how to stop/ kill the process
#kill -9
You can get PID from ps output.
#ps -ef| grep -i
However I dont recommend to kill any process without prior knowledge of background for that process. In you case firse investigate about java process running and then only proceed to kill.
-=ShRi=-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2008 11:47 PM
тАО07-02-2008 11:47 PM
Re: Not able to kill process JAVA.....
#kill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2008 11:51 PM
тАО07-02-2008 11:51 PM
Re: Not able to kill process JAVA.....
I tried kill
Then I killed the PPID using kill -9
Java is still running...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-02-2008 11:59 PM
тАО07-02-2008 11:59 PM
Re: Not able to kill process JAVA.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2008 12:04 AM
тАО07-03-2008 12:04 AM
Re: Not able to kill process JAVA.....
I will reboot the server... But after that How can I make sure that the java process will not start at startup...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2008 12:07 AM
тАО07-03-2008 12:07 AM
Re: Not able to kill process JAVA.....
After reboot also make sure process is not running in ps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2008 12:14 AM
тАО07-03-2008 12:14 AM
Re: Not able to kill process JAVA.....
Which r the java related startup scripts...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2008 01:34 AM
тАО07-03-2008 01:34 AM
Re: Not able to kill process JAVA.....
Look for the java binaries in /opt (most likely there I think). Move them elsewhere or rename them.
Then restart your server.
Look at the rc.log to see what failed at startup. From that you can look at which files in the rc.0 rc.2 etc folders need to be taken out.
Might be some argument here that it could hang your server at startup though.
An easier method would be to find out the Java executable name.
Then do a find mixed with a grep on all startup files.
find / -exec grep "java" {} /;
Modify to suit your needs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2008 01:37 AM
тАО07-03-2008 01:37 AM
Re: Not able to kill process JAVA.....
Anyone know of any reasons this may be a bad idea? I can't recall if there's anything critically dependent on java.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2008 03:07 AM
тАО07-03-2008 03:07 AM
SolutionIf you can't kill it with kill -9, you'll have to add more swap space or reboot. It isn't using any CPU.
Next time it happens, make sure you get the whole process tree with:
UNIX95=1 ps -Hef -x
>How can I make sure that the java process will not start at startup...
It may be very infrequent or a fluke such that you can live with it.