Show insufficient permission issues when you install the database Mongdb

Show insufficient permission issues when you install the database Mongdb

1. When adding environment variables need to check the path is correct
2. Check that the file execute permissions mongod under the path / usr / local / mongodb / bin / mongdb
3. After viewing permissions, if no execute permissions:
chmod 755 / usr / local / MongoDB / bin / mongdb
4. If your group does not have permission person belongs:
chown root.root / usr / local / MongoDB / bin / mongdb

I feel useful, give praise Oh

Published 11 original articles · won praise 0 · Views 120

Guess you like

Origin blog.csdn.net/qq_34172780/article/details/104817773