Sage V12 Patch 29: MongoDB crashes unexpectedly

SOLVED

Hi Everyone,

I'm experiencing the following issue with my upgrade installation.

Server OS: Windows Server 2019

MongoDB: 4.4.10

Sage Version: V12 Patch 29

MongoDB crashes unexpectedly:

"ftdc","msg":"Writing fatal message","attr":{"message":"terminate() called. An exception is active; attempting to gather more information"}}
{"t":{"$date":"2022-03-14T17:27:50.018+02:00"},"s":"F",  "c":"CONTROL",  "id":4757800, "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"}}
{"t":{"$date":"2022-03-14T17:27:55.146+02:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"ftdc","msg":"BACKTRACE: {bt}","attr":{"bt":{"backtrace":[{"a":"7FF6045382F3","module":"mongod.exe","file":".../src/mongo/util/stacktrace_windows.cpp","line":349,"s":"mongo::`anonymous namespace'::printWindowsStackTraceImpl","s+":"43"},{"a":"7FF60453A1DE","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":256,"s":"mongo::`anonymous namespace'::myTerminate","s+":"12E"},{"a":"7FF6045FE1B7","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"},{"a":"7FF6045FE199","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"},{"a":"7FFF3023DE58","module":"ucrtbase.dll","s":"terminate","s+":"18"},{"a":"7FFF173E1AAB","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"95B"},{"a":"7FFF173E2317","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11C7"},{"a":"7FFF173E40D9","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"},{"a":"7FF6047EA1C8","module":"mongod.exe","file":"d:/A01/_work/6/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"},{"a":"7FFF33A94A2F","module":"ntdll.dll","s":"_chkstk","s+":"11F"},{"a":"7FFF339F4CEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"},{"a":"7FFF339F8AE6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"},{"a":"7FFF30579319","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"},{"a":"7FFF17494572","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"C2"},{"a":"7FF6045A19C1","module":"mongod.exe","file":"C:/data/mci/54aa5b0ead6db3745f35568c882584fa/src/build/opt/mongo/base/error_codes.cpp","line":1889,"s":"mongo::error_details::throwExceptionForStatus","s+":"421"},{"a":"7FF604544B83","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":256,"s":"mongo::uassertedWithLocation","s+":"1B3"},{"a":"7FF6034451CD","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":254,"s":"mongo::FTDCController::doLoop","s+":"5BD"},{"a":"7FF603444AAC","module":"mongod.exe","file":"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.26.28801/include/thread","line":44,"s":"std::thread::_Invoke<std::tuple<<lambda_726633d7e71a0bdccc2c30a401264d8c> >,0>","s+":"2C"},{"a":"7FFF301F268A","module":"ucrtbase.dll","s":"o_exp","s+":"5A"},{"a":"7FFF32197974","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}]}}}
{"t":{"$date":"2022-03-14T17:27:55.146+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6045382F3","module":"mongod.exe","file":".../src/mongo/util/stacktrace_windows.cpp","line":349,"s":"mongo::`anonymous namespace'::printWindowsStackTraceImpl","s+":"43"}}}
{"t":{"$date":"2022-03-14T17:27:55.146+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF60453A1DE","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":256,"s":"mongo::`anonymous namespace'::myTerminate","s+":"12E"}}}
{"t":{"$date":"2022-03-14T17:27:55.146+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6045FE1B7","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"}}}
{"t":{"$date":"2022-03-14T17:27:55.146+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6045FE199","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"}}}
{"t":{"$date":"2022-03-14T17:27:55.146+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF3023DE58","module":"ucrtbase.dll","s":"terminate","s+":"18"}}}
{"t":{"$date":"2022-03-14T17:27:55.146+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF173E1AAB","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"95B"}}}
{"t":{"$date":"2022-03-14T17:27:55.146+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF173E2317","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11C7"}}}
{"t":{"$date":"2022-03-14T17:27:55.146+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF173E40D9","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"}}}
{"t":{"$date":"2022-03-14T17:27:55.147+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6047EA1C8","module":"mongod.exe","file":"d:/A01/_work/6/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"}}}
{"t":{"$date":"2022-03-14T17:27:55.147+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF33A94A2F","module":"ntdll.dll","s":"_chkstk","s+":"11F"}}}
{"t":{"$date":"2022-03-14T17:27:55.147+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF339F4CEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"}}}
{"t":{"$date":"2022-03-14T17:27:55.147+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF339F8AE6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"}}}
{"t":{"$date":"2022-03-14T17:27:55.147+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF30579319","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"}}}
{"t":{"$date":"2022-03-14T17:27:55.147+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF17494572","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"C2"}}}
{"t":{"$date":"2022-03-14T17:27:55.147+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6045A19C1","module":"mongod.exe","file":"C:/data/mci/54aa5b0ead6db3745f35568c882584fa/src/build/opt/mongo/base/error_codes.cpp","line":1889,"s":"mongo::error_details::throwExceptionForStatus","s+":"421"}}}
{"t":{"$date":"2022-03-14T17:27:55.147+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF604544B83","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":256,"s":"mongo::uassertedWithLocation","s+":"1B3"}}}
{"t":{"$date":"2022-03-14T17:27:55.147+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6034451CD","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":254,"s":"mongo::FTDCController::doLoop","s+":"5BD"}}}
{"t":{"$date":"2022-03-14T17:27:55.147+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF603444AAC","module":"mongod.exe","file":"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.26.28801/include/thread","line":44,"s":"std::thread::_Invoke<std::tuple<<lambda_726633d7e71a0bdccc2c30a401264d8c> >,0>","s+":"2C"}}}
{"t":{"$date":"2022-03-14T17:27:55.147+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF301F268A","module":"ucrtbase.dll","s":"o_exp","s+":"5A"}}}
{"t":{"$date":"2022-03-14T17:27:55.147+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF32197974","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}}}
{"t":{"$date":"2022-03-14T17:27:55.147+02:00"},"s":"F",  "c":"CONTROL",  "id":23134,   "ctx":"ftdc","msg":"Unhandled exception","attr":{"exceptionString":"0xE0000001","addressString":"0x00007FFF30579319"}}
{"t":{"$date":"2022-03-14T17:27:55.147+02:00"},"s":"F",  "c":"CONTROL",  "id":23136,   "ctx":"ftdc","msg":"*** stack trace for unhandled exception:"}
{"t":{"$date":"2022-03-14T17:27:55.153+02:00"},"s":"I",  "c":"CONTROL",  "id":31380,   "ctx":"ftdc","msg":"BACKTRACE: {bt}","attr":{"bt":{"backtrace":[{"a":"7FFF30579319","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"},{"a":"7FF6045399C9","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":97,"s":"mongo::`anonymous namespace'::endProcessWithSignal","s+":"19"},{"a":"7FF60453A1ED","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":257,"s":"mongo::`anonymous namespace'::myTerminate","s+":"13D"},{"a":"7FF6045FE1B7","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"},{"a":"7FF6045FE199","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"},{"a":"7FFF3023DE58","module":"ucrtbase.dll","s":"terminate","s+":"18"},{"a":"7FFF173E1AAB","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"95B"},{"a":"7FFF173E2317","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11C7"},{"a":"7FFF173E40D9","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"},{"a":"7FF6047EA1C8","module":"mongod.exe","file":"d:/A01/_work/6/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"},{"a":"7FFF33A94A2F","module":"ntdll.dll","s":"_chkstk","s+":"11F"},{"a":"7FFF339F4CEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"},{"a":"7FFF339F8AE6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"},{"a":"7FFF30579319","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"},{"a":"7FFF17494572","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"C2"},{"a":"7FF6045A19C1","module":"mongod.exe","file":"C:/data/mci/54aa5b0ead6db3745f35568c882584fa/src/build/opt/mongo/base/error_codes.cpp","line":1889,"s":"mongo::error_details::throwExceptionForStatus","s+":"421"},{"a":"7FF604544B83","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":256,"s":"mongo::uassertedWithLocation","s+":"1B3"},{"a":"7FF6034451CD","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":254,"s":"mongo::FTDCController::doLoop","s+":"5BD"},{"a":"7FF603444AAC","module":"mongod.exe","file":"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.26.28801/include/thread","line":44,"s":"std::thread::_Invoke<std::tuple<<lambda_726633d7e71a0bdccc2c30a401264d8c> >,0>","s+":"2C"},{"a":"7FFF301F268A","module":"ucrtbase.dll","s":"o_exp","s+":"5A"},{"a":"7FFF32197974","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}]}}}
{"t":{"$date":"2022-03-14T17:27:55.153+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF30579319","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"}}}
{"t":{"$date":"2022-03-14T17:27:55.153+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6045399C9","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":97,"s":"mongo::`anonymous namespace'::endProcessWithSignal","s+":"19"}}}
{"t":{"$date":"2022-03-14T17:27:55.153+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF60453A1ED","module":"mongod.exe","file":".../src/mongo/util/signal_handlers_synchronous.cpp","line":257,"s":"mongo::`anonymous namespace'::myTerminate","s+":"13D"}}}
{"t":{"$date":"2022-03-14T17:27:55.153+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6045FE1B7","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":88,"s":"mongo::stdx::dispatch_impl","s+":"17"}}}
{"t":{"$date":"2022-03-14T17:27:55.153+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6045FE199","module":"mongod.exe","file":".../src/mongo/stdx/set_terminate_internals.cpp","line":92,"s":"mongo::stdx::TerminateHandlerDetailsInterface::dispatch","s+":"9"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF3023DE58","module":"ucrtbase.dll","s":"terminate","s+":"18"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF173E1AAB","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"95B"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF173E2317","module":"VCRUNTIME140_1.dll","s":"_NLG_Return2","s+":"11C7"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF173E40D9","module":"VCRUNTIME140_1.dll","s":"_CxxFrameHandler4","s+":"A9"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6047EA1C8","module":"mongod.exe","file":"d:/A01/_work/6/s/src/vctools/crt/vcstartup/src/gs/amd64/gshandlereh4.cpp","line":86,"s":"__GSHandlerCheck_EH4","s+":"64"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF33A94A2F","module":"ntdll.dll","s":"_chkstk","s+":"11F"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF339F4CEF","module":"ntdll.dll","s":"RtlWalkFrameChain","s+":"14BF"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF339F8AE6","module":"ntdll.dll","s":"RtlRaiseException","s+":"316"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF30579319","module":"KERNELBASE.dll","s":"RaiseException","s+":"69"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF17494572","module":"VCRUNTIME140.dll","s":"CxxThrowException","s+":"C2"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6045A19C1","module":"mongod.exe","file":"C:/data/mci/54aa5b0ead6db3745f35568c882584fa/src/build/opt/mongo/base/error_codes.cpp","line":1889,"s":"mongo::error_details::throwExceptionForStatus","s+":"421"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF604544B83","module":"mongod.exe","file":".../src/mongo/util/assert_util.cpp","line":256,"s":"mongo::uassertedWithLocation","s+":"1B3"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF6034451CD","module":"mongod.exe","file":".../src/mongo/db/ftdc/controller.cpp","line":254,"s":"mongo::FTDCController::doLoop","s+":"5BD"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FF603444AAC","module":"mongod.exe","file":"C:/Program Files (x86)/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.26.28801/include/thread","line":44,"s":"std::thread::_Invoke<std::tuple<<lambda_726633d7e71a0bdccc2c30a401264d8c> >,0>","s+":"2C"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF301F268A","module":"ucrtbase.dll","s":"o_exp","s+":"5A"}}}
{"t":{"$date":"2022-03-14T17:27:55.154+02:00"},"s":"I",  "c":"CONTROL",  "id":31445,   "ctx":"ftdc","msg":"  Frame: {frame}","attr":{"frame":{"a":"7FFF32197974","module":"KERNEL32.DLL","s":"BaseThreadInitThunk","s+":"14"}}}
{"t":{"$date":"2022-03-14T17:27:55.155+02:00"},"s":"I",  "c":"CONTROL",  "id":23132,   "ctx":"ftdc","msg":"Writing minidump diagnostic file","attr":{"dumpName":"D:\\Sage\\MongoDB\\mongodb-win32-x86_64-windows-4.4.10\\bin\\mongod.2022-03-14T15-27-55.mdmp"}}
{"t":{"$date":"2022-03-14T17:27:55.835+02:00"},"s":"F",  "c":"CONTROL",  "id":23137,   "ctx":"ftdc","msg":"*** immediate exit due to unhandled exception"}

FileRenameFailed: Access is denied

1) The service MongoDB is startup with is a local administrator and has full access to both the log path and storage path.

2) I thought it might be trying to rename the log file for rotation so changed that to reopen, please see config file below.

# for documentation of all options, see:
#   http://docs.mongodb.org/manual/reference/configuration-options/

systemLog:
    verbosity: 0
    quiet: false
    traceAllExceptions: false
    path: "D:\\Sage\\MongoDB\\logs\\mongodb.log"
    logAppend: true
    logRotate: reopen
    destination: file
    timeStampFormat: iso8601-local

net:
    bindIpAll: true
    port: 27017
    wireObjectCheck: true
    ipv6: false
    ssl: 
        mode: disabled

security:
    authorization: disabled
    javascriptEnabled: true

operationProfiling:
    slowOpThresholdMs: 2500

storage:
    dbPath: "D:\\Sage\\MongoDB\\data"
    journal: 
        enabled: true
    directoryPerDB: false

I also found a similar case on the MongoDB forums but the thread went stale without a solution.

Parents Reply Children
  • 0 in reply to Willem Silver

    Hi,

    Vouching this answer as I too received this issue.

    MongoDB installed from Sage installer.

    MongoDB is started by Local System user.

    This issue occurs consistently daily while MongoDB does its own maintenance runs.

    Asked vendor host to whitelist the Sage installation folder path (in my case, it was `C:\Sage`) on the antivirus / malware protection plan at the moment.

    Answer from MongoDB team: www.mongodb.com/.../3

    Server OS: Windows Server 2022 Standard

    MongoDB: 4.4.12 (installed from Sage installer)

    Sage Version: V12 Patch 33