DBException::toString(): FileRenameFailed: Access is denied\nActual exception

Hi

We are using MongoDB 6.0.3 version. We recently noticed following exception coming in mongodb.log file and system goes down then after.

It looks more like DB related issue than application generated error.

Error message:
“msg”:“Writing fatal message”,“attr”:{“message”:“DBException::toString(): FileRenameFailed: Access is denied\nActual exception type: class mongo::error_details::ExceptionForImpl<37,class mongo::AssertionException>\n\n”}}

log file attached:
MongoDB.log (466.8 KB)

We would like to understand why such exception occur and solution if any. If you are aware of this issue, and if it is resolved next versions do let us know.

Regards
Harish Alwala

Hi, welcome to the MongoDB Community.

Take a look on this links: Mongod random crashes on Windows: FileRenameFailed and HCL Sametime - MongoDB on Windows 2019 crashes once a day - Community

Hey

Thanks for the link. I will check

1 Like