Thank you Shi Feng for asssiting.
I am not sure if there is any RFC involved as i could see the errors on cp / ls and mv commands to files on OS level only:
We are frequently noticing 1005 RC on BTC work process, 1006 rc on UPDand DIA wp.
Once we have observed 100 rc for BTC work process
Update work process with error "Error 1006 when executing external command cp on %_TCPIP_%1 (xpgid=0,convid=.)"
Below is the work process log which says "Timeout during connection setup"
M *****************************************************************************
M *
M * LOCATION SAP-Gateway on host <Local Hostname> / sapgw00
M * ERROR timeout during allocate
M *
M * TIME xxxxx
M * RELEASE 720
M * COMPONENT SAP-Gateway
M * VERSION 2
M * RC 242
M * MODULE gwr3cpic.c
M * LINE 6284
M * DETAIL no connect of TP sapxpg from host <Local hostname> after 20 sec
M * COUNTER 561175
M *
M *****************************************************************************
M
A RFC 3730 CONVID 49736982
A * CMRC=20 DATA=1 STATUS=1 SAPRC=456 ThSAPCMRCV
A RFC> ABAP Programm: SAPLSSXP (Transaction: )
A RFC> User: XXXXX (Client: XXX)
A RFC> Destination: %_TCPIP_%2 (handle: 3, DtConId: 56D96E7530ED327DE10000002B52DDB4, DtConCnt: 1, ConvId: 49736982,{56D96E76-30ED
-327D-E100-00002B52DDB4})
A RFC> Called function module: SAPXPG_START_XPG_LONG
A *** ERROR => RFC ======> CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
Timeout during connection setup (check that partner exists)
[abrfcio.c 9196]
A {root-id=005056AD6B4F1EE5B8CCAA2BAF9B8E59}_{conn-id=00000000000000000000000000000000}_0
A *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 3732
CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
Timeout during connection setup (check that partner exists)
[abrfcio.c 9196]
A {root-id=005056AD6B4F1EE5B8CCAA2BAF9B8E59}_{conn-id=00000000000000000000000000000000}_0
A *** ERROR => RFC Error RFCIO_ERROR_MESSAGE in abrfcio.c : 1972
[abrfcio.c 9196]
A {root-id=005056AD6B4F1EE5B8CCAA2BAF9B8E59}_{conn-id=00000000000000000000000000000000}_0
L SXPG: ------------- start -------------------
L SXPG: XXXXXXXXX
L SXPG: Start status of external program: unknown contents
L SXPG: Conversation ID:
L SXPG: Error: 1,006 , Message:
L timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
L Timeout during connection setup (check that partner exists
L SXPG: Contents of protocol:
L SXPG: No protocol messages reported
L SXPG: ------------- end -------------------
Update work process with error "Error 1005 when executing external command mv on %_TCPIP_%2 (xpgid=0,convid=.)"
Below is the work process log which says "RFC destination %_TCPIP_%2 does not exist"
M *****************************************************************************
M *
M * LOCATION SAP-Gateway on host <Local Hostname> / sapgw00
M * ERROR timeout during allocate
M *
M * TIME xxxxxx
M * RELEASE 720
M * COMPONENT SAP-Gateway
M * VERSION 2
M * RC 242
M * MODULE gwr3cpic.c
M * LINE 6284
M * DETAIL no connect of TP sapxpg from host <Local Hostname> after 20 sec
M * COUNTER 558099
M *
M *****************************************************************************
M
A RFC 3730 CONVID 26193080
A * CMRC=20 DATA=1 STATUS=1 SAPRC=456 ThSAPCMRCV
A RFC> ABAP Programm: SAPLSSXP (Transaction: )
A RFC> User: xxxxx (Client: XXX)
A RFC> Destination: %_TCPIP_%2 (handle: 2, DtConId: 56D9278FB48749F7E10000002B52DDB4, DtConCnt: 1, ConvId: 26193080,{56D92790-B487
-49F7-E100-00002B52DDB4})
A RFC> Called function module: SAPXPG_START_XPG_LONG
A *** ERROR => RFC ======> CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
Timeout during connection setup (check that partner exists)
[abrfcio.c 9196]
A {root-id=005056AD6B4F1EE5B8C5D7DC5D578AA3}_{conn-id=00000000000000000000000000000000}_0
A *** ERROR => RFC Error RFCIO_ERROR_SYSERROR in abrfcpic.c : 3732
CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456
Timeout during connection setup (check that partner exists)
[abrfcio.c 9196]
A {root-id=005056AD6B4F1EE5B8C5D7DC5D578AA3}_{conn-id=00000000000000000000000000000000}_0
A *** ERROR => RFC Error RFCIO_ERROR_MESSAGE in abrfcio.c : 1972
[abrfcio.c 9196]
A {root-id=005056AD6B4F1EE5B8C5D7DC5D578AA3}_{conn-id=00000000000000000000000000000000}_0
A TH VERBOSE LEVEL FULL
A ** RABAX: end RX_GET_MESSAGE
L SXPG: ------------- start -------------------
L SXPG: 2016/03/04 17:34:38 546142
L SXPG: Start status of external program: unknown contents
L SXPG: Conversation ID:
L SXPG: Error: 1,005 , Message: RFC destination %_TCPIP_%2 does not exist.
L SXPG: Contents of protocol:
L SXPG: No protocol messages reported
L SXPG: ------------- end -------------------
Any guess what to be checked?
Thanks,
Subbu