Skip to main content
Jirka1
Explorer II
Mar 13, 2025 10:09 PM UTC
Solved

Failed import configuration to FortiManager

Hello,

I am starting to learn with FortiManager and when initially importing an existing FortiGate I get the following error:

 

Retriving configuration file from FGT... Configuration file import succeeded. Reloading configuration file... Error: Configuration reload error. --------------------------------- Failure info: SELECT "##oid" FROM objcfg_fw_sched_onetime WHERE "##parent"=3 AND ("name"=? OR "name"=?); no such table: objcfg_fw_sched_group SELECT "##oid" FROM objcfg_fw_sched_group WHERE "##parent"=3 AND ("name"=? OR "name"=?); no such table: objcfg_fw_sched_onetime SELECT "##oid" FROM objcfg_fw_sched_onetime WHERE "##parent"=3 AND ("name"=? OR "name"=?); no such table: objcfg_fw_sched_group SELECT "##oid" FROM objcfg_fw_sched_group WHERE "##parent"=3 AND ("name"=? OR "name"=?); no such table: objcfg_fw_sched_onetime SELECT "##oid" FROM objcfg_fw_sched_onetime WHERE "##parent"=3 AND ("name"=? OR "name"=?); >command(set firewall local-in-policy.1:intf SD-WAN-Inet) detail(datasrc invalid. object: firewall local-in-policy intf 1. detail: SD-WAN-Inet. solution: data not exist)> add reference fail: command(set firewall local-in-policy.1:intf SD-WAN-Inet) detail(datasrc invalid. object: firewall local-in-policy intf 1. detail: SD-WAN-Inet. solution: data not exist)cdb_parse_file: runtime error 131: datasrc invalid. object: firewall local-in-policy.1:intf. detail: SD-WAN-Inet. solution: data not exist ---------------------------------

 

It seems that the problem is caused by two rules in the local-in Policy that I have as geo-ip for IPsec tunnels:

config firewall local-in-policy     edit 1         set intf "SD-WAN-Inet"         set srcaddr "ipsec-geo-vpn"         set dstaddr "all"         set action accept         set service "IKE" "ESP"         set schedule "always"     next     edit 2         set intf "SD-WAN-Inet"         set srcaddr "all"         set dstaddr "all"         set service "IKE" "ESP"         set schedule "always"     next end

 

How to get out of this?

Thank you.

Jirka

dingjerry_FTNT
Staff
Mar 15, 2025 12:20 AM UTC

Hi @Jirka1 ,

 

Found one existing FMG bug for this issue:

 

1110780 - Resolved In 7.4.7, 7.6.3

 

This bug is also in the "Known issues" section of the FMG 7.6.2 GA Release Notes doc.

 

11 replies

dingjerry_FTNT
Staff
Staff
Mar 14, 2025 2:44 AM UTC

Hi @Jirka1 ,

 

Interesting, I've never seen the outputs of Retrieve with SQL statements.

 

Anyway:

1) What is the FMG firmware version?

2) What is the FGT firmware version?

3) Since you are running Retrieve, this FGT is in the Device Manager already, right?

4) If yes, did you do anything to FGT before running Retrieve, such as an upgrade?

5) If ADOM is enabled, what is the ADOM version?

Jirka1
Jirka1Author
Explorer II
Mar 14, 2025 7:59 AM UTC

Hi @dingjerry_FTNT ,

this was the output from trying to add FGT to FMG via CLI on FMG.

 

1) What is the FMG firmware version? - 7.6.2 VM with trial licence

2) What is the FGT firmware version? - 7.4.7, 2x200F A-A

3) Since you are running Retrieve, this FGT is in the Device Manager already, right? - no, this was retrieve when adding FGT (Discovery) to FMG

4) If yes, did you do anything to FGT before running Retrieve, such as an upgrade? -  no, this was first time retrieve

5) If ADOM is enabled, what is the ADOM version? - ADOM enabled, version 7.4, backup mode

 

Jirka

dingjerry_FTNT
Staff
Staff
Mar 14, 2025 3:07 PM UTC

Hi @Jirka1 ,

 

Please change the ADOM mode to Normal for a try.

 

You can't add a new device while the ADOM is in Backup mode.

longnguyen
New Member
Apr 21, 2025 9:44 AM UTC

Hi Jirka,

Please help me how to display the Logs like yours above, I am also having the same situation as you but when Show Firewall Local there is no configuration so I cannot Delete.

longnguyen
New Member
Apr 22, 2025 4:06 AM UTC

Hi everyone,

I am having the same problem as this when adding FGT to FMG but the error message output does not have the above information. I only get Failed message when I get to Retrive IPS signature step and when I check in Task Monitor, I get "Failed to reload configuration. 'invalid value".
Can you guys please help me?

P/s: FMG 7.6.2 and FGT 7.4.7

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT