Description of problem: I can't start mongodb :( Version-Release number of selected component (if applicable): mongodb-1.8.2-9.fc16.x86_64 How reproducible: Always Steps to Reproduce: 1. systemctl start mongodb.service Actual results: Fail (ed to issue method call: Unit mongodb.service failed to load: No such file or directory) Expected results: Win Additional info: # rpm -ql mongodb | grep -c service 0 # yum install mongodb Package mongodb-1.8.2-9.fc16.x86_64 already installed and latest version
That's because the service isn't called mongodb (it's called mongod), and you (probably) don't have the mongodb-server package installed. [root@localhost ~]# rpm -qa | grep mongo mongodb-server-1.8.2-9.fc16.x86_64 mongodb-1.8.2-9.fc16.x86_64 libmongodb-1.8.2-9.fc16.x86_64 [root@localhost ~]# rpm -ql mongodb-server | grep service /lib/systemd/system/mongod.service [root@localhost ~]# systemctl start mongod.service [root@localhost ~]# systemctl status mongod.service mongod.service - High-performance, schema-free document-oriented database Loaded: loaded (/lib/systemd/system/mongod.service; disabled) Active: active (running) since Mon, 26 Sep 2011 13:34:34 -0400; 9s ago Process: 995 ExecStart=/usr/bin/mongod $OPTIONS run (code=exited, status=0/SUCCESS) Main PID: 998 (mongod) CGroup: name=systemd:/system/mongod.service └ 998 /usr/bin/mongod --quiet -f /etc/mongodb.conf run [root@localhost ~]# ps -efwww | grep mongo mongodb 998 1 0 13:34 ? 00:00:00 /usr/bin/mongod --quiet -f /etc/mongodb.conf run root 1008 931 0 13:34 pts/0 00:00:00 grep --color=auto mongo [root@localhost ~]# Of course, if you still are having problems after installing that, please feel free to re-open.