Fixing ATTENTION: Admin sessions removed because license registration status changed to ‘INVALID OR ‘Admin Sessions Removed: License Registration Status Changed to INVALID’ in Fortinet Firewall on EVE-NG. Fortigate evaluation license registration status changed to INVALID.
If you are running a Fortinet firewall on EVE-NG and encounter the error message:
ATTENTION*: Admin sessions removed because license registration status changed to ‘INVALID
This issue usually relates to the license status of the virtual firewall. In this article, we will explore the possible causes and provide solutions to resolve this issue.
Few Causes of the Issue:
- Trial License Expiry – If you are using a trial license, it may have expired, causing the firewall to revoke admin sessions.
- Connectivity Issues – The firewall may be unable to reach Fortinet’s licensing servers.
- Misconfigured System Time – If the system time is incorrect, the license validation may fail.
- Corrupt License File – The license file may be corrupted or not properly applied.
- Firmware Version Incompatibility – Some firmware versions have bugs that cause license validation issues.
Fixing or Solution of “ATTENTION*: Admin sessions removed because license registration status changed to ‘INVALID”
## Step:01 ##
FortiGate-VM64-KVM #
FortiGate-VM64-KVM # execute factoryreset
This operation will reset the system to factory default!
Do you want to continue? (y/n)y
System is resetting to factory default…
The system is going down NOW !!
FortiGate-VM64-KVM #
Please stand by while rebooting the system.
Restarting system.
SeaBIOS (version rel-1.12.1-0-ga5cab58e9a3f-prebuilt.qemu.org)
Machine UUID c5939536-f3e9-481c-a5cd-c5827f994248
iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+3FF912C0+3FEF12C0 C980
iPXE (http://ipxe.org) 00:04.0 CA80 PCI2.10 PnP PMM 3FF912C0 3FEF12C0 CA80
Booting from Hard Disk…
SYSLINUX 6.04 EDD 6.04-pre1 Copyright (C) 1994-2015 H. Peter Anvin et al
Loading flatkc… ok
Loading /rootfs.gz…ok
System is starting…
Serial number is FGVMEVI9C2PHNF36
## Step:02 (need to set new password) ##
FortiGate-VM64-KVM login: admin
Password:
You are forced to change your password. Please input a new password.
New Password:
Confirm Password:
Welcome!
## Step:03 (Now need to disable ntp) ##
FortiGate-VM64-KVM # config system ntp
FortiGate-VM64-KVM (ntp) # set ntpsync disable
FortiGate-VM64-KVM (ntp) # set type custom
FortiGate-VM64-KVM (ntp) # end
## Step:04 (need to set IP address in WAN interface with static mode) ##
FortiGate-VM64-KVM # config system interface
FortiGate-VM64-KVM (interface) # edit port1
FortiGate-VM64-KVM (port1) # set mode static
FortiGate-VM64-KVM (port1) # set ip 192.168.125.150/24
FortiGate-VM64-KVM (port1) # set allowaccess https http ping
FortiGate-VM64-KVM (port1) # end
## Step:04 (need to restart or reboot)
FortiGate-VM64-KVM # execute reboot
The “Admin sessions removed due to license status INVALID” issue on a Fortinet firewall in EVE-NG is usually related to licensing or connectivity problems. By following the troubleshooting steps above, you should be able to resolve the issue and regain access to your firewall