
我試圖在安裝依賴項時安裝 kaa(IOT 平台),但在執行命令時出現錯誤-
$ sudo systemctl start mongodb
error- Failed to start mongodb.service: Unit mongodb.service is masked.
答案1
答案2
使用 3+ 版本的 mongodb。您不必啟動,mongodb
但只需啟動 mongod 即可。所以啟動 mongod 的正確方法是
sudo systemctl start mongod