Ask Your Question

mongod: command not found!

asked 2015-01-12 03:35:43 -0500

Qucco gravatar image

I installed mongodb using yum but when i try to run mongod in terminal, i see this message :

mongod: command not found

I cant find mongod file too by search in /! WTF?

edit retag flag offensive close merge delete


Also the command is mongo and not mongod till my knowledge.

megh gravatar imagemegh ( 2015-01-12 05:50:44 -0500 )edit

@megh thanks for your first comment, that was my answer, convert it to a answer. About your second comment: No! I can refer you to your first comment! But in a short answer, mongod is the Mongodb's Daemon.

Qucco gravatar imageQucco ( 2015-01-12 12:30:48 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2015-01-12 05:48:28 -0500

megh gravatar image

updated 2015-01-16 08:10:39 -0500

Did you follow ?

Mongodb is made up of 4 packages but you need to install mongodb-org

edit flag offensive delete link more

answered 2015-01-12 04:49:43 -0500

pnadk gravatar image

After installing a package such as mongodb, you can run the command

rpm -ql mongodb

to see what files have been installed. The executables would be installed in eg /usr/bin

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-01-12 03:35:43 -0500

Seen: 6,457 times

Last updated: Jan 16 '15