Failed to start mongod.service: Unit mongod.service not found
sudo systemctl enable mongod
sudo service mongod restart
本文介绍了一种常见的MongoDB服务启动失败的情况,错误提示为'Failed to start mongod.service: Unit mongod.service not found'。文章提供了两种解决方案,首先通过'sudo systemctl enable mongod'命令启用MongoDB服务,然后使用'sudo service mongod restart'命令重启服务。
Failed to start mongod.service: Unit mongod.service not found
sudo systemctl enable mongod
sudo service mongod restart
1万+
1090

被折叠的 条评论
为什么被折叠?