Hello everyone, after updating the license for fortimanager in my testing environment, I found that fortigate couldn't connect to fortimanager. Despite entering the following command, I still couldn't connect. I hope to get your help. Thank you!
fortimanager version: 7.2.8
Fortigate version: 7.0.15
config system central-management
set type fortimanager
set serial-number " FMG-VMTM25015787"
set fmg "113.31.127.109"
end
execute central-mgmt register-device FMG-VMTM25015787 123
The following is the firewall debug information
fortigate_test_1 # diagnose debug application fgfmd
<Integer> Debug level.
fortigate_test_1 # diagnose debug application fgfmd -1
Debug messages will be on for 30 minutes.
fortigate_test_1 # diagnose debug enable
fortigate_test_1 # FGFMs: set device as in_progress
FGFMs: client:send:
get auth
serialno=FGT40FTK2109BQ01
mgmtid=1581151727
platform=FortiGate-40F
fos_ver=700
minor=0
patch=15
build=632
branch=632
maxvdom=10
fg_ip=192.168.1.4
hostname=fortigate_test_1
harddisk=no
biover=05000021
mgmt_mode=normal
enc_flags=0
mgmtip=192.168.1.4
mgmtport=443
FGFMs: Destroy stream_svr_obj
FGFMs: client:
reply 200
request=auth
serialno=FMG-VMTM25015787
user=admin
passwd=
mgmtport=443
keepalive_interval=120
chan_window_sz=32768
sock_timeout=360
mgmtid=1581151727
FGFMs: [__chg_by_fgfm_msg] set keepalive_interval: 120
FGFMs: [__chg_by_fgfm_msg] set sock timeout: 360
FGFMs: client:send:
reply 501
request=auth
FGFMs: serial no FMG-VMTM25015787 saved to FMG detect file
FGFMs: client:send:
get auth
serialno=FGT40FTK2109BQ01
mgmtid=1581151727
platform=FortiGate-40F
fos_ver=700
minor=0
patch=15
build=632
branch=632
maxvdom=10
fg_ip=192.168.1.4
hostname=fortigate_test_1
harddisk=no
biover=05000021
mgmt_mode=normal
enc_flags=0
mgmtip=192.168.1.4
mgmtport=443
FGFMs: client:
reply 200
request=auth
serialno=FMG-VMTM25015787
user=admin
passwd=
mgmtport=443
keepalive_interval=120
chan_window_sz=32768
sock_timeout=360
mgmtid=1581151727
FGFMs: [__chg_by_fgfm_msg] set keepalive_interval: 120
FGFMs: [__chg_by_fgfm_msg] set sock timeout: 360
FGFMs: client:send:
reply 501
request=auth
FGFMs: serial no FMG-VMTM25015787 saved to FMG detect file
FGFMs: client:send:
get auth
serialno=FGT40FTK2109BQ01
mgmtid=1581151727
platform=FortiGate-40F
fos_ver=700
minor=0
patch=15
build=632
branch=632
maxvdom=10
fg_ip=192.168.1.4
hostname=fortigate_test_1
harddisk=no
biover=05000021
mgmt_mode=normal
enc_flags=0
mgmtip=192.168.1.4
mgmtport=443
FGFMs: client:
reply 200
request=auth
serialno=FMG-VMTM25015787
user=admin
passwd=
mgmtport=443
keepalive_interval=120
chan_window_sz=32768
sock_timeout=360
mgmtid=1581151727
FGFMs: [__chg_by_fgfm_msg] set keepalive_interval: 120
FGFMs: [__chg_by_fgfm_msg] set sock timeout: 360
FGFMs: client:send:
reply 501
request=auth
FGFMs: serial no FMG-VMTM25015787 saved to FMG detect file
FGFMs: register device exceeds max count, session retry 3, total retry 3
FGFMs: Destroy dev register service
FGFMs: set device as unknown
Solved! Go to Solution.
I have found the reason. There is a space before the "set serial-number" sequence number. Don't need to help check this issue. Thank you
I have found the reason. There is a space before the "set serial-number" sequence number. Don't need to help check this issue. Thank you
Hello nplijw,
Thanks for sharing the solution and glad that you fixed the issue :)
| User | Count |
|---|---|
| 2808 | |
| 1427 | |
| 812 | |
| 764 | |
| 455 |
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 2025 Fortinet, Inc. All Rights Reserved.