0

While i am trying to install MongoDB in my system following the official documentation, everything is going fine but when i try to start the server there is some error :Image of error showing

Hope someone can help me out.

  • 1
    Please don't paste screenshots, use formatted text. See https://meta.stackoverflow.com/q/285551 – Wernfried Domscheit Jun 03 '22 at 07:14
  • Have a look at the mongod logfile, typically `/var/log/mongodb/mongod.log`. Most likely you did not create the folder for `dpPath` (default `/var/lib/mongodb`, see [What is the default database path for MongoDB?](https://stackoverflow.com/questions/12738322/what-is-the-default-database-path-for-mongodb/67043090#67043090)) and granted permissions to it. – Wernfried Domscheit Jun 03 '22 at 07:16

0 Answers0