Skip to Content

Can't stop SAPRouter Connection refused

Dear Gurus,

The SAP router is giving issues.

I could not stop the router using the command "saprouter -r"

It gives the error below:

bash-3.00$ saprouter -s

Sun Aug 22 09:00:11 2010

SAP Network Interface Router, Version 38.10

Sun Aug 22 09:00:12 2010

***LOG Q0I=> NiPConnect: connect (146: Connection refused) [nixxi.cpp 2513]

  • ERROR => NiPConnect: SiConnect failed for hdl 0 / sock 3

(SI_ECONN_REFUSE/146; I4; ST; 127.0.0.1:3299) [nixxi.cpp 2513]

  • ERROR => RTADMINREQ::sendAdminReq: NiBufConnect failed (rc=-10) [nirout.cpp 5649]

*****************************************************************************

*

  • LOCATION SAProuter 38.10 on 'MLDSAP'

  • ERROR partner 'localhost:3299' not reached

*

  • TIME Sun Aug 22 09:00:12 2010

  • RELEASE 700

  • COMPONENT NI (network interface)

  • VERSION 38

  • RC -10

  • MODULE nixxi.cpp

  • LINE 2513

  • DETAIL NiPConnect

  • SYSTEM CALL connect

  • ERRNO 146

  • ERRNO TEXT Connection refused

  • COUNTER 2

*

*****************************************************************************

I killed the process with the UNIX command kill -9.

The router is some "unknown" state and I cannot start it up again.

BR,

Tolu

Edited by: Juan Reyes on Aug 23, 2010 9:42 AM

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Aug 23, 2010 at 02:04 PM

    if you are using SNC then saprouter -s command will not work. the start command would be something like this.

    saprouter -r -G ./routerlog -S 3299 -K "p:CN=yourhostname, OU=0000nnnnnn, OU=SAProuter, O=SAP, C=DE" &

    Try that out...

    Edited by: Venkatesh Koukuntla on Aug 23, 2010 4:35 PM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 23, 2010 at 02:14 PM

    Hi,

    • ERROR partner 'localhost:3299' not reached

    The error msg seems that the sap router service is not running. Check whether u are able to test the RFC destination "SAPOSS" from any of ur SAP system. If no, then u can be sure that the service is not running.

    Regards,

    Varadharajan M

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 24, 2010 at 06:23 PM

    I suspect it could not be started because the tunnel was not open to the remote site.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 08, 2010 at 07:28 AM

    Dear all,

    below is the log file of the command saprouter -r -V3 -T

    -


    trc file: "file.out", trc level: 3, release: "700"

    -


    Tue Sep 7 08:27:19 2010

    NiHsLInit: alloc host/serv bufs (200/200 entries)

    NiIInit: allocated nitab (811 at 0x1002fd220)

    NiIInit: host/serv bufs already initialized

    NiPGetNodeAddrList: got 5 interface(s) from operating system

    [ 0-lo0 ] IPv4-Address: 127.0.0.1 UP

    [ 1-ce0 ] IPv4-Address: 10.0.0.3 UP

    [ 2-ce2 ] IPv4-Address: 0.0.0.0 DOWN

    [ 3-ce3 ] IPv4-Address: 10.10.10.3 UP

    [ 4-eri0 ] IPv4-Address: BBB.BBB.BBB.BBB UP

    SAP Network Interface Router, Version 38.10

    Compiled Dec 12 2009 01:29:33

    command line arg 0: saprouter

    command line arg 1: -r

    command line arg 2: -V3

    command line arg 3: -T

    command line arg 4: file.out

    service : 3299

    routtab : ./saprouttab

    plug-in : no plug-in

    -argument: 'no argument'

    clients : 800

    max servers : 1

    quelength : 1

    maxheap : 20000000

    timeoutL : 5000

    tracefile : file.out

    logfile : no logging active

    portrange : no portrange active

    local address : default address

    NiBufISetParam: set max heap to 20000000

    NiSetParamEx: switch NIP_CONNLOCAL off

    NiIMyHostName: hostname = 'ZZZZZ'

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

    NiICreateHandle: hdl 0 state NI_INITIAL

    NiIInitSocket: set default settings for new hdl 0 / sock 4 (I4; ST)

    NiITraceByteOrder: CPU byte order: big endian, network, high val..low val

    NiIBind: hdl 0 bound to 3299 (IP only)

    NiIBlockMode: set blockmode for hdl 0 FALSE

    NiIListen: state of hdl 0 NI_LISTEN

    NiIListen: listen for client requests on hdl 0

    NiSelICreateSet: new set0

    SiSelPInit: allocate 141816 bytes for FI (811)

    NiSelIInit: size of set0 is 811

    SiSelPSet: sock 4 added to set pos 0

    NiSelIAddMsg: added hdl 0 to set0

    SiSelPSet: set events of sock 4 to: rp-

    reading routtab: './saprouttab'

    NiStrToAddrMask: 'YYY.YYY.YYY.YYY' -> YYY.YYY.YYY.YYY [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]

    NiIGetServNo: servicename '3299' = port 0C.E3/3299

    NiStrToAddrMask: 'YYY.YYY.YYY.YYY' -> YYY.YYY.YYY.YYY [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]

    NiStrToAddrMask: 'YYY.YYY.YYY.YYY' -> YYY.YYY.YYY.YYY [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]

    NiIGetServNo: servicename '8001' = port 1F.41/8001

    NiStrToAddrMask: 'YYY.YYY.YYY.YYY' -> YYY.YYY.YYY.YYY [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]

    NiIGetServNo: servicename '8001' = port 1F.41/8001

    NiStrToAddrMask: 'BBB.BBB.BBB.BBB' -> BBB.BBB.BBB.BBB [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]

    NiIGetServNo: servicename '8001' = port 1F.41/8001

    NiStrToAddrMask: 'YYY.YYY.YYY.YYY' -> YYY.YYY.YYY.YYY [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]

    NiStrToAddrMask: 'BBB.BBB.BBB.BBB' -> BBB.BBB.BBB.BBB [ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff]

    NiIGetServNo: servicename '8001' = port 1F.41/8001

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

    P, :: :: YYY.YYY.YYY.YYY ffff:ffff:ffff: 3299 *

    P, YYY.YYY.YYY.YYY ffff:ffff:ffff: :: :: * *

    P, :: :: YYY.YYY.YYY.YYY ffff:ffff:ffff: 8001 *

    P, YYY.YYY.YYY.YYY ffff:ffff:ffff: :: :: 8001 *

    P, :: :: BBB.BBB.BBB.BBB ffff:ffff:ffff: 8001 *

    P, YYY.YYY.YYY.YYY ffff:ffff:ffff: BBB.BBB.BBB.BBB ffff:ffff:ffff: 8001 *

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

    SiSelPSelect: start select (timeout=-1)

    any help?

    BR,

    Tolu

    Add comment
    10|10000 characters needed characters exceeded