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
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Please post the command you're using.
Does the FGT have a route to the target server?
Test this: can you "exec ping 1x.xxx.xxx.xxx" ?
Which source IP address is used (for some FGT initiated traffic you can set the source address).
From what I see here (which is quite few information) I'd guess the routing isn't correct.
Hi thx for the reply..
I am trying to take raw log backup to FTP. The command is as follows.
execute backup disk alllogs ftp [xx.xx.xx.xx]:[xxxx] ftp_username ftp_password.
FGT has route for the ftp server and I am able to ping to it. some file were getting copied but files that are situated in vdom-root that files are not getting transferred to ftp. And at the end I am getting error "command failed, error code -1"
Regards,
Nishad
i got the same problem,already fix?
how to fix the problem? i got the same problem. help me
Just to be sure - are you executing the backup command under the management vdom (root by default)?
AtiT
"exe backup disk alllogs" is per-vdom command.
make sure under root vdom you can ping your ftp server.
for example:
### vdom1 can ping ftp
B (vdom1) # exe ping 172.16.200.55 PING 172.16.200.55 (172.16.200.55): 56 data bytes 64 bytes from 172.16.200.55: icmp_seq=0 ttl=64 time=0.2 ms 64 bytes from 172.16.200.55: icmp_seq=1 ttl=64 time=0.2 ms
B (vdom1) # exe backup disk log ftp 172.16.200.55 root 123456 event Please wait...
Connect to ftp server 172.16.200.55 ... Sent log file elog.65533 to ftp server as event_FGT5HD3915800164_vdom1_20170210_083329 OK. Please wait...
Connect to ftp server 172.16.200.55 ... Sent log file elog.65534 to ftp server as event_FGT5HD3915800164_vdom1_20170209_234327 OK. Please wait...
Connect to ftp server 172.16.200.55 ... Sent log file elog.65535 to ftp server as event_FGT5HD3915800164_vdom1_20170208_234324 OK. Please wait...
Connect to ftp server 172.16.200.55 ... Sent log file elog.0 to ftp server as event_FGT5HD3915800164_vdom1_20170207_235322 OK.
HI,
I face the same issue, anyone of you fix it?
any debug command could troubleshoot.?
Thanks
What is the fos version? Just make sure ftp server is reachable from the FGT management vdom.
Hi Vivian,
There is no vdom enable. The FortiOS version is 6.2.7 and confirm the connection good from FGT to FTP server.
It's not all log have the error, only certain log.
do you know any debug command could troubleshoot.?
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1688 | |
1087 | |
752 | |
446 | |
227 |
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 2024 Fortinet, Inc. All Rights Reserved.