Symptom
***** Consulting KBA, not a proposal from SAP development nor SAP product support *****
- Standard TCP/IP RFC destinations SAPFTP/SAPFTPA are called via ABAP to initiate an FTP transfer.
- Active mode FTP connection used.
- Error Accept on data channel failed : NIETIMEOUT timeout 720000 ms occurs.
- Passive mode transfer functions properly.
- tcpdump/wireshark packet trace shows PORT command attempting to reuse the same port within a short timeperiod (less than 60 seconds).
- Operating system kernel parameter net.ipv4.tcp_tw_reuse is set to 0 or 2.
- The file /proc/sys/net/ipv4/ip_local_reserved_ports contains high number of ports and port ranges.
- Parameter reserved_port/enable is not set at all or set to true in the SAP Host Agent's profile.
dev_ftp contains similar error message
|
Thr 140736265546080] [289581] > PORT 1xx,xx,x,xx,35,43 |
Wireshark packet trace
Read more...
Environment
- SuSE Linux Enterprise Server 15 (x86_64 and ppcle)
- SAP S/4HANA 2021
Product
Keywords
reserved_port/enable, /proc/sys/net/ipv4/ip_local_reserved_ports, net.ipv4.tcp_tw_reuse, SAPFTP, active mode connection , KBA , BC-SRV-COM-FTP , File Transfer via FTP , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview