Answers for "Process: 881 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=exited, status=2) Main PID: 881 (code=exited, status=2)"

1

Process: 12270 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=exited, status=14)

chown -R mongodb:mongodb /var/lib/mongodb
chown mongodb:mongodb /tmp/mongodb-27017.sock

sudo service mongod restart
Posted by: Guest on January-12-2021

Code answers related to "Process: 881 ExecStart=/usr/bin/mongod --config /etc/mongod.conf (code=exited, status=2) Main PID: 881 (code=exited, status=2)"

Browse Popular Code Answers by Language