Failed to start mongod.service: Unit mongod.service not found. in ubuntu aws code example
Example 1: Failed to start mongod.service: Unit mongod.service not found.
$service mongodb start
$service mongodb status
Example 2: Failed to enable unit: Unit file mongod.service does not exist.
> systemctl list-unit-files --type=service
...
mongodb.service enabled
...