when I do a top
I could see mongod
in the top consumers:
But I do not have mongodb
installed:
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.
when I do a top
I could see mongod
in the top consumers:
But I do not have mongodb
installed:
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.
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:
# yum whatprovides "*/bin/mongod"
Loaded plugins: downloadonly, rhnplugin, security
mongodb-server-1.6.4-1.el5.i386 : MongoDB server, sharding server and support
: scripts
Repo : EPEL-i386
Matched from:
Filename : /usr/bin/mongod
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:
# yum remove mongodb-server