Skip to Content
0
Former Member
Jun 04, 2013 at 02:17 PM

error in sm59 OSS - SAP Router confirguration

163 Views

Hi ,

I am trying to configure saprouter , i have configured but when i try to start it shows error though but when i try to test connection from sm59 it show error.

Is saprouter working ? if not what could be the problem.

D:\usr\sap\SAPROUTER>saprouter -r -S 3299 -V 3 -K "p:CN=crbsapsol, OU=0000192393 , OU=SAProuter, O=SAP, C=DE" &

trcfile dev_rout

no logging active

WARNING: wildcard character used in route target

Please check dev_rout file

D:\usr\sap\SAPROUTER

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

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

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

Tue Jun 04 19:30:07 2013

NiIHSBufInit: initialize hostname buffer (IPv4)

NiHLInit: alloc host buf (200 entries)

NiSrvLInit: alloc serv bufs (200 entries)

NiIInit: allocated nitab (811 at 00000000023271E0)

NiIInit: host/serv bufs already initialized

NiPGetNodeAddrListInit: use GetAdaptersAddresses implementation (03)

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

NiPInsertSockAddr: got address '192.28.4.22' (unicast)

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

NiPInsertSockAddr: got address '127.0.0.1' (unicast)

NiPGetNodeAddrList03: got 2 interface(s) from operating system

[0] IP-Address: 192.28.4.22

[1] IP-Address: 127.0.0.1

NiIGetServNo: servicename '3299' = port 3299

SAP Network Interface Router, Version 40.4

Compiled May 12 2013 23:38:22

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=crbsapsol, OU=0000192393, 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()="saprouter" NetWkstaUser="saprouter"

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 pl32 (Apr 2 2011) MT-safe

<<- SncPDLInit()==SAP_O_K

<<- SncInit()==SAP_O_K

sec_avail = "true"

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

<<- SncSetMyName()==SAP_O_K

in: myname = "p:CN=crbsapsol, OU=0000192393, OU=SAProuter, O=SAP, C=DE"

NiBufISetParam: set max heap to 20000000

NiSetParamEx: switch NIP_CONNLOCAL off (not supported by platform)

NiMyHostName: hostname = 'crbsapsol'

main: pid = 908, 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 368 (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 368 added to set pos 0

NiSelIAddMsg: added hdl 1 to set0

SiSelNSet: set events of sock 368 to: rp-

reading routtab: './saprouttab'

<<- SncNameToAclKey_r()==SAP_O_K

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

'aclkey ' (addr=00000000023B2BD0, len=107) full hexdump

0x00000 00030401 00080606 2b240301 25010000 ........ +$..%...

0x00010 00593057 310b3009 06035504 06130244 .Y0W1.0. ..U....D

0x00020 45310c30 0a060355 040a1303 53415031 E1.0...U ....SAP1

0x00030 12301006 0355040b 13095341 50726f75 .0...U.. ..SAProu

0x00040 74657231 13301106 0355040b 130a3030 ter1.0.. .U....00

0x00050 30303139 34363737 3111300f 06035504 00192393 1.0...U.

0x00060 03130873 61707365 727632 ...sapse rv2

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=00000000023B2BD0, 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.28.4.22' -> 192.28.4.22/32 (0/0)

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=00000000023A9F28, len=107) full hexdump

0x00000 00030401 00080606 2b240301 25010000 ........ +$..%...

0x00010 00593057 310b3009 06035504 06130244 .Y0W1.0. ..U....D

0x00020 45310c30 0a060355 040a1303 53415031 E1.0...U ....SAP1

0x00030 12301006 0355040b 13095341 50726f75 .0...U.. ..SAProu

0x00040 74657231 13301106 0355040b 130a3030 ter1.0.. .U....00

0x00050 30303139 34363737 3111300f 06035504 00192393 1.0...U.

0x00060 03130873 61707365 727632 ...sapse rv2

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

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

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

'aclkey ' (addr=00000000023AA390, 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= ::/0 * *

P*,* 192.28.4.22/32 194.39.131.34/32 3299 *

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

SiSelNSelect: start select (timeout=-1)

Regards,

Dinesh