Check your mongod.log file
It will show details on why it is failing to start
Could be permissions or tmp sock file issues etc
You can refer to your mongod.conf file for the location of logpath,dbpath dirs
Check if they have proper permissions for mongod to write
Thanks a lot. It works now.
bro can u please tell how us fixed this error
In my case it was not really an issue. Even though “brew services list” showed an error I was still able to access the DB using compass. Starting the service was not an issue for me(first line in the SS). Therefore I just ignored the services list error and starting using the db and it just works perfectly fine.
yeah same for me. I guess it has to do something with “open at login”. macos already has started this service automatically but brew tries to start it again, ig thats why its an error.
New & Unread Topics
Topic | Replies | Views | Activity |
---|---|---|---|
MongoDB Unattended install ignores INSTALLLOCATION. Installs in a new folder that somehow has my product name. | 0 | 438 | Jun 2024 |
Run mongodb from a read-only storage device? | 5 | 386 | Jul 2024 |
MongoDB log is flooded with SSL error warnings | 0 | 329 | Jul 2024 |
Upgrading from 4.2 to 4.4 on Ubuntu 20.04 help | 2 | 706 | Aug 2024 |
Attempting to upgrade from 3.6.23 to latest version and having issues | 0 | 57 | Aug 2024 |