0 votes
1.1k views
in MongoDB by
reshown by

exception in initAndListen: NonExistentPath: Data directory /data/db not found., terminating

Help!

1 Answer

0 votes
by

Create new folder in the root sudo mkdir -p /data/db/ and then run the following command

sudo chown `id -u` /data/db

Related questions

0 votes
1 answer 3.5k views
0 votes
2 answers 2.0k views
0 votes
1 answer 1.2k views
asked Aug 2, 2016 in Joomla by Justin
0 votes
1 answer 1.3k views
asked Jul 29, 2016 in Phalcon by Robin
0 votes
1 answer 1.3k views
asked Jun 22, 2016 in General by mithunrockey (620 points)
0 votes
1 answer 17.0k views
...