mongodb - Starting Mongod Fails Repetitively -


macos:

i try mongodb running... when type in mongod happening:

exception in initandlisten: 98 unable create/open lock file: /data/db/mongod.lock errno:13 permission denied 

is enough determine what's wrong? or should post the whole error message?

so have solution:

i went terminal , run chmod 777 /data/db.

now mongod works , mongo works well.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -