• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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).]
 
Grow your own food... or this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic