Description | This article describes how to fix the 'License is invalid for the current VM configuration' error. |
Scope | FortiGate, Microsoft Azure. |
Solution |
Usually, an error 'License is invalid for current VM configuration. Upload a new license or reconfigure the VM.' means that the particular VM has more vCPUs than is allowed, or the VM is using an incorrect VM image.
Check the connectivity with FortiGuard and verify the CPU info. See this section of the administration guide for instructions.
This usually occurs because the FortiFirewall VM Image was downloaded instead of the FortiGate VM Image, or the Upgrade Image was downloaded instead of the New Deployment image from the VM Images page under the Support tab at the support.fortinet.com portal.
Check the VM image details using the following command:
get system status
The Version should display as 'FortiGate-VM VM64...'.
Download the appropriate VM image from either the VM Images page (Under the Support tab) or the Firmware Download page. Both pages are available under the Support tab.
If the issue persists, collect the following debug output and create a support case:
get system status
Also, if Fortigate is in an HA cluster, both FortiGate units should have identical and valid licenses with matching feature sets and expiration dates. If this is not the case, the error above may occur.
Confirm the license validation by running the following commands:
# diag hardware sysinfo vm full <- (This command provides detailed hardware information about the FortiGate virtual machine and shows the VM’s unique identifiers, like the UUID, CPU, memory, and VDOM licensing details.)
fnsysctl cat /proc/sys/kernel/random/uuid <- (This will provide information about UUID i.e is specific to each FortiGate VM.)
diag debug vm-print-license <- (It shows detailed license information for your FortiGate VM, including the serial number, license expiry date, activated features, and the resources allocated.)
Related video:
Another common error is trying to use another Fortinet Product that has a valid license in the FortiGate. For more information: |
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.