FortiManager
FortiManager supports network operations use cases for centralized management, best practices compliance, and workflow automation to provide better protection against breaches.
cfirpo_FTNT
Staff
Staff
Article Id 194014
Description
Importing FortiGate configuration fails with the following message: "Failed to reload configuration. Duplicate"
Solution
To correct the issue run the following commands on the FortiManager to identify the device OID and detect the duplicates.

Note: Log the CLI SSH session to a file

To identify the FortiGate OID:

# diagnose dvm device list


Then attempt to reload the configuration

#diag test deploymanager reloadconf 429829


 The ssh session will close look at the output file:

Retrieving configuration file from FGT...
Configuration file import succeeded.
Reloading configuration file...
Error: Configuration reload error.
---------------------------------
Failure info:

set type wildcard

set action monitor
next
edit 8

> set url skype.com [duplicate]
> set url skype.com [duplicate]
cdb_parse_file: runtime error 33: duplicate


 
Go into the FortiGate and delete the duplicates from the web filter profile.

Repeat the process until there are no more duplicates detected.

Finally, retrieve the configuration.


Contributors