FileNotOpened error

Greetings to all.

I’m not able to create /var/mongodb/db path using sudo chown.
Please guide me through.

Thanks in advance.

Please try this

sudo mkdir -p /var/mongodb/db
sudo chown vagrant:vagrant /var/mongodb/db

1 Like

After doing what you said,this is what I get.

Capture

Doesn’t execute any further.

There is no issue.
Most likely your mongod is up and running
Did you check at os level by ps -ef|grep mongod
Please check the mongod.log.It may be waiting for connections

2 Likes