Skip to main content
Xavier_BS
New Member
Jan 21, 2025 12:50 PM UTC
Question

License Issue

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
Jan 21, 2025 3:37 PM UTC

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.

Translate
AEK
dingjerry_FTNT
Staff
Staff
Jan 21, 2025 3:47 PM UTC

@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;

Translate
dingjerry_FTNT
Staff
Staff
Jan 21, 2025 3:45 PM UTC

Hi @Xavier_BS ,

 

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

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024