cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Router - start issue

Former Member
0 Kudos

Can Anyone guide me, starting the router without any issues.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Lluis
Active Contributor
0 Kudos

Hello Srinivas, check scn sap router configuration for sap customer number "1160421", i suggest you to run again snc configuration from the beginning.

http://scn.sap.com/blogs/lsalvador/2013/05/31/scripts-for-manually-setup-diagnostics-agents

  1. check if saprouter pulic ip adress is on marketplace on http://service.sap.com/tcs
  2. check if the firewall has port 3299 open
  3. check settings on SAPOSS1 transaction

Regards,

Luis

Answers (6)

Answers (6)

Former Member
0 Kudos

Hello Srinivas,

Any tips on how this issue was solved. We are facing the same issue and would like to know the resolution.Thanks.

Former Member
0 Kudos

Dear Srinivas,

Please make sure that you have set the environmental varaible SECUDIR

SECUDIR - D:\usr\sap\saprouter\sapcrypto.dll<LOCATION OF YOUR SAPCRYPTO.DLL IN SAPROUTER FOLDER>

set this env varaible >> restart sap router and check.

Rg,

Nag.

Former Member
0 Kudos

Hi Nag,

Please check environment setting

Message was edited by: Srinivas Pendyala

Former Member
0 Kudos

try to extend it by adding \sapcrypto.dll

rg,

nag

Former Member
0 Kudos

Hi Nag,

I have changed it,

Please check my rout tab file and dev_rout ,

How to check port is open or not in windows server 2008 r2?

# SNC connection to and from SAP

KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *

# SNC-connection from SAP to local system for R/3-Support

KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"  192.168.100.181 32*

# Access from your local Network to SAP

P 192.168.100.* 194.39.131.34 3299

# All other connections will be denied

D * * *

dev_rout

---------------------------------------------------

trc file: "dev_rout", trc level: 3, release: "720"

---------------------------------------------------

Thu Nov 14 06:26:57 2013

NiIHSBufInit: initialize hostname buffer (IPv4)

NiHLInit: alloc host buf (200 entries)

NiSrvLInit: alloc serv bufs (200 entries)

NiIInit: allocated nitab (811 at 00000000023DFFD0)

NiIInit: host/serv bufs already initialized

NiPGetNodeAddrListInit: use GetAdaptersAddresses implementation (03)

NiPGetNodeAddrList03: adapter: 'Public' (Intel(R) PRO/1000 MT Network Connection / 6)

NiPInsertSockAddr: got address '192.168.100.181' (unicast)

NiPGetNodeAddrList03: adapter: 'ServiceNet' (Intel(R) PRO/1000 MT Network Connection #2 / 6)

NiPInsertSockAddr: got address '10.131.36.69' (unicast)

NiPGetNodeAddrList03: adapter: 'Loopback Pseudo-Interface 1' (Software Loopback Interface 1 / 24)

NiPInsertSockAddr: got address '127.0.0.1' (unicast)

NiPGetNodeAddrList03: got 3 interface(s) from operating system

        [0] IP-Address: 192.168.100.181

        [1] IP-Address: 10.131.36.69

        [2] IP-Address: 127.0.0.1

NiIGetServNo: servicename '3299' = port 3299

SAP Network Interface Router, Version 40.4

Compiled Jun 10 2013 23:43:41

command line arg 0:    saprouter

command line arg 1:    -r

command line arg 2:    -S

command line arg 3:    3299

command line arg 4:    -V

command line arg 5:    3

command line arg 6:    -K

command line arg 7:    p:CN=sapads, OU=0001160421, 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(prg=0, ini_fname=(NULL), &sec_avail=000000000202F638)

SncInit(): Initializing Secure Network Communication (SNC)

      PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/64/64)

      GetUserName()="sol"  NetWkstaUser="sol"

SncInit(): Trying environment variable SNC_LIB as a

      gssapi library name: "D:\usr\sap\saprouter\sapcrypto.dll".

DlLoadLib success: LoadLibrary("D:\usr\sap\saprouter\sapcrypto.dll"), hdl 0, addr 0000000010000000

    using "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc failed GetProcAddress("sapsnc_init_adapter") from "D:\usr\sap\saprouter\sapcrypto.dll"

        with error 127 = "The specified procedure could not be found."

DlLoadFunc successful GetProcAddress("gss_acquire_cred") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_release_cred") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_init_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_accept_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_process_context_token") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_delete_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_context_time") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_get_mic") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_verify_mic") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_wrap") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_unwrap") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_display_status") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_indicate_mechs") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_compare_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_display_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_import_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_release_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_release_buffer") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_release_oid_set") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_cred") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_cred_by_mech") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_wrap_size_limit") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_export_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_import_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_names_for_mech") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_mechs_for_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_canonicalize_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_export_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

  File "D:\usr\sap\saprouter\sapcrypto.dll" dynamically loaded as GSS-API v2 library.

DlLoadFunc successful GetProcAddress("sapcr_get_version") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("sapcr_get_secudir") from "D:\usr\sap\saprouter\sapcrypto.dll"

  SECUDIR="D:\usr\sap\saprouter\sapcrypto.dll" (from $SECUDIR)

  The internal Adapter for the loaded GSS-API mechanism identifies as:

  Internal SNC-Adapter (Rev 1.0) to SAPCRYPTOLIB

  Product Version = SAPCRYPTOLIB  5.5.5C pl36  (Jul  3 2013) MT,AESNI,NB

  <<- SncPDLInit()==SAP_O_K

<<- SncInit()==SAP_O_K

         sec_avail = "true"

->> SncSetMyName(snc_hdl=0000000000000000, myname="p:CN=sapads, OU=0001160421, OU=SAPRouter, O=SAP, C=DE")

<<- SncSetMyName()==SAP_O_K

     in: myname = "p:CN=sapads, OU=0001160421, OU=SAPRouter, O=SAP, C=DE"

NiBufISetParam: set max heap to 20000000

NiSetParamEx: switch NIP_CONNLOCAL off (not supported by platform)

NiMyHostName: hostname = 'sapads'

main: pid = 8648, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)

NiSelICreateSet: new set0

SiSelNInit: allocate 147952 bytes for FI (811)

NiSelIInit: size of set0 is 811

NiICreateHandle: hdl 1 state NI_INITIAL_LIS

NiIInitSocket: set default settings for new hdl 1/sock 376 (I4; ST)

Windows Version 6.1, Build 7601

Running on Windows Vista

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

SiSelNSet: sock 376 added to set pos 0

NiSelIAddMsg: added hdl 1 to set0

SiSelNSet: set events of sock 376 to: rp-

reading routtab: './saprouttab'

<<- SncNameToAclKey_r()==SAP_O_K

     in: name    = "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"

  'aclkey ' (addr=000000000256FC00, 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          

NiStrToAddrMask: '194.39.131.34' -> 194.39.131.34/32 (0/0)

<<- SncNameToAclKey_r()==SAP_O_K

     in: name    = "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"

  'aclkey ' (addr=000000000256FC00, 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          

NiStrToAddrMask: '192.168.100.181' -> 192.168.100.181/32 (0/0)

***LOG Q0I=> NiPGetServByName: '32*' not found: getaddrinfo (10109: WSATYPE_NOT_FOUND: The specified class was not found.) [ninti.c 939]

NiSrvLGetServNo: service name '32*' not found by operating system

*** ERROR => service '32*' unknown, skip line 4 [nirout.cpp   9516]

NiStrToAddrMask: '192.168.100.*' -> 192.168.100.0/24 (0/1)

NiStrToAddrMask: '194.39.131.34' -> 194.39.131.34/32 (0/0)

NiIGetServNo: servicename '3299' = port 3299

contents of routtab ('./saprouttab', 3 entries):

KT*,*<<- SncAclKeyToName()==SAP_O_K

  'aclkey ' (addr=0000000002462688, 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          

    out: name    = "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"

  p:CN=sapserv2, OU=SAProuter, O=  194.39.131.34/32                *         *

P*,*  192.168.100.0/24                 194.39.131.34/32                3299      *

D*,*  ::/0                             ::/0                            *         *

******* NI-ROUTER LOOP ********

SiSelNSelect: start select (timeout=-1)

Former Member
0 Kudos

You must specify port range in the form 3200.3299 instead of 32*.

Former Member
0 Kudos

Hi roman,

Can you show me a sample line.

Thanks

Former Member
0 Kudos

In your saprouttab:

KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"  192.168.100.181 32*

replace with

KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"  192.168.100.181 3200.3299

and try again.

Former Member
0 Kudos

Hi Roman,

# SNC connection to and from SAP

KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *

# SNC-connection from SAP to local system for R/3-Support

KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"  192.168.100.181 3200.3299

# Access from your local Network to SAP

P 192.168.100.* 194.39.131.34 3299

# All other connections will be denied

D * * *

Dev_rout

---------------------------------------------------

trc file: "dev_rout", trc level: 3, release: "720"

---------------------------------------------------

Thu Nov 14 07:29:44 2013

NiIHSBufInit: initialize hostname buffer (IPv4)

NiHLInit: alloc host buf (200 entries)

NiSrvLInit: alloc serv bufs (200 entries)

NiIInit: allocated nitab (811 at 000000000236FFD0)

NiIInit: host/serv bufs already initialized

NiPGetNodeAddrListInit: use GetAdaptersAddresses implementation (03)

NiPGetNodeAddrList03: adapter: 'Public' (Intel(R) PRO/1000 MT Network Connection / 6)

NiPInsertSockAddr: got address '192.168.100.181' (unicast)

NiPGetNodeAddrList03: adapter: 'ServiceNet' (Intel(R) PRO/1000 MT Network Connection #2 / 6)

NiPInsertSockAddr: got address '10.131.36.69' (unicast)

NiPGetNodeAddrList03: adapter: 'Loopback Pseudo-Interface 1' (Software Loopback Interface 1 / 24)

NiPInsertSockAddr: got address '127.0.0.1' (unicast)

NiPGetNodeAddrList03: got 3 interface(s) from operating system

        [0] IP-Address: 192.168.100.181

        [1] IP-Address: 10.131.36.69

        [2] IP-Address: 127.0.0.1

NiIGetServNo: servicename '3299' = port 3299

SAP Network Interface Router, Version 40.4

Compiled Jun 10 2013 23:43:41

command line arg 0:    saprouter

command line arg 1:    -r

command line arg 2:    -S

command line arg 3:    3299

command line arg 4:    -V

command line arg 5:    3

command line arg 6:    -K

command line arg 7:    p:CN=sapads, OU=0001160421,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(prg=0, ini_fname=(NULL), &sec_avail=000000000202F638)

SncInit(): Initializing Secure Network Communication (SNC)

      PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/64/64)

      GetUserName()="sol"  NetWkstaUser="sol"

SncInit(): Trying environment variable SNC_LIB as a

      gssapi library name: "D:\usr\sap\saprouter\sapcrypto.dll".

DlLoadLib success: LoadLibrary("D:\usr\sap\saprouter\sapcrypto.dll"), hdl 0, addr 0000000010000000

    using "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc failed GetProcAddress("sapsnc_init_adapter") from "D:\usr\sap\saprouter\sapcrypto.dll"

        with error 127 = "The specified procedure could not be found."

DlLoadFunc successful GetProcAddress("gss_acquire_cred") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_release_cred") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_init_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_accept_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_process_context_token") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_delete_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_context_time") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_get_mic") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_verify_mic") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_wrap") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_unwrap") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_display_status") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_indicate_mechs") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_compare_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_display_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_import_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_release_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_release_buffer") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_release_oid_set") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_cred") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_cred_by_mech") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_wrap_size_limit") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_export_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_import_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_names_for_mech") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_mechs_for_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_canonicalize_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_export_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

  File "D:\usr\sap\saprouter\sapcrypto.dll" dynamically loaded as GSS-API v2 library.

DlLoadFunc successful GetProcAddress("sapcr_get_version") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("sapcr_get_secudir") from "D:\usr\sap\saprouter\sapcrypto.dll"

  SECUDIR="D:\usr\sap\saprouter\sapcrypto.dll" (from $SECUDIR)

  The internal Adapter for the loaded GSS-API mechanism identifies as:

  Internal SNC-Adapter (Rev 1.0) to SAPCRYPTOLIB

  Product Version = SAPCRYPTOLIB  5.5.5C pl36  (Jul  3 2013) MT,AESNI,NB

  <<- SncPDLInit()==SAP_O_K

<<- SncInit()==SAP_O_K

         sec_avail = "true"

->> SncSetMyName(snc_hdl=0000000000000000, myname="p:CN=sapads, OU=0001160421,OU=SAProuter,O=SAP, C=DE")

<<- SncSetMyName()==SAP_O_K

     in: myname = "p:CN=sapads, OU=0001160421,OU=SAProuter,O=SAP, C=DE"

NiBufISetParam: set max heap to 20000000

NiSetParamEx: switch NIP_CONNLOCAL off (not supported by platform)

NiMyHostName: hostname = 'sapads'

main: pid = 10048, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)

NiSelICreateSet: new set0

SiSelNInit: allocate 147952 bytes for FI (811)

NiSelIInit: size of set0 is 811

NiICreateHandle: hdl 1 state NI_INITIAL_LIS

NiIInitSocket: set default settings for new hdl 1/sock 376 (I4; ST)

Windows Version 6.1, Build 7601

Running on Windows Vista

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

SiSelNSet: sock 376 added to set pos 0

NiSelIAddMsg: added hdl 1 to set0

SiSelNSet: set events of sock 376 to: rp-

reading routtab: './saprouttab'

<<- SncNameToAclKey_r()==SAP_O_K

     in: name    = "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"

  'aclkey ' (addr=000000000223FC00, 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          

NiStrToAddrMask: '194.39.131.34' -> 194.39.131.34/32 (0/0)

<<- SncNameToAclKey_r()==SAP_O_K

     in: name    = "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"

  'aclkey ' (addr=000000000223FC00, 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          

NiStrToAddrMask: '192.168.100.181' -> 192.168.100.181/32 (0/0)

NiIGetServNo: servicename '3200' = port 3200

NiIGetServNo: servicename '3299' = port 3299

NiStrToAddrMask: '192.168.100.*' -> 192.168.100.0/24 (0/1)

NiStrToAddrMask: '194.39.131.34' -> 194.39.131.34/32 (0/0)

NiIGetServNo: servicename '3299' = port 3299

contents of routtab ('./saprouttab', 4 entries):

KT*,*<<- SncAclKeyToName()==SAP_O_K

  'aclkey ' (addr=00000000023F2688, 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          

    out: name    = "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"

  p:CN=sapserv2, OU=SAProuter, O=  194.39.131.34/32                *         *

KP*,*<<- SncAclKeyToName()==SAP_O_K

  'aclkey ' (addr=00000000023F2AF0, 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          

    out: name    = "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"

  p:CN=sapserv2, OU=SAProuter, O=  192.168.100.181/32              3200-3299 *

P*,*  192.168.100.0/24                 194.39.131.34/32                3299      *

D*,*  ::/0                             ::/0                            *         *

******* NI-ROUTER LOOP ********

SiSelNSelect: start select (timeout=-1)

Former Member
0 Kudos

1#

DlLoadFunc failed GetProcAddress("sapsnc_init_adapter") from "D:\usr\sap\saprouter\sapcrypto.dll"

        with error 127 = "The specified procedure could not be found."

2#

'192.168.100.181' -> 192.168.100.181/32 (0/0)

***LOG Q0I=> NiPGetServByName: '32*' not found: getaddrinfo (10109: WSATYPE_NOT_FOUND: The specified class was not found.) [ninti.c 939]

NiSrvLGetServNo: service name '32*' not found by operating system

*** ERROR => service '32*' unknown, skip line 4 [nirout.cpp   9516]

can you check this error "service 32* not found.

make sure that you mention the correct port number.

for further referece, go through

Note 896973 - Service 'xyz' unknown; error in getservbyname/getaddrinfo

Rg,

Nag

Former Member
0 Kudos

Hi Naga,

Thanks for the help,

Today i have captured few screens, Can you help me out by checking it.

SAP says there is no issue with saproutab and dev_rout file.

I am not understanding why oss connection is not working.

How to check service generated for saprouter.

*****

Dev_rout

---------------------------------------------------

trc file: "dev_rout", trc level: 3, release: "720"

---------------------------------------------------

Fri Nov 15 04:12:28 2013

NiIHSBufInit: initialize hostname buffer (IPv4)

NiHLInit: alloc host buf (200 entries)

NiSrvLInit: alloc serv bufs (200 entries)

NiIInit: allocated nitab (811 at 00000000023EFFD0)

NiIInit: host/serv bufs already initialized

NiPGetNodeAddrListInit: use GetAdaptersAddresses implementation (03)

NiPGetNodeAddrList03: adapter: 'Public' (Intel(R) PRO/1000 MT Network Connection / 6)

NiPInsertSockAddr: got address '192.168.100.181' (unicast)

NiPGetNodeAddrList03: adapter: 'ServiceNet' (Intel(R) PRO/1000 MT Network Connection #2 / 6)

NiPInsertSockAddr: got address '10.131.36.69' (unicast)

NiPGetNodeAddrList03: adapter: 'Loopback Pseudo-Interface 1' (Software Loopback Interface 1 / 24)

NiPInsertSockAddr: got address '127.0.0.1' (unicast)

NiPGetNodeAddrList03: got 3 interface(s) from operating system

                                [0] IP-Address: 192.168.100.181

                                [1] IP-Address: 10.131.36.69

                                [2] IP-Address: 127.0.0.1

NiIGetServNo: servicename '3299' = port 3299

SAP Network Interface Router, Version 40.4

Compiled Jun 10 2013 23:43:41

command line arg 0:       saprouter

command line arg 1:       -r

command line arg 2:       -S

command line arg 3:       3299

command line arg 4:       -V

command line arg 5:       3

command line arg 6:       -K

command line arg 7:       p:CN=sapads, OU=0001160421,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(prg=0, ini_fname=(NULL), &sec_avail=000000000202F638)

SncInit(): Initializing Secure Network Communication (SNC)

      PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/64/64)

GetUserName()="sol" NetWkstaUser="sol"

SncInit(): Trying environment variable SNC_LIB as a

      gssapi library name: "D:\usr\sap\saprouter\sapcrypto.dll".

DlLoadLib success: LoadLibrary("D:\usr\sap\saprouter\sapcrypto.dll"), hdl 0, addr 0000000010000000

    using "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc failed GetProcAddress("sapsnc_init_adapter") from "D:\usr\sap\saprouter\sapcrypto.dll"

        with error 127 = "The specified procedure could not be found."

DlLoadFunc successful GetProcAddress("gss_acquire_cred") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_release_cred") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_init_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_accept_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_process_context_token") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_delete_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_context_time") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_get_mic") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_verify_mic") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_wrap") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_unwrap") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_display_status") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_indicate_mechs") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_compare_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_display_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_import_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_release_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_release_buffer") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_release_oid_set") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_cred") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_cred_by_mech") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_wrap_size_limit") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_export_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_import_sec_context") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_names_for_mech") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_inquire_mechs_for_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_canonicalize_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("gss_export_name") from "D:\usr\sap\saprouter\sapcrypto.dll"

  File "D:\usr\sap\saprouter\sapcrypto.dll" dynamically loaded as GSS-API v2 library.

DlLoadFunc successful GetProcAddress("sapcr_get_version") from "D:\usr\sap\saprouter\sapcrypto.dll"

DlLoadFunc successful GetProcAddress("sapcr_get_secudir") from "D:\usr\sap\saprouter\sapcrypto.dll"

SECUDIR="D:\usr\sap\saprouter" (from $SECUDIR)

  The internal Adapter for the loaded GSS-API mechanism identifies as:

  Internal SNC-Adapter (Rev 1.0) to SAPCRYPTOLIB

  Product Version = SAPCRYPTOLIB  5.5.5C pl36  (Jul  3 2013) MT,AESNI,NB

  <<- SncPDLInit()==SAP_O_K

<<- SncInit()==SAP_O_K

         sec_avail = "true"

->> SncSetMyName(snc_hdl=0000000000000000, myname="p:CN=sapads, OU=0001160421,OU=SAProuter,O=SAP, C=DE")

<<- SncSetMyName()==SAP_O_K

     in: myname = "p:CN=sapads, OU=0001160421,OU=SAProuter,O=SAP, C=DE"

NiBufISetParam: set max heap to 20000000

NiSetParamEx: switch NIP_CONNLOCAL off (not supported by platform)

NiMyHostName: hostname = 'sapads'

main: pid = 9480, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)

NiSelICreateSet: new set0

SiSelNInit: allocate 147952 bytes for FI (811)

NiSelIInit: size of set0 is 811

NiICreateHandle: hdl 1 state NI_INITIAL_LIS

NiIInitSocket: set default settings for new hdl 1/sock 376 (I4; ST)

Windows Version 6.1, Build 7601

Running on Windows Vista

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

SiSelNSet: sock 376 added to set pos 0

NiSelIAddMsg: added hdl 1 to set0

SiSelNSet: set events of sock 376 to: rp-

reading routtab: './saprouttab'

<<- SncNameToAclKey_r()==SAP_O_K

     in: name    = "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"

  'aclkey ' (addr=00000000023CFC00, 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          

NiStrToAddrMask: '194.39.131.34' -> 194.39.131.34/32 (0/0)

<<- SncNameToAclKey_r()==SAP_O_K

     in: name    = "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"

  'aclkey ' (addr=00000000023CFC00, 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          

NiStrToAddrMask: '192.168.100.181' -> 192.168.100.181/32 (0/0)

NiIGetServNo: servicename '3200' = port 3200

NiIGetServNo: servicename '3299' = port 3299

NiStrToAddrMask: '192.168.100.*' -> 192.168.100.0/24 (0/1)

NiStrToAddrMask: '194.39.131.34' -> 194.39.131.34/32 (0/0)

NiIGetServNo: servicename '3299' = port 3299

contents of routtab ('./saprouttab', 4 entries):

KT*,*<<- SncAclKeyToName()==SAP_O_K

  'aclkey ' (addr=0000000002472688, 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          

    out: name    = "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"

  p:CN=sapserv2, OU=SAProuter, O=  194.39.131.34/32                *         *

KP*,*<<- SncAclKeyToName()==SAP_O_K

  'aclkey ' (addr=0000000002472AF0, 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          

    out: name    = "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE"

  p:CN=sapserv2, OU=SAProuter, O=  192.168.100.181/32              3200-3299 *

P*,*  192.168.100.0/24                 194.39.131.34/32                3299      *

D*,*  ::/0                             ::/0                            *         *

******* NI-ROUTER LOOP ********

SiSelNSelect: start select (timeout=-1)

Best Regards,

Srinivas

Former Member
0 Kudos

Hi nag,

In OSS i am getting following error

former_member183107
Contributor
0 Kudos

Hi,

Check the below things:-

1. Open an OSS call at XX-SER-NET and let the support guys check why your saprouter is missing in their configuration. There´s nothing else you can do about it because the problem is on SAP-site, not on your.

2. Try to telnet the SAP server (194.39.131.34 - SAPSERV2 for SNC) and post the results. If you are getting the same error message then mostly ur firewall is blocking the connectivity. In that case check with ur network team whether they have brought in any restrictions at the firewall.

Make sure that ur firewall didn't block any outbound as well as the inbound requests. Check the note 48243 for further details.

3. Your network team needs to check the communication from your saprouter public ip -> 194.39.131.34 on port 3299.Otherway round 194.39.131.34  -> saprouter public ip can be verified by SAP network team. For this you need to raise an OSS message .

4. Just delete everything and configure the SAPRouter once again.

Also check the below threads:-

http://scn.sap.com/thread/1749739

http://scn.sap.com/message/9887020

https://scn.sap.com/message/7147393

Hope this helps.


Former Member
0 Kudos

Dear All,

Able to connect sap.

SAPOSS working fine.

Thanks for your support.

Best Regards,

Srinivas

Former Member
0 Kudos

NiIGetServNo: servicename '3200' = port 3200

NiIGetServNo: servicename '3299' = port 3299

NiStrToAddrMask: '192.168.100.*' -> 192.168.100.0/24 (0/1)

NiStrToAddrMask: '194.39.131.34' -> 194.39.131.34/32 (0/0)

NiIGetServNo: servicename '3299' = port 3299

contents of routtab ('./saprouttab', 4 entries):

KT*,*<<- SncAclKeyToName()==SAP_O_K

so you finallychanged the port number !! did that work??

or is it some other changes you have done?? or is that just a network problem.??

it would be great if  you could share the solution!! as others in future who face the same issue could easily troubleshoot it.

Rg,

Nag

Former Member
0 Kudos

Dear All,

Please go through niping screen, guide me further.

Best Regards,

Srinivas

former_member183107
Contributor
0 Kudos

Hi,

Please follow the below doc:-

http://scn.sap.com/docs/DOC-6968

Please check the below link,

http://help.sap.com/saphelp_nwpi711/helpdata/en/48/6ca4616c0707dce10000000a42189d/frameset.htm

You have a topic called SAP Router config where you can find how to define SAP Route string..

You need to discuss with your network team and parellely you can open a message with SAP Network Support.

Thanks,

Himanshu

Former Member
0 Kudos

Hi,

Please review sap note "Note 33135  & 525751
please check that the services files on the sap router is maintained with the below entry.
sapdp99 3299/tcp #saprouter


also provide test result of below
sapgenpse get_my_name -n validity

example: niping -c -O -S 3299 -H 194.39.131.34

Former Member
0 Kudos

Dear Subhash,

PFA for the screens.

Thanks

Former Member
0 Kudos

Hi,

Also check this command.

sapgenpse get_my_name -V -n issuer

Former Member
0 Kudos
Former Member
jimguo
Advisor
Advisor
0 Kudos

Hi,

It seems that environment variable SNC_LIB is not correctly set.

Please make the following change and try again:

D:\usr\sap\saprouter\sapcrypto.dll;.;

->D:\usr\sap\saprouter\sapcrypto.dll

Thanks.

Jim

Former Member
0 Kudos

Dear Jim,

Thanks for the information.

The environment variable for SNC_LIB was set D:\usr\sap\saprouter\sapcrypto.dll;.; before also.

Still it is same issue.

jimguo
Advisor
Advisor
0 Kudos

Hi,

Have you set SNC_LIB to D:\usr\sap\saprouter\sapcrypto.dll?

Thanks.

Jim

karthikeyan_natarajan4
Active Contributor
0 Kudos

Hi Srinivas,

Mr. Jim is telling you to remove the unwanted (;.;) at the end of path of sapcrypto.dll.

Your SNC_LIB is set to

D:\usr\sap\saprouter\sapcrypto.dll;.;

change it to

D:\usr\sap\saprouter\sapcrypto.dll

and give a try. Also check whether your RFC connection OSS is working or not.

regards

kartik

Former Member
0 Kudos

Dear Karthik,

As you said, i have removed unwanted characters and tried, same error.

Our RFC connection OSS is not working, can you guide me on this.

Thanks.

Former Member
0 Kudos

Dear Jim,

Yes i have checked with D:\usr\sap\saprouter\sapcrypto.dll

Still issue is same.

Thanks

Former Member
0 Kudos

After you have corrected SNC_LIB try to start saprouter again and attach new dev_rout log for analysis.

karthikeyan_natarajan4
Active Contributor
0 Kudos

Dear Srinivas,

Paste us the entry in SAPOSS connection - Msg server, group etc...

regards

kartik

Former Member
0 Kudos

Dear Roman,

PFA for the latest dev_rout and Comand prompt .

Thanks

Former Member
0 Kudos
karthikeyan_natarajan4
Active Contributor
0 Kudos

What about the RFC destination SAPOSS in SM59, is it working.

Former Member
0 Kudos

Try to use p in lower case like p:CN.