Answers for "ExecStart=/usr/bin/mongod --config /etc/mongod.conf (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
0

ExecStart=/usr/bin/mongod --quiet --config /etc/init/mongod.conf (code=exited, status=100)

cd /var/lib/mongodb
sudo chown -R mongodb:mongodb *
sudo service mongod restart
Posted by: Guest on July-03-2020

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

Browse Popular Code Answers by Language