Failed To Restart Mongod - Service - Unit Mongod - Service Not Found - Stack Overflow PDF
Failed To Restart Mongod - Service - Unit Mongod - Service Not Found - Stack Overflow PDF
Home
Failed to restart mongod.service: Unit mongod.service not found Ask Question
PUBLIC Asked 1 year, 11 months ago Active 11 months ago Viewed 7k times
Stack Overflow
Tags Blog
Users
Find Help Online Mindfully — and
Jobs Effectively!
While restart mongodb server using below command. its showing error like : Failed to restart Featured on Meta
TEAMS What’s this? mongod.service: Unit mongod.service not found.
Q&A for Work 2 Custom Filters release announcement
sudo service mongod restart
sudo rm /var/lib/mongodb/mongod.lock
mongod --repair
5 sudo service mongodb start
Don't forget to specify --dbpath to mongod command, and ensure all the files are properly owned by the
mongod user after repairing. Also, before starting the service, be sure there is no pid file:
/var/run/mongodb/mongod.pid – Facundo Victor Jan 12 '18 at 16:39
add a comment
Related
Question feed
Not the answer you're looking for? Browse other questions tagged mongodb or ask your own
question.
STACK OVERFLOW PRODUCTS COMPANY STACK EXCHANGE Blog Facebook Twitter LinkedIn
NETWORK
Questions Teams About
Technology
Jobs Talent Press
Life / Arts
Developer Jobs Directory Advertising Work Here
Culture / Recreation
Salary Calculator Enterprise Legal
Science
Help Privacy Policy
Other
Mobile Contact Us site design / logo © 2019 Stack Exchange Inc; user contributions
licensed under cc by-sa 3.0 with attribution required.
Disable Responsiveness rev 2019.7.30.34490