when I do a
top I could see
mongod in the top consumers:
But I do not have
How do I remove
mongod? I know I could easily do a
kill 571 but it's not neat. Could this be a virus or something.
closed as not a real question by womble, Mike Pennington, gWaldo, voretaq7♦ Nov 14 '12 at 2:14
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
It could be anything.
Run 'which mongod' and 'which mongo' (both as you and root) to see if they're in either's PATH.
You can try to open them in a text editor to see if they're scripts, or 'strings' on a binary file.
But honestly the simplest answer is probably the most likely; someone installed MongoDB. Check your /etc/init.d (or the Red Hat equivalent) for it's startup scripts. Check the apt/yum config to see if non-linux-distro repositories have been added. (http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian-or-ubuntu-linux/)
Many people download MongoDB from 10gen or use their hosted apt and yum repos because the distros are difficult to work with and lag behind releases.
If you don't want it installed, kill the process and remove it.
You can also use yum to identify it:
Therefore, your machine probably has mongodb-server installed. So, to be rid of mongod, you would need to use yum to remove the mongodb-server package like so: