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

Row log backup error " command failed. Error code -1 "

hi,

 

I am trying to take row log backup of my primary Fortigate log disk. Fortigate failed to backup vdom root. 

 

Connect to ftp server 1x.xx.xx.x ... Error: Sending log file /var/log/root/rlog.xxxx to ftp server via vdom root failed. Please wait...

 

Connect to ftp server 1x.xx.xx.x ... Error: Sending log file /var/log/root/wlog.xxxx to ftp server via vdom root failed. Please wait...

 

Connect to ftp server 1x.xx.xx.x ... Error: Sending log file /var/log/root/wlog.xxxx to ftp server via vdom root failed. Command fail. Return code -1

 

 

 

Kindly help me.. Why this is happning.?

Regards,

Nishad

Regards, Nishad
12 REPLIES 12
vivianwu_FTNT

Can you post the output for failed log type? 

 

exe log filter device disk

exe log list xxx (xxx is the log type)

exe backup disk log ftp x.x.x.x user pass xxx 

 

Here is what I got on 6.2.0

100D-1 # exe log list 10 rlog.64959 7824 1417 Wed Oct 13 17:04:01 2021 1 rlog file(s) found. Uncompressed Total: 7 KB Compressed Total: 1 KB

100D-1 # exe backup disk log ftp 172.16.200.55 username pass app-ctrl Please wait...

Connect to ftp server 172.16.200.55 ... Sent log file rlog.64959 to ftp server as disk-app-ctrl_FG100D3G13810517_root_20211013_170401_64959 OK.

ck888

HI Vivian

 

Here is what i got. i'm going backup all log files.

 

100D-1 # exe log list 0

tlog.65516 125184242 9060014 Sat Oct 9 00:00:00 2021 tlog.65515 291196187 20589922 Sun Oct 10 00:00:00 2021 tlog.65514 289291580 20220670 Mon Oct 11 00:00:00 2021 tlog.65513 286981423 19698449 Tue Oct 12 00:00:00 2021 tlog.65512 291608258 19997269 Wed Oct 13 00:00:00 2021 tlog.65511 300448586 20972903 Wed Oct 13 21:44:11 2021 tlog.65510 29605088 2037185 Thu Oct 14 00:00:00 2021 tlog.65509 171201162 11781236 Thu Oct 14 12:45:28 2021 8 tlog file(s) found. Uncompressed Total: 1702 MB Compressed Total: 118 MB

100D-1 # exe backup disk alllogs ftp 10.10.10.180 ftp ftp Connect to ftp server 10.10.10.180:21... Error: Sent log file tlog.65289 to ftp server as via vdom root failed. Please wait...

vivianwu_FTNT

it is interesting. there is no tlog.65289 under exe log list 0.  Could you list "fnsysctl ls -al /var/log/root/tlog*" 

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors