[DOCS-6248] Comment on: "manual/tutorial/install-mongodb-on-linux.txt" Created: 21/Sep/15 Updated: 27/Jul/16 Resolved: 27/Jul/16 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Docs Collector User (Inactive) | Assignee: | Andrew Aldridge |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
CentOS 7 Location: http://docs.mongodb.org/master/tutorial/install-mongodb-on-linux/ |
||
| Participants: | |
| Days since reply: | 7 years, 29 weeks ago |
| Description |
|
In the "Run MongoDB" section, when you change the data directory, if you are running enforced SELinux, you also need to change the permissions of the security context for that new directory. Setting the owner and group alone is not enough. You change it with: sudo chcon -R -u system_u -t mongod_var_lib_t /data/db Solution originally found in: http://stackoverflow.com/questions/15229412/unable-to-create-open-lock-file-data-mongod-lock-errno13-permission-denied/15982017#comment45464578_15982017 |
| Comments |
| Comment by Kay Kim (Inactive) [ 27/Jul/16 ] |
|
JIRA housekeeping. |