| Description | This article provides steps to perform troubleshooting when a CMDB error shows up. |
| Scope | FortiGate. |
| Solution |
When trying to perform a configuration change, CMDB-related errors could appear, such as 'CMDB add entry failed', or 'CMDB command timeout'. it is most likely the result of the wrong upgrade path followed. It is always recommended to follow the upgrade path according to the upgrade path tool: https://docs.fortinet.com/upgrade-tool
When a user looks into the CLI by running this command:
diagnose sys flash list
Two boot partitions will be visible inside the grub configuration: active and backup. It is to be observed that the primary boot partition should have the current firmware version loaded; if not, that means the image got corrupted.
Here is a solution to fix this: Try to kill the process that's locking the CMDB Database. To do that, run the command:
get sys cmdb status diagnose sys cmdb info
diagnose sys kill 11 <PID> <----- Replace <PID> with the value of 'owner id': from the previous command.
If the problem persists, the FortiGate should be rebooted. If the issue persists after the reboot, capture the following diagnostic commands and open a new TAC ticket:
diagnose sys flash list
Perform the configuration change until the error appears, and then stop the debug by executing the following commands:
diagnose debug disable
The final option is to flash format FortiGate using the following KB article: Technical Tip: Formatting and loading FortiGate firmware image using TFTP |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.