sudo systemctl daemon-reload // if failed to start mongod.service
sudo service mongod stop
sudo apt-get purge mongodb-org*
sudo rm -r /var/log/mongodb
sudo rm -r /var/lib/mongodb
sudo apt remove mongodb-org-server
sudo systemctl stop mongod
sudo systemctl start mongod
sudo systemctl status mongod
nmap -p- localhost | grep mongod
sudo ufw status
IGNORE "/tmp/mongodb-27017.sock","error"
"msg":"Failed to unlink socket file","attr":{"path":"/tmp/mongodb-27017.sock","error":"Operation not permitted"}
https://wiki.archlinux.org/title/MongoDB
https://mongoosejs.com/docs/migrating_to_6.html#no-more-deprecation-warning-options
https://mongoosejs.com/docs/plugins.html
No comments:
Post a Comment