2016-04-29T15:23:35.125+0530 I - [initandlisten] Detected data files
in /data/db created by the 'wiredTiger' storage engine, so setting the
active storage engine to 'wiredTiger'.
2016-04-29T15:23:35.125+0530 I STORAGE [initandlisten] exception in
initAndListen: 98 Unable to create/open lock file: /data/db/mongod.lock
errno:13 Permission denied Is a mongod instance already running?,
2016-04-29T15:23:35.125+0530 I CONTROL [initandlisten] dbexit: rc: 100
But if run using SUDO command its working
and i just a warning below like
2016-04-29T15:11:19.330+0530 I CONTROL [initandlisten] ** WARNING: You are
running this process as the root user, which is not recommended.
Now i wanted to know whether giving sudo command and started the mongo
server and client is right ????. If its wrong then what are the steps to
correct the permission issue. Kindly let me know the steps in detail.
You received this message because you are subscribed to the Google Groups "mongodb-user"