Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Forti_New
New Contributor

command fail. return code 49

hi guys,
we've got an error on updating ffdb database on our FortiGate.
our device (FG400E - forios 7.0) is in an isolated part of our network and we have to
update it manually. when I run the command for (ffdb update database) it says:
"command fail. return code 49".
would you please tell me what exactly this error means?
thanks.

screenshot.png

 

25 REPLIES 25
sferoz
Staff
Staff

Good Day,

The issue can be reproduced, and the reason  due to FFDB hang in error status or 

The parsing process may take a long time (up to about 30mins dependent on the model), and within that timeframe, it will not be updated on GUI.

If another ffdb try to load within that timeframe, validation will fail and the error will be given.

 

The issue has been fixed in 7.2.1. Tested in lab and was able to load ISDB package file using TFTP successfully. 

 

For validation to fail, it is caused by one of the following:
- package ffdb_app format version is wrong
- package ffdb_map format version is wrong
- ffdb_app and ffdb_map do not have the same format
- package platform is wrong
- an internet service database is already in the process of parsing


Kindly try the below before executing TFTP:
execute internet-service refresh/Reboot the FGT

Thanks.

usednet_llc

I have Fortigate 92D with 6.2.11

This platform can't support 6.4.x, 7.0.x, 7.2x

I have already reboot, refresh and other dances... It's not working 

yoohj
New Contributor

Please check the attached settings below.
If the setting is not "full",
It is suspected that some DBs fail and generate errors.

 

config system global
  set internet-service-database [version]
end


https://community.fortinet.com/t5/FortiGate/Technical-Tip-Configuring-and-checking-the-Internet-Serv...

usednet
New Contributor III

We have 6.2.11, not 7.0.x or 7.2.x

USEDNET LLC
USEDNET LLC
SecurityNotification
New Contributor

For internet service DB only, I get the same error on IOS 6.2.12 and 6.2.15, the solution which worked with me for multiple devices was:
 1- Backup configuration file.

 2- downgrade IOS to 6.2.0 or 6.2.2.

 3- Update internet service DB manually via TFTP.

 4- Restore configuration file.

 
 

Capture.JPG

This works for internet service DB, but it doesn't work for the other DB (Antivirus, etc), and get other error.

Capture_2.JPG

SecurityNotification

I forget upgrading IOS again step.

Labels
Top Kudoed Authors