0

I followed the MongoDB Docs to run my MongoDB in ubuntu 18.04,

When I start MongoDB using "sudo mongod --dbpath /home/ubuntu/appdb --logpath /home/ubuntu/appdb/mongodb.log --fork" the terminal get this error:

Shutting down with code: 62enter image description here

kubendiran k
  • 43
  • 1
  • 6

1 Answers1

-1

Delete directory

rmdir data

And Create New:

mkdir data/db
Jatin parmar
  • 424
  • 4
  • 13