Failed to enable unit: Unit file mongod.service does not exist.
> sudo systemctl enable mongodb.service
Failed to enable unit: Unit file mongod.service does not exist.
> sudo systemctl enable mongodb.service
Failed to start mongod.service: Unit mongod.service not found.
$service mongodb start
$service mongodb status
Failed to enable unit: Unit file mongod.service does not exist.
> systemctl list-unit-files --type=service
...
mongodb.service disabled
...
Failed to restart mongodb.service: Unit mongodb.service is masked.
# Failed to restart mongodb.service: Unit mongodb.service is masked.
$ sudo systemctl unmask mongodb
Failed to enable unit: Unit file mongod.service does not exist.
> systemctl list-unit-files --type=service
...
mongodb.service enabled
...
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us