Skip to main content
Xavier_BS
New Member
January 21, 2025
Question

License Issue

  • January 21, 2025
  • 4 replies
  • 1097 views

Hello,

 

When we are trying to run the below commnads:

exec update-now

 

We are receiving the below error: 

Command fail. Return code -6

 

We have update the fw license on the portal and it is not reflecting on the fw dashboard

4 replies

AEK
SuperUser
SuperUser
January 21, 2025

Hi Xavier

On the support portal, do you see the subscription is active for your FortiGate?

If so then try run the following to check where is the issue.

execute ping service.fortiguard.net
execute ping update.fortiguard.net
execute ping guard.fortinet.net

diagnose debug application update -1
diagnose debug enable
execute update-now

Then share the output.

AEK
dingjerry_FTNT
Staff
Staff
January 21, 2025

@Xavier_BS , 

 

If you run the commands provided by @AEK , and if you have VDOM enabled, please note:

 

exe ping commands are running in VDOM;

 

diag debug app commands are running in Global;

 

exe update-now command is running in Global;

dingjerry_FTNT
Staff
Staff
January 21, 2025

Hi @Xavier_BS ,

 

If you have VDOM enabled, please make sure that you run the command in Global mode, not in VDOM.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!