[SERVER-38247] WiredTiger.turtle has no required permission, access denied. Created: 26/Nov/18 Updated: 28/Nov/18 Resolved: 28/Nov/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.0.4 |
| Fix Version/s: | None |
| Type: | Question | Priority: | Major - P3 |
| Reporter: | John Lemon [X] | Assignee: | Danny Hatcher (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | WiredTiger, mongodb | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 16.04 |
||
| Attachments: |
|
| Participants: |
| Description |
|
I can't start my mongodb, because WiredTiger.turtle has no required permission. I tried to give full permission to this file, but after starting mongodb the file's permissions reset and error repeats. Just for check I deleted this file, but file appears itself again. |
| Comments |
| Comment by Danny Hatcher (Inactive) [ 28/Nov/18 ] | |||||||||||||||||||||||||
|
Hello John, Do you still have problems if you follow our documentation on installing MongoDB on Ubuntu? From your responses, I do not see anything to indicate a bug in the MongoDB server. If you still have issues, for MongoDB-related support discussion please post on the mongodb-user group or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-user group. See also our Technical Support page for additional support resources. Thank you, Danny | |||||||||||||||||||||||||
| Comment by John Lemon [X] [ 28/Nov/18 ] | |||||||||||||||||||||||||
|
@Daniel Hatcher
Hello Daniel,
Now I have other issue. I find out that inside mongod.service file were written some unusual script which does not let run mongodb properly. So I removed completely mongodb except var/lib/mongodb and reinstall it again. But my mongod.service file does not appear again. In the result the mongodb can't work as service on my ubuntu server. The server says there is no mongod or mongodb service to start.
| |||||||||||||||||||||||||
| Comment by Danny Hatcher (Inactive) [ 27/Nov/18 ] | |||||||||||||||||||||||||
|
Hello John, Can you confirm that the user running the mongod has the appropriate file permissions? It needs the ability to read, write, and execute on the dbpath.
If the user has all the appropriate permissions, can you please confirm what filesystem you are using? The startup warning mentions that you are not using the recommended XFS. Thank you, Danny | |||||||||||||||||||||||||
| Comment by John Lemon [X] [ 27/Nov/18 ] | |||||||||||||||||||||||||
|
Hello Daniel
or text version:
| |||||||||||||||||||||||||
| Comment by Danny Hatcher (Inactive) [ 26/Nov/18 ] | |||||||||||||||||||||||||
|
Hello John, Please provide the full error that MongoDB presents when you attempt to start the process with the WiredTiger.turtle intact. Thank you, Danny |