Hi All,
We have install mongodb in Ubuntu 18.04 LTS. The system was working fine. mongodb service was auto started during reboot.
We ran
sudo mongod --repair , After this the mongod service is not autostarting and
sudo systemctl enable mongod-
sudo systemctl start mongodis not working
But When I executesudo mongod --config /etc/mongodb.conf, Mongo db works well.
We want to autostart mongodb using systemctl. Kindly guide me to fix the auto start issue.
Regards,
Bala