cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Router start issue

Former Member
0 Kudos

Hello All

We are facing the following issue while starting the SAP router. The router just hangs with the following statement in the command prompt.

trcfile dev_rout

no logging active

upon providing trace level 3 and looking into the dev_route file, the following information is found.

Please help in suggesting possible resolution.

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

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

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

Thu Apr 23 19:06:49 2015

NiIHSBufInit: initialize hostname buffer (IPv4)

NiHLInit: alloc host buf (200 entries)

NiSrvLInit: alloc serv bufs (200 entries)

NiIInit: allocated nitab (811 at 00000000041A2610)

NiIInit: host/serv bufs already initialized

SAP Network Interface Router, Version 40.4

Compiled Mar 30 2015 18:27:50

command line arg 0: saprouter

command line arg 1: -r

command line arg 2: -V

command line arg 3: 3

command line arg 4: -K

command line arg 5: p:CN=USCINSAPSVR10, OU=0000454027, 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

tracefile limit : 0 byte

tracefile maxcnt : 0

socket buffer size : 32768

logfile   : no logging active

portrange : no portrange active

local address : default address

->> SncInit(prg=0, ini_fname=(NULL), &sec_avail=000000000213F148)

SncInit(): Initializing Secure Network Communication (SNC)

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

      GetUserName()="um1adm"  NetWkstaUser="um1adm"

SncInit(): Trying environment variable SNC_LIB as a

      gssapi library name: "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll".

DlLoadLib success: LoadLibrary("E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"), hdl 0, count 1, addr 0000000010000000

    using "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): failed GetProcAddress("sapsnc_init_adapter") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

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

DlLoadFunc(): successful GetProcAddress("gss_acquire_cred") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_release_cred") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

Thu Apr 23 19:06:49 2015

DlLoadFunc(): successful GetProcAddress("gss_init_sec_context") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_accept_sec_context") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_process_context_token") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_delete_sec_context") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_context_time") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_get_mic") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_verify_mic") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_wrap") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_unwrap") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_display_status") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_indicate_mechs") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_compare_name") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_display_name") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_import_name") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_release_name") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_release_buffer") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_release_oid_set") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_inquire_cred") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_inquire_cred_by_mech") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_inquire_context") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_wrap_size_limit") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_export_sec_context") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_import_sec_context") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_inquire_names_for_mech") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_inquire_mechs_for_name") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_canonicalize_name") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("gss_export_name") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

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

DlLoadFunc(): successful GetProcAddress("sapcr_get_version") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

DlLoadFunc(): successful GetProcAddress("sapcr_get_secudir") from "E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll"

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

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

  Internal SNC-Adapter (Rev 1.1) to SAPCRYPTOLIB 5.x

  Product Version = SAPCRYPTOLIB  5.5.5C pl38  (Oct  7 2014) MT,AESNI,NB

  <<- SncPDLInit()==SAP_O_K

<<- SncInit()==SAP_O_K

         sec_avail = "true"

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

<<- SncSetMyName()==SAP_O_K

     in: myname = "p:CN=USCINSAPSVR10, OU=0000454027, OU=SAProuter,O=SAP, C=DE"

NiBufISetParam: set max heap to 20000000

Thu Apr 23 19:06:49 2015

NiSetParamEx: switch NIP_CONNLOCAL off (not supported by platform)

NiSetParamEx: set NIP_SOCK_BUFFER_SIZE 32768

NiMyHostName: hostname = 'USCINSAPSVR10'

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

NiSelICreateSet: new set0

SiSelNInit: allocate 172528 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 508 (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 508 added to set pos 0

NiSelIAddMsg: added hdl 1 to set0

SiSelNSet: set events of sock 508 to: rp-

reading routtab: './saprouttab'

<<- SncNameToAclKey_r()==SAP_O_K

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

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

addrinfo of 'USCINSAPSVR09':

0: 192.168.120.19:0 Thu Apr 23 19:06:49 2015

'USCINSAPSVR09' <unknown socket type 0> (0-2-0-0-16)

1: 192.168.120.19:0 <unknown socket type 0> (0-2-0-0-16)

NiHLGetNodeAddr: got hostname 'USCINSAPSVR09' from operating system

NiIGetNodeAddr: hostname 'USCINSAPSVR09' = addr 192.168.120.19

NiIGetServNo: servicename '3200' = port 3200

NiStrToAddrMask: '192.168.*.*' -> 192.168.0.0/16 (0/1)

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

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

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

  'aclkey ' (addr=00000000042354D4, 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=000000000423599C, 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"

Thu Apr 23 19:06:49 2015

  p:CN=sapserv2, OU=SAProuter, O=  192.168.120.19/32               3200      p

P*,*  192.168.0.0/16                   194.39.131.34/32                *         *

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

SiSelNSelect: start select (timeout=-1)

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Did you registered your SAP router with SAP? If didn't follow the instructions from note 28976

I had a similar problem with SAP CryptoLib, to solve it I reinstall the cryptolib with the last version and regenerate the certificate as described at Support Portal https://support.sap.com/remote-support/saprouter/saprouter-certificates.html

I hope that it solve your problem!

Regards.

former_member182657
Active Contributor
0 Kudos

Hi Vikram,


The router just hangs with the following statement in the command prompt.

trcfile dev_rout

no logging active

With the above result on execution of router start command,as per me router is already in start mode.Have you checked or connected any system with use of SAProuter string at your end ?

If possible share results for saprouter -l

Regards,

Former Member
0 Kudos

Hi Gourav,

Thanks for your reply!!

Please find the details .

Step1:Oss1  & SM59 transaction fails to connect router Let me know further comments on this.

former_member182657
Active Contributor
0 Kudos

My spells are Gaurav not Gourav


Oss1  & SM59 transaction fails to connect router

Anyways could you share the failure logs getting after connection testing at SAPOSS RFC .

Thanks,

Former Member
0 Kudos

Hello Gaurav,

Thanks for your quick reply. Pasting the RFC error below.

Former Member
0 Kudos

** Trace file opened at 20150417 112112 Eastern Daylight Time, by disp+work

** Versions SAP-REL 721,0,201 RFC-VER U 3 1459980 MT-SL

ror RFCIO_ERROR_SYSERROR in abrfcpic.c : 2825

: Hostname or service of the message server unknown

ST =CONNECTION_PING

HOST =H/192.168.152.50/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001

NAME =OSS

OUP =1_PUBLIC

AP Programm: CL_DSMOP_RFC_WATCHER==========CP (Transaction: )

er: SOLMAN_BTC (Client: 100)

stination: SAP-OSS (Handle: 1, DtConId: 00000000000000000000000000000000, DtConCnt: 0, ConvId: ,)

P RootContextId: 74D4356C5F6B1ED4B6E3593B0548B699, ConnectionId: 74D4356C5F6B1ED4B6E35960B5B7D699, ConnectionCnt: 1

P TransactionId: 5B15E5E476B3F1738EAD74D4356C5F6B

** Trace file opened at 20150417 112113 Eastern Daylight Time, by disp+work

** Versions SAP-REL 721,0,201 RFC-VER U 3 1459980 MT-SL

ror RFCIO_ERROR_SYSERROR in abrfcpic.c : 2825

: Hostname or service of the message server unknown

ST =SAP-OSS

HOST =H/192.168.152.50/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001

NAME =OSS

OUP =1_PUBLIC

AP Programm: CL_SM_DATA_SENDER_RFC=========CP (Transaction: )

er: SOLMAN_BTC (Client: 100)

stination: SAP-OSS (Handle: 2, DtConId: 00000000000000000000000000000000, DtConCnt: 0, ConvId: ,)

P RootContextId: 74D4356C5F6B1ED4B6E3593B0548B699, ConnectionId: 74D4356C5F6B1ED4B6E35960B5B7D699, ConnectionCnt: 1

P TransactionId: 5B15E5E476B3F1738EAD74D4356C5F6B

** Trace file opened at 20150417 112113 Eastern Daylight Time, by disp+work

** Versions SAP-REL 721,0,201 RFC-VER U 3 1459980 MT-SL

ror RFCIO_ERROR_SYSERROR in abrfcpic.c : 2825

: Hostname or service of the message server unknown

ST =SAP-OSS

HOST =H/192.168.152.50/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001

NAME =OSS

OUP =1_PUBLIC

AP Programm: CL_SM_DATA_SENDER_RFC=========CP (Transaction: )

former_member185954
Active Contributor
0 Kudos

Hello Vikram,

Please check the following thread: 

Regards,

Siddhesh