MongoDB 2.6 does not start on Ubuntu 15.04
I installed from the debian wheeze repository and it works fine.
First make sure you remove the mongodb-org package and all its dependencies:
First make sure you remove the mongodb-org package and all its dependencies:
Remove the old mongodb.list you created:sudo apt-get purge mongodb-org sudo apt-get autoremove
Use the Debian repository instead:sudo rm /etc/apt/sources.list.d/mongodb.list
Update and install again:echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.0 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.0.list
After that, you can succesffully start the server:sudo apt-get update sudo apt-get install -y mongodb-org
orsudo service mongod start
(as clarified by Ernie Hershey in reply to Roman Gaufman's comment here: https://jira.mongodb.org/browse/SERVER-17742)systemctl start mongod
0 nhận xét:
Đăng nhận xét