Created on 05-11-2020 04:49 AM Edited on 07-18-2023 05:02 AM By Stephen_G
Description
This article describes how to resolve an issue where the 'execute update-now' command fails with error 'Command fail. Return code 6'.
Scope
FortiGate.
Solution
The command 'execute update-now' can fail when executed.
The primary issue investigated was license expired/warning messages on FortiGate.
When attempting to update the unit using 'execute update-now', the command fails with the error 'Command fail. Return code 6'.
To solve the issue:
diag sys top
diagnose sys kill 11 <pid_of_updated>
execute update-now
(Please note that, in an HA cluster, the 'updated' process does not run on the secondary device. All updates are performed by the primary device, which forwards them to the secondary).
Related articles
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.