Hello Team, Our MongoDB services where crashed and the log shows below . I tried to find answer on different articles . most of member are suggested to disable or skip antivirus on db folders and set Unicode utf-8 which is already passed these chakes. antivirus software not scanned showing no report on that day. so what could be the reason behind the crash. Could you please help me ?
{“t”:{“$date”:"2024-12-25T09:54:24 “ctx”:“ftdc”,“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”}}
Hello @Ivan_Groenewold , I appreciate your response . MongoDB services running through local account only. i can start and stop DB services .still do need to review ? I belive local account have all privileges
It is possible some other processing is changing the ownership of files? I am sorry but we don’t support Windows at all. I suggest you consider running our mongoDB distribution in Linux instead.
Hello @amulla
As Ivan said the error message is about file permissions.
Also that error message provides context: FTDC.
In MongoDB FTDC subsystem creates files in the diagnostic.data directory which is located under the instance’s dbPath.
By default, if you installed MongoDB with the default settings, the dbPath is typically C:\Program Files\MongoDB\Server\<version>\data. Therefore, the FTDC data would be in C:\Program Files\MongoDB\Server\<version>\data\diagnostic.data.
Make sure your local account user is able to create files in that directory.
@Igor_Solodovnikov , Actually DB was running fine from long time how can suddenly permission can changed for local account. and due to which database crashed.