You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# phpize for PHP7 is provided by the package php7.0-dev in Ubuntu 16.04
sudo apt-get install php7.0-dev
Problem
Failed to start mongodb.service: Unit mongodb.service is masked.
Solution:
sudo systemctl unmask mongodb
Problem
Error: couldn't connect to server 127.0.0.1:27017
Solution:
sudo rm /var/lib/mongodb/mongod.lock
mongod –repair
sudo service mongodb start
mongo
Problem
For masking error
Solution:
sudo systemctl unmask mongodb
If you are getting undesired Mongodb version, make sure you have only one source list under:
/etc/apt/sources.list.d/
To Uninstall
apt-get autoremove --purge mongodb-org*
Problem
GPG error: https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release: The following signatures couldn't be verified because the public key is not available