FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
Anonymous
Not applicable
Article Id 192366

Description


This article describes how to recover the FortiGate from not being able to delete the central-management setting because of a GUI message:
 

'Please unregister device from FortiManager first' (GUI).
'Please unregister-device from FortiManager first. object set operator error, -582 discard the setting Command fail. Return code -582' (CLI).

 

image (4).png

 

Scope

 

FortiGate.

Solution


Investigate this problem. In the meantime, as a workaround:

  • From the GUI, add 0.0.0.0 as the FortiManager IP.
  • It will be logged out from the FortiGate.
  • Log in again.
  • It will be possible to set central management to 'None' without registering.
  • Apply the changes.

 

Additional note:
For FortiManager Cloud, doing the change mentioned will still result in an error:
'Please unregister-device from FortiManager first. object set operator error, -582 discard the setting. Command fail. Return code -582'

 

In this case, un-set the serial number of the FortiManager from the FortiGate:


config system central-management
    unset serial-number
end