0 votes
256 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 2.7k views
0 votes
1 answer 596 views
asked Aug 2, 2016 in Joomla by Justin
0 votes
1 answer 598 views
asked Jul 29, 2016 in Phalcon by Robin
0 votes
1 answer 590 views
asked Jun 22, 2016 in General by mithunrockey (620 points)
0 votes
1 answer 12.3k views
...