- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
FortiGate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
I think the issue may be related with some FTP compatibility issue.
Try the following:
- Check connection logs on FTP server
- Enable FTP debug on FGT and check what's wrong in the debug logs
- Then tune the FTP server or try with another one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AEK, thank you for your reply.
i dont think this error is related to our tftp compatibility issue as it says (get other objects from tftp server OK). because the file has completely uploaded to the device and other files such as antivirus, application control and etc are updated correctly as well. just this ffdb file has this problem.
any one else had face this problem?
Created on 08-23-2022 07:22 AM Edited on 08-23-2022 07:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello. Also faced this problem. Did all sorts of ftp debugging. Since the volume of ffdb signatures has increased to 37mb since August, we cannot update. A device with firmware 7.0.3 build0237 is updated, but a device with firmware 7.0.6 is not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So you got it Bodyak.. tftp supports no more then 32MB files.
tftp is old world protocol, try your restore command with scp or ftp.
Created on 08-23-2022 07:53 AM Edited on 08-23-2022 07:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the answer. But we update everything via ftp server. And as I wrote above, the update passes on firmware 7.0.3, but not on firmware 7.0.6.
command: execute restore other-objects ftp ffdb.pkg 192.0.27.18
The ftp server is filezilla
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Does the update apply regardless of the error? I tried this today on 7.0.6 and got the same error but noticed the IPs were updated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi AaronD_,
would you please tell us which database is updating with ffdb package to check it is updated or not? we should check it by diag autoupdate versions command right? so what is the name of database that updates with ffdb package.
thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is what I see under diag autoupdate versions.
Internet-service Full Database
---------
Version: 7.02621
Contract Expiry Date: n/a
Last Updated using manual update on Wed Aug 24 07:45:00 2022
Last Update Attempt: Wed Aug 24 07:46:51 2022
Result: Connectivity failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I checked and Internet-service database didn't updated. is there any one who has updated this database via ftp instead of tftp? maybe it's a limitation of file transferring size on tftp?
best reguards.