Failed to start mongod.service: Unit mongod.service not found

前端 未结 25 1526
误落风尘
误落风尘 2020-12-07 14:43

I follow all the steps mention in MongoDB installation documents for Ubuntu 16.04.

Steps 1:

sudo apt-key adv --keyserv         


        
25条回答
  •  爱一瞬间的悲伤
    2020-12-07 15:05

    Do not remove your db if you already have some data you found useful. Just run the command below and you're good.

    sudo systemctl restart mongodb.service
    

提交回复
热议问题