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

前端 未结 25 1500
误落风尘
误落风尘 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:08

    Note that if using the Windows Subsystem for Linux, systemd isn't supported and therefore commands like systemctl won't work:

    Failed to connect to bus: No such file or directory

    See Blockers for systemd? #994 on GitHub, Microsoft/WSL.

    The mongo server can still be started manual via mondgod for development of course.

提交回复
热议问题