QTI

qti.vn. Được tạo bởi Blogger.

Thứ Tư, 6 tháng 7, 2016

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:
sudo apt-get purge mongodb-org
sudo apt-get autoremove
Remove the old mongodb.list you created:
sudo rm /etc/apt/sources.list.d/mongodb.list
Use the Debian repository instead:
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
Update and install again:
sudo apt-get update
sudo apt-get install -y mongodb-org
After that, you can succesffully start the server:
sudo service mongod start
or
systemctl start mongod
(as clarified by Ernie Hershey in reply to Roman Gaufman's comment here: https://jira.mongodb.org/browse/SERVER-17742)

0 nhận xét:

Đăng nhận xét