Technical Tip: Cannot add device after restoring a configuration in FortiManager
Description
This article describes a situation where a FortiManager configuration has been restored, and it is not possible to add new devices. When selecting the 'Discovery' button, the following pop-up is displayed: 'Failed to discover the device'.
Scope
All FortiManager versions.
Solution
By default, after restoring a configuration, FortiManager is in 'Offline Mode', and this has to be disabled to add new devices.
config system global
set offline-mode disable
end
This can be disabled from the Web GUI: in System Settings --> Advanced --> Advanced Settings, and check 'Disable' on 'Offline Mode'.
diagnose dvm debug enable all
FMG400B # [dvmcmd:1009] main:4781: received incoming request; forking child process
[dvmcmd:4581] handle_request:4623: reading client command
[dvmcmd:4581] handle_request:4631: running command: update (3)
[dvmcmd:4581] update:1230: dm_probe_device(0)=-1
