Error
Error Code:
220
MongoDB Error 220: FTDC Path Already Configured
Description
Error 220, 'F T D C Path Already Set', indicates an attempt to specify the Full Time Diagnostic Data Capture (FTDC) directory when it has already been defined. This typically occurs during MongoDB instance startup or configuration updates if the `diagnostic.dataCollectionDirectory` parameter is provided more than once, leading to a configuration conflict.
Error Message
F T D C Path Already Set
Known Causes
3 known causesDuplicate Configuration Entry
The `diagnostic.dataCollectionDirectory` parameter is specified multiple times within the MongoDB configuration file (`mongod.conf`) or command-line arguments.
Redundant Startup Script Command
An initialization script or automation attempts to set the FTDC path via command-line arguments after it has already been defined in the configuration file or a previous command.
Conflicting Configuration Sources
The FTDC path is defined in both the configuration file and as a command-line argument, causing a conflict during startup.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service