Skip to main content
Only root user can access this file
chmod 755 mongo.log and start the service
or move the file
sudo mv mongo.log mongo.log.old
When you start your service a new file should be created owned by mongod
Thank you. I was able to see the mongo.log and see what the error was. I fixed the error and my mongodb is working now
hey , I am also facing same issue .can u plz say how u have corrected it. since I tried a lot but of no use.
Can you open your mongo.log and see the error?
Its seems like your permission issue.
Give permission or run the command using sudo. then your mongod.log
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
Installation Error while installing on WIndows 10 | 1 | 636 | Aug 2024 |
MongoDB shard cluster 8.0rc -> grafana-agent monitoring problems | 0 | 414 | Jun 2024 |
Can we use MongoDB Enterprise (3.6.23) in production server? | 1 | 67 | Sep 2024 |
why installation hangs when it reaches to almost 50%? | 0 | 26 | Jan 10 |
Downgrade problem : BadValue: Unrecognized field ‘previousVersion’ | 1 | 38 | Mar 19 |