cancel
Showing results for 
Search instead for 
Did you mean: 

Error connection of SAPROUTER using linux

Former Member
0 Kudos

Hello,

please help me, I'm having a failed connection when I'm trying to stop and ping the IP address of my saprouter. I'm using saprouter -s and nipping code please see below error for the reference

Thu Aug  1 17:18:33 2013

SAP Network Interface Router, Version 38.10

***LOG Q0I=> NiPConnect2: connect (111: Connection refused) [nixxi.cpp 2823]

*** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 0 / sock 3

    (SI_ECONN_REFUSE/111; I4; ST; 127.0.0.1:3299) [nixxi.cpp    2823]

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

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

*

*  LOCATION    SAProuter 38.10 on 'saprouter'

*  ERROR       partner 'localhost:3299' not reached

*

*  TIME        Thu Aug  1 17:18:33 2013

*  RELEASE     700

*  COMPONENT   NI (network interface)

*  VERSION     38

*  RC          -10

*  MODULE      nixxi.cpp

*  LINE        2823

*  DETAIL      NiPConnect2

*  SYSTEM CALL connect

*  ERRNO       111

*  ERRNO TEXT  Connection refused

*  COUNTER     2

*

Thu Aug  1 17:26:53 2013

***LOG Q0I=> NiPConnect2: connect (111: Connection refused) [nixxi.cpp 2823]

*** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 0 / sock 3

    (SI_ECONN_REFUSE/111; I4; ST; 119.92.61.75:3299) [nixxi.cpp    2823]

*** ERROR => NiTClientLoop: NiHandle (rc=-10) [nixxtst.cpp  2861]

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

*

*  ERROR       partner '119.92.61.75:3299' not reached

*

*  TIME        Thu Aug  1 17:26:53 2013

*  RELEASE     700

*  COMPONENT   NI (network interface)

*  VERSION     38

*  RC          -10

*  MODULE      nixxi.cpp

*  LINE        2823

*  DETAIL      NiPConnect2

*  SYSTEM CALL connect

*  ERRNO       111

*  ERRNO TEXT  Connection refused

*  COUNTER     1

*

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

help pls

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello All,

Thank you for the quick solution, however, upon checking the SAP license, our certificate is still valid and up to date. I'm just worried that our saprouter is still down for i don't know reason. i got this error when I'm trying to execute the niping

# deny routes from host1 to host2 serviceX

# deny all routes from host3

# permit routes from anywhere to any host using serviceX

# permit all routes from/to addresses matching 155.56

# permit ... with 3rd byte matching 1011xxxx

# permit routes from host4 to host5 if password xxx supplied

# permit information requests from host6

# permit native-protocol-routes to non-SAP-server telnet

# permit ... excluding native-protocol-routes (SAP-servers only)

# permit ... if number of preceding/succeeding hops (SAProuters) <= 0/*

# permit SNC-connection with partnerid = 'sncname1' to any host

# permit all SAP-SAP SNC-connections to host11

# deny all SNC-connections  with partnerid = 'sncname "abc'

# open connects to host11 with SNC enabled and partnerid = 'sncname3'

# first match [host/sncname host service] is used

# permission is denied if no entry matches

# service wildcard (*) does not apply to native-protocol-routes

i've also tried to start the router but unfortunately i got also an error

please check this one

[root@saprouter ~]# ps -ef | grep saprouteravahi  928 1  0 10:44 ?    00:00:00 avahi-daemon: running [saprouter.local]
root  2577  2334  0 15:03 pts/000:00:00 grep --color=auto saprouter

what should i do

Sriram2009
Active Contributor
0 Kudos
divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Khen,

First of all, try to use this command to test your connection

NIPING -c -H <host> -S <port> -O -X 1

port is generally 3298

If your SAP router is stop try to start with

saprouter -r -S 32nn -K "p:CN=<Router hostname>, OU=<Customer name>, OU=SAProuter,O=SAP, C=DE"

Keep entries of your SAP router entries in host files and your connected system entries in routtab.

And, if this not working then request a new certificate from service.sap.com/tcs

Apply this certificate and try with above method.

Regards,

Divyanshu


former_member182034
Active Contributor
0 Kudos

HI Khen,

Please follow the instruction of below thread in which user faced same issue.

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

Regards,

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Khen,

The error is "connection refused".

Either the saprouter is down, or there is something (a firewall?) at your network that is blocking the connection.

Regards,

Isaías