0 votes
79 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.5k views
0 votes
1 answer 469 views
asked Aug 2, 2016 in Joomla by Justin
0 votes
1 answer 487 views
asked Jul 29, 2016 in Phalcon by Robin
0 votes
1 answer 521 views
asked Jun 22, 2016 in General by mithunrockey (620 points)
0 votes
1 answer 10.6k views
0 votes
1 answer 1.7k views
asked Nov 10, 2019 in General by Juno
...