Error: Unit mongodb.service is masked when starting the Mongodb

Date: 22-03-2021

  1. If you are trying to start the MongoDB service but it’s getting below error.

2. You can use following command to solve the error.
# sudo systemctl unmask mongodb

3. Use below command to start the MongoDB service.
# sudo systemctl start mongodb

Thank you!

Leave a Reply