kevinadi
(Kevin Adistambha)
34
Hi @Konstantina_Arnaoutaki
By permission, do you mean that some are rw and some are drwx? That’s not a problem. drwx basically means that it’s a directory that you can go into (as the mongodb user).
No, since the file is owned by mongodb user, and I assume you’re not logging in as that user. What I would suggest though, is to limit the risk of writing out that file and thus changing its permission by using less instead of vim. less will open a file as read only, while vim will usually not.
There are further errors that need fixing from the log you posted:
WiredTiger error (2) [1648566108:128072][4214:0x7fc881fbcb00], txn-recover: __posix_open_file, 712: /var/lib/mongodb/journal/WiredTigerLog.0000000015: handle-open: open: No such file or directory
Could you confirm if this file /var/lib/mongodb/journal/WiredTigerLog.0000000015 is missing or not?
And also:
You should confirm that you have opened the database with the correct options including all encryption and compression option
If this error is genuine (and not the indirect result of the previous error), this is trickier. Since we established that the mongod.conf file was changed multiple times, if there are truly extra parameters to WiredTiger that we don’t know about, it’s difficult to replicate that parameters now.
Best regards
Kevin
1 Like