[SERVER-54786] How to avoid this error “terminate() called. An exception is active; attempting to gather more information”? Created: 25/Feb/21  Updated: 09/Feb/23  Resolved: 04/Mar/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Key2SoftAgent Agent Assignee: Kelsey Schubert
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File LogDataNode1.rar     File mongod.2021-02-24T22-12-58.rar    
Issue Links:
Duplicate
is duplicated by SERVER-61680 *** immediate exit due to unhandled e... Closed
is duplicated by SERVER-70380 immediate exit due to unhandled excep... Closed
Related
related to SERVER-70380 immediate exit due to unhandled excep... Closed
is related to SERVER-68963 immediate exit due to unhandled excep... Closed
is related to SERVER-72100 mongodb service stop , Closed
is related to SERVER-73725 mongo db service often getting restar... Closed
Participants:
Case:

 Description   

Hello Dears,
The “mongod” service stopped after the following error displayed in log file,
Notes : Operating system : windows server 2019 , Mongo version 4.4,log file and diagnostic file is attached,

 

{"t":\{"$date":"2021-02-25T02:12:58.430+04:00"}

,"s":"F", "c":"CONTROL", "id":4757800, "ctx":"ftdc","msg":"Writing fatal message","attr":{"message":"terminate() called. An exception is active; attempting to gather more information"}}

{"t":\{"$date":"2021-02-25T02:12:58.430+04: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"}}

 



 Comments   
Comment by Kelsey Schubert [ 04/Mar/21 ]

Hi key2softagent@gmail.com,

This failure indicates that the mongod does not have the necessary permissions to rename files in its dbpath. I would suggest investigating other tasks on the machine running that may be interfering with the mongod's permissions. Please note that the SERVER project is for bugs and feature suggestions for the MongoDB server. As this ticket does not appear to be a bug, I will now close it. If you need further assistance troubleshooting, I encourage you to ask our community by posting on the MongoDB Developer Community Forums.

Kind regards,
Kelsey

Generated at Thu Feb 08 05:34:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.