FortiManager
FortiManager supports network operations use cases for centralized management, best practices compliance, and workflow automation to provide better protection against breaches.
rcruz23
Staff
Staff
Article Id 359390

 

Description This article describes troubleshooting steps when facing synchronization issues.
Scope FortiManager and FortiAnalyzer.
Solution

When facing the following error:

 

Failed to synchronize FortiAnalyzer with current ADOM data. Fail(errno=-1):runtime error 0: invalid value

 

Make sure to check the following requirements:

 

  1. FortiManager and FortiAnalyzer are on the same versions.
  2. ADOM name, type, and device names on both devices should be the same.

 

If there is any discrepancy make sure that FortiAnalyzer does not have any devices that are not included in FortiManager. FortiManager will update any new device that FortiAnalyzer does not have.

If FortiAnalyzer has a device that is not in FortiManager remove the device from FortiAnalyzer as this will trigger the error. After removing all the devices on FortiAnalyzer that are not included on FortiManager try to add FortiAnalyzer on FortiManager and the error should be fixed.

 

Helpful troubleshooting commands:

 

FortiManager command line:


diagnose debug disable
diagnose debug reset
diagnose debug application depmanager 255
diagnose debug application dmworker 255
diagnose debug application securityconsole 255
diagnose deb service dvmcmd 255
diagnose debug application dmapi 255
diagnose debug enable

 

Add the FortiAnalyzer to the FortiManager and reproduce the issue to collect the logs.
Disable the debug after collecting the logs using the below syntax.


diagnose debug enable
diagnose debug reset