Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

How to kill rmiregistry on Linux?

 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Folks, anyone know how to kill an rmiregistry process on linux? since I can't even find the process when I do a 'ps -aux'.
But the process is still running, or has not released some lock as, if i try to restart rmiregistry it says port already in use. But if I reboot my Linux machine it works fine.
On windows its simple, i just Ctrl-C and rmiregistry stops. and then i can restart it. But I can't kill it on Linux as the process does not even show up!
anyone?
 
Greenhorn
Posts: 20
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Following is true for Red Hat Linux 7.0.
After starting the rmiregistry, execute the following command from command line
ps -ef | grep java
You should list of processes that are similar to
/usr/java/jdk1.3/bin/i386/native.
Kill the first of these processes and that should kill your rmiregistry.
CAUTION:If you have any other java process like client and/or server running, then you need to stop these processes before you run the 'ps' command.
 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This works in Linux Mandraka.I hope it works in all linux which is compatible with the Red Hat.
Type
ps -ax|grep rmiregistry
and enter.Then in the command mode process id of the rmiregistry get displayed.then kill -9 id. This kill that process
[This message has been edited by ram mohan (edited April 06, 2001).]
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic