Technical Note: FortiManager is unable to retrieve configuration 'Failed to reload configuration. Duplicate'
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
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:
Go into the FortiGate and delete the duplicates from the web filter profile.
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
Repeat the process until there are no more duplicates detected.
Finally, retrieve the configuration.
