Error: Unit mongodb.service is masked when starting the Mongodb
- 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