1.装好mongodb3.4后,就是启动不了,原因不知道,百度上搜了一圈,挨个试,以下命令解决启动
root@localhost:~# chown -R mongodb:mongodb /var/lib/mongodb root@localhost:~# systemctl restart mongod root@localhost:~# systemctl status mongod
1.装好mongodb3.4后,就是启动不了,原因不知道,百度上搜了一圈,挨个试,以下命令解决启动
root@localhost:~# chown -R mongodb:mongodb /var/lib/mongodb root@localhost:~# systemctl restart mongod root@localhost:~# systemctl status mongod