Dear Expert,
I am facing one connectivity issues from RFC, I tried SAPOSS RFC connection Errors, But earlier it was working fine and now could not connecting,
I checked Service.msc entries, Everything is fine and all.
FYI I attached Router log and RFC Connection Error screen shots.
---------------------------------------------------
trc file: "dev_rout", trc level: 2, release: "710"
---------------------------------------------------
Fri Apr 25 10:16:43 2014
NiHsLInit: alloc host/serv bufs (200/200 entries)
NiIInit: allocated nitab (811 at 00000000023CFFD0)
NiIInit: host/serv bufs already initialized
NiPGetNodeAddrListInit: use GetAdaptersAddresses implementation (03)
SAP Network Interface Router, Version 39.3 (SP4)
Compiled May 24 2010 22:38:35
command line arg 0: saprouter
command line arg 1: -r
command line arg 2: -V
command line arg 3: 2
command line arg 4: -K
command line arg 5: p:CN=TESOL505, OU=0000412580, OU=SAProuter, O=SAP, C=DE
service : 3299
routtab : ./saprouttab
plug-in : no plug-in
-argument: 'no argument'
clients : 800
max servers : 1
quelength : 1
maxheap : 20000000
timeoutL : 5000
tracefile : dev_rout
logfile : no logging active
portrange : no portrange active
local address : default address
SncInit(): Initializing Secure Network Communication (SNC)
PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/64/64)
SncInit(): Trying environment variable SNC_LIB as a
gssapi library name: "C:\saprouter\nt-x86_64\sapcrypto.dll".
DlLoadLib success: LoadLibrary("C:\saprouter\nt-x86_64\sapcrypto.dll"), hdl 0, addr 0000000010000000
using "C:\saprouter\nt-x86_64\sapcrypto.dll"
File "C:\saprouter\nt-x86_64\sapcrypto.dll" dynamically loaded as GSS-API v2 library.
The internal Adapter for the loaded GSS-API mechanism identifies as:
Internal SNC-Adapter (Rev 1.0) to SECUDE 5/GSS-API v2
<<- SncInit()==SAP_O_K
sec_avail = "true"
<<- SncSetMyName()==SAP_O_K
in: myname = "p:CN=TESOL505, OU=0000412580, OU=SAProuter, O=SAP, C=DE"
NiBufISetParam: set max heap to 20000000
NiSetParamEx: switch NIP_CONNLOCAL off (not supported by platform)
NiMyHostName: hostname = 'TESOL505'
main: pid = 4240, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)
NiICreateHandle: hdl 1 state NI_INITIAL_LIS
NiIInitSocket: set default settings for new hdl 1/sock 300 (I4; ST)
NiITraceByteOrder: CPU byte order: little endian, reverse network, low val .. high val
NiIBind: hdl 1 bound to 3299 (IP only)
NiIBlockMode: set blockmode for hdl 1 FALSE
NiIListen: state of hdl 1 NI_LISTEN
reading routtab: './saprouttab'
NiIGetServNo: servicename '3299' = port 3299
NiIGetServNo: servicename '3200' = port 3200
NiIGetServNo: servicename '3200' = port 3200
NiIGetServNo: servicename '3200' = port 3200
NiIGetServNo: servicename '3210' = port 3210
NiIGetServNo: servicename '3299' = port 3299
NiIGetServNo: servicename '3299' = port 3299
contents of routtab ('./saprouttab', 8 entries):
KT*,* p:CN=sapserv2, OU=SAProuter, O= 194.39.131.34/32 3299 *
KP*,* p:CN=sapserv2, OU=SAProuter, O= 192.9.200.113/32 3200 *
KP*,* p:CN=sapserv2, OU=SAProuter, O= 192.9.200.173/32 3200 *
KP*,* p:CN=sapserv2, OU=SAProuter, O= 192.9.200.133/32 3200 *
KP*,* p:CN=sapserv2, OU=SAProuter, O= 192.9.200.165/32 3210 *
P*,* 192.9.200.0/24 194.39.131.34/32 3299 *
P*,* 192.168.0.0/24 147.204.2.5/32 3299 *
P*,* ::/0 ::/0 * *
******* NI-ROUTER LOOP ********
Fri Apr 25 10:16:48 2014
NiSelISelectInt: 1 handles selected (0 buffered)
CONNECT request received (hdl 1)
NiICreateHandle: hdl 9 state NI_INITIAL_CON
NiIInitSocket: set default settings for hdl 9/sock 304 (I4; ST)
NiIBlockMode: set blockmode for hdl 9 FALSE
NiIAccept: state of hdl 9 NI_ACCEPTED
NiIAccept: hdl 1 accepted hdl 9 from 192.9.200.113:57858
NiIAccept: hdl 9 took local address 192.9.200.113:3299
NiHsLGetHostName: got address 192.9.200.113 from operating system
NiIGetHostName: addr 192.9.200.113 = hostname 'tesol505.tnpetro.com'
NiISetSockOpt: set option SOL_SOCKET-SO_KEEPALIVE of hdl 9 to TRUE
NiRConnHandle: C9/-1 has hdl 9
RTPENDLIST::addPendingCon: Added C9/-1 to list CONNECTED, STAT CONNECTED/-
RTPENDLIST::addPendingCon: total 1 pending CONNECTED connections
******* NI-ROUTER LOOP ********
NiIRead: hdl 9 received data (rcd=87,pac=1,MESG_IO)
NiSelISelectInt: 1 handles selected (1 buffered)
DATA from C9/-1 (tesol505.tnpetro.com) received
NiRClientHandle: route received
executing NiRExRouteCon
NiRRouteRepl: copying input to route and replacing name
C9/-1 has NI-layer-version 40
NiBufIRouteToTable result from total 3 entries:
hostname /service
192.9.200.113 /
194.39.131.34 /sapdp99 < next
OSSO01 /sapmsOSS
NiHsLGetServNo: got service name 'sapdp99' from operating system
NiIGetServNo: servicename 'sapdp99' = port 3299
NiSncGetPeer: hdl 9 not SNC enabled
NiLocalCheck: address 194.39.131.34 is not local
Setting outgoing SNC name to 'p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE'
route [ 0,1 hops, 192.9.200.113 to 194.39.131.34, 3299 ]
matches [ P255,255 192.9.200.0/24 194.39.131.34/32 3299 ]
NiICreateHandle: hdl 17 state NI_INITIAL_CON
NiIInitSocket: set default settings for new hdl 17/sock 312 (I4; ST)
NiIBlockMode: set blockmode for hdl 17 FALSE
NiIConnectSocket: connection of hdl 17 to 194.39.131.34:3299 in progress (timeout=0)
NiIConnect: hdl 17 took local address 0.0.0.0:57859
NiIConnect: state of hdl 17 NI_CONN_WAIT
NiSncIInitHdlSecurity for hdl 17
<<- SncSessionInit()==SAP_O_K
out: &snc_hdl = 0000000002443040
<<- SncSetQOP()==SAP_O_K
in: qop values = "min=8 (default), max=8 (default), use=8 (default)"
resulting = "min=2 (old:2), max=3 (old:3), use=3 (old:3)"
<<- SncSessionInitiatorAK()==SAP_O_K
'target_acl_key' (addr=000000000202C374, len=86) full hexdump
0x00000 00030401 00080606 2b240301 25010000 ........ +$..%...
0x00010 00443042 310b3009 06035504 06130244 .D0B1.0. ..U....D
0x00020 45310c30 0a060355 040a1303 53415031 E1.0...U ....SAP1
0x00030 12301006 0355040b 13095341 50726f75 .0...U.. ..SAProu
0x00040 74657231 11300f06 03550403 13087361 ter1.0.. .U....sa
0x00050 70736572 7632 pserv2
parses to = "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"
->> SncProcessOutput(snc_hdl=0000000002443040, ibuf=0000000000000000, ilen=0,
&idone=000000000202C270, &obuf=000000000202C240, &oused=000000000202C230)
<<- SncProcessOutput()==SAP_O_K
return values = "(no data) in=0 of 0, out=1655"
NiBufISendMsg: send opCode 70 to hdl 17 (dataLen=1655)
NiICheckPendConnection: connection of hdl 17 to 194.39.131.34:3299 still in progress (0)
NiICheckPendConnection: connection of hdl 17 to 194.39.131.34:3299 still in progress (0)
handshake for hdl 17 = 1
RTPENDLIST::addPendingCon: Added C9/17 to list ROUTED, STAT ROUTE_RECV/FREE
RTPENDLIST::addPendingCon: total 2 pending ROUTED connections
NiISetSockOpt: Windows Version 6.1, SO_KEEPALIVE postponed
S9/17 has hdl 17
forward route to nirouter
NiICheckPendConnection: connection of hdl 17 to 194.39.131.34:3299 still in progress (0)
NiBufIAddToUserQueue: added buffer 00000000023AFDE0 to out-queue (hdl 17, 1 packets, heap 2037)
NiBufIAddToUserQueue: out-queue for hdl 17 down to 0 packets
stat of pair C9/17 is ROUTED
******* NI-ROUTER LOOP ********
NiICheckPendConnection: connection of hdl 17 to 194.39.131.34:3299 established
NiICheckPendConnection: state of hdl 17 NI_CONNECTED
NiISetSockOpt: set option SOL_SOCKET-SO_KEEPALIVE of hdl 17 to TRUE
NiIWrite: hdl 17 sent data (wrt=1862,pac=1,MESG_IO)
NiIRead: hdl 17 recv would block (errno=EAGAIN)
NiIRead: read for hdl 17 timed out (0ms)
NiIRead: hdl 17 received data (rcd=213,pac=1,MESG_IO)
*** ERROR => NiBufIProcMsg: hdl 17 received rc=-17 (NIESNC_FAILURE) from peer [nibuf.cpp 2123]
NiSelISelectInt: 1 handles selected (1 buffered)
DATA from S9/17 (194.39.131.34) received
NiBufISendErr: send ni-error rc -104 to hdl 9
NiIWrite: hdl 9 sent data (wrt=210,pac=1,MESG_IO)
NiRCloseConn: closing S9/17
releaseCon: S9/17 outqueue not empty
RTPENDLIST::addPendingCon: Added S9/17 to list CLOSING, STAT CLOSING/ROUTED
RTPENDLIST::addPendingCon: total 3 pending CLOSING connections
releaseCon: S9/17 new status closing
NiICloseHandle: shutdown and close hdl 9/sock 304
******* NI-ROUTER LOOP ********
NiSelISelectInt: handles ready; reset timeout
NiSelISelectInt: 1 handles selected (1 buffered)
WRITE channel to S-1/17 free
******* NI-ROUTER LOOP ********
NiSelISelectInt: 1 handles selected (0 buffered)
CONNECT request received (hdl 1)
NiICreateHandle: hdl 10 state NI_INITIAL_CON
NiIInitSocket: set default settings for hdl 10/sock 304 (I4; ST)
NiIBlockMode: set blockmode for hdl 10 FALSE
NiIAccept: state of hdl 10 NI_ACCEPTED
NiHsLGetHostName: found address 192.9.200.113 in cache
NiIGetHostName: addr 192.9.200.113 = hostname 'tesol505.tnpetro.com'
NiIAccept: hdl 1 accepted hdl 10 from tesol505.tnpetro.com:57860
NiIAccept: hdl 10 took local address 192.9.200.113:3299
NiHsLGetHostName: found address 192.9.200.113 in cache
NiIGetHostName: addr 192.9.200.113 = hostname 'tesol505.tnpetro.com'
NiISetSockOpt: set option SOL_SOCKET-SO_KEEPALIVE of hdl 10 to TRUE
NiRConnHandle: C10/-1 has hdl 10
RTPENDLIST::addPendingCon: Added C10/-1 to list CONNECTED, STAT CONNECTED/-
RTPENDLIST::addPendingCon: total 4 pending CONNECTED connections
******* NI-ROUTER LOOP ********
NiIRead: hdl 10 received data (rcd=87,pac=1,MESG_IO)
NiSelISelectInt: 1 handles selected (1 buffered)
DATA from C10/-1 (tesol505.tnpetro.com) received
NiRClientHandle: route received
executing NiRExRouteCon
NiRRouteRepl: copying input to route and replacing name
C10/-1 has NI-layer-version 40
NiBufIRouteToTable result from total 3 entries:
hostname /service
192.9.200.113 /
194.39.131.34 /sapdp99 < next
OSSO01 /sapmsOSS
NiHsLGetServNo: found service name 'sapdp99' in cache
NiIGetServNo: servicename 'sapdp99' = port 3299
NiSncGetPeer: hdl 10 not SNC enabled
NiLocalCheck: address 194.39.131.34 is not local
Setting outgoing SNC name to 'p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE'
route [ 0,1 hops, 192.9.200.113 to 194.39.131.34, 3299 ]
matches [ P255,255 192.9.200.0/24 194.39.131.34/32 3299 ]
NiICreateHandle: hdl 25 state NI_INITIAL_CON
NiIInitSocket: set default settings for new hdl 25/sock 364 (I4; ST)
NiIBlockMode: set blockmode for hdl 25 FALSE
NiIConnectSocket: connection of hdl 25 to 194.39.131.34:3299 in progress (timeout=0)
NiIConnect: hdl 25 took local address 0.0.0.0:57861
NiIConnect: state of hdl 25 NI_CONN_WAIT
NiSncIInitHdlSecurity for hdl 25
<<- SncSessionInit()==SAP_O_K
out: &snc_hdl = 00000000024439D0
<<- SncSetQOP()==SAP_O_K
in: qop values = "min=8 (default), max=8 (default), use=8 (default)"
resulting = "min=2 (old:2), max=3 (old:3), use=3 (old:3)"
<<- SncSessionInitiatorAK()==SAP_O_K
'target_acl_key' (addr=000000000202C374, len=86) full hexdump
0x00000 00030401 00080606 2b240301 25010000 ........ +$..%...
0x00010 00443042 310b3009 06035504 06130244 .D0B1.0. ..U....D
0x00020 45310c30 0a060355 040a1303 53415031 E1.0...U ....SAP1
0x00030 12301006 0355040b 13095341 50726f75 .0...U.. ..SAProu
0x00040 74657231 11300f06 03550403 13087361 ter1.0.. .U....sa
0x00050 70736572 7632 pserv2
parses to = "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"
->> SncProcessOutput(snc_hdl=00000000024439D0, ibuf=0000000000000000, ilen=0,
&idone=000000000202C270, &obuf=000000000202C240, &oused=000000000202C230)
<<- SncProcessOutput()==SAP_O_K
return values = "(no data) in=0 of 0, out=1655"
NiBufISendMsg: send opCode 70 to hdl 25 (dataLen=1655)
NiICheckPendConnection: connection of hdl 25 to 194.39.131.34:3299 still in progress (0)
NiICheckPendConnection: connection of hdl 25 to 194.39.131.34:3299 still in progress (0)
handshake for hdl 25 = 1
RTPENDLIST::addPendingCon: Added C10/25 to list ROUTED, STAT ROUTE_RECV/FREE
RTPENDLIST::addPendingCon: total 5 pending ROUTED connections
NiISetSockOpt: Windows Version 6.1, SO_KEEPALIVE postponed
S10/25 has hdl 25
forward route to nirouter
NiICheckPendConnection: connection of hdl 25 to 194.39.131.34:3299 still in progress (0)
NiBufIAddToUserQueue: added buffer 0000000002443E00 to out-queue (hdl 25, 1 packets, heap 2125)
NiBufIAddToUserQueue: out-queue for hdl 25 down to 0 packets
stat of pair C10/25 is ROUTED
******* NI-ROUTER LOOP ********
NiICheckPendConnection: connection of hdl 25 to 194.39.131.34:3299 established
NiICheckPendConnection: state of hdl 25 NI_CONNECTED
NiISetSockOpt: set option SOL_SOCKET-SO_KEEPALIVE of hdl 25 to TRUE
NiIWrite: hdl 25 sent data (wrt=1862,pac=1,MESG_IO)
NiIRead: hdl 25 recv would block (errno=EAGAIN)
NiIRead: read for hdl 25 timed out (0ms)
NiIRead: hdl 25 received data (rcd=213,pac=1,MESG_IO)
*** ERROR => NiBufIProcMsg: hdl 25 received rc=-17 (NIESNC_FAILURE) from peer [nibuf.cpp 2123]
NiSelISelectInt: 1 handles selected (1 buffered)
DATA from S10/25 (194.39.131.34) received
NiBufISendErr: send ni-error rc -104 to hdl 10
NiIWrite: hdl 10 sent data (wrt=210,pac=1,MESG_IO)
NiRCloseConn: closing S10/25
releaseCon: S10/25 outqueue not empty
RTPENDLIST::addPendingCon: Added S10/25 to list CLOSING, STAT CLOSING/ROUTED
RTPENDLIST::addPendingCon: total 6 pending CLOSING connections
releaseCon: S10/25 new status closing
NiICloseHandle: shutdown and close hdl 10/sock 304
******* NI-ROUTER LOOP ********
NiSelISelectInt: handles ready; reset timeout
NiSelISelectInt: 1 handles selected (1 buffered)
WRITE channel to S-1/25 free
******* NI-ROUTER LOOP ********
Fri Apr 25 10:16:53 2014
NiSelISelectInt: 0 handles selected (0 buffered)
NiICloseHandle: shutdown and close hdl 17/sock 312
<<- SncSessionDone()==SAP_O_K
NiBufIClose: freed out-queue (hdl 17, heap 88)
ErrReplace: no error info available