📜  mongodb 日志目录缺少 ubuntu - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:34.003000             🧑  作者: Mango

代码示例1
Check the MongoDB config file at /etc/mongod.conf or /yourMongoDBpath/mongod.conf, the logpath defined where to log.

sudo chown mongodb /var/log/mongodb