cancel
Showing results for 
Search instead for 
Did you mean: 

Error while checking connection after establishing sap router

Former Member
0 Kudos

Hello All,

I have installed a sap router on our solution manager on Linux environment

when i try to check the RFC connection from SM59 i am receiving the following error.

my message server is configured as follows

Msg. Server - /H/<SAP Router Ip>/S/sapdp99/H/194.39.131.34/S/sapdp99/H/oss001

<SAP Router> is my solman ip address

Connection Test SAPOSS

Logon Connection Error

Error Details Error when opening an RFC connection

Error Details ERROR: timeout while pending for route completion

Error Details LOCATION: SAP-Server sgtr-s-devs1d_S1D_67 on host sgtr-s-devs1d (wp 0)

Error Details DETAIL: NiErrSet

Error Details COMPONENT: NI (network interface)

Error Details COUNTER: 175

Error Details MODULE:

Error Details LINE:

Error Details RETURN CODE: -12

Error Details SUBRC: 0

Error Details RELEASE: 700

Error Details TIME: Wed Feb 22 23:33:20 2012

Error Details VERSION: 38

my oss1 tecnical settings are as follows.

sap router at customer side

Name sgtr-s-devs1d

IP Address 65.38.107.196

Instance no. 99

sap router at sap

Name sapserv2

IP Address 194.39.131.34

Instance no. 99

when i do a logon i get the following error

Unable to connect to SAPNet message server

(Default connection will be used...)

To check whether saprouter is working or not i have executed few commands

u2022 ps -ef|grep saprouter

s1dadm 9873 9590 0 05:53 pts/2 00:00:00 saprouter -r -S 3299 -V 3 -K p:CN=sgtr-s-devs1d, OU=0000858034, OU=SAProuter, O=SAP, C=DE

s1dadm 9951 9590 0 06:09 pts/2 00:00:00 grep saprouter

u2022 lsof -w -n -i tcp:3299

COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME

saprouter 9873 s1dadm 4u IPv4 5333574 0t0 TCP *:pdrncs (LISTEN)

u2022 fuser -n tcp 3299

3299/tcp: 9873

u2022 netstat -anp|grep :3299

tcp 0 0 0.0.0.0:3299 0.0.0.0:* LISTEN 9873/saprouter

In /usr/sap/saprouter

my saprouttab contains

  1. SNC connection to and from SAP

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

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

KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 65.38.107.196 3267

  1. Access from your local Network to SAP

P 65.38.107.196 194.39.131.34 3299

  1. All other connections will be denied

#D * * *

one thing i want to know is my saprouter started or did i miss any configuration how to check whether my sap router is started.

Please advice me if i miss any,

Thanks in advance,

Vardhan.

Accepted Solutions (1)

Accepted Solutions (1)

rupali_karbhari3
Active Contributor
0 Kudos

You can check status via command saprouter -l

Check link [http://mynameispo.blogspot.in/2008/03/cp-saprouter-on-linux-linux-release.html] for other commands

Regards,

Former Member
0 Kudos

thanks for the help

when i executed the following command

sgtr-s-devs1d:s1dadm > saprouter -l

Thu Feb 23 06:45:08 2012

SAP Network Interface Router, Version 38.10

Thu Feb 23 06:45:09 2012

peer SAProuter with NI version 38 ...

send info-request to running SAProuter ...

SAP Network Interface Router running on port 3299 (PID = 10818)

Started on: Thu Feb 23 06:41:42 2012

ID CLIENT | PARTNER service

-


+----


1 localhost | (no partner)

Total no. of clients: 1

Working directory : /usr/sap/saprouter

Routtab : ./saprouttab

please advice

Vardhan

Edited by: vardhan197 on Feb 23, 2012 6:14 PM

Answers (2)

Answers (2)

rupali_karbhari3
Active Contributor
0 Kudos

Check if Note 977902 - SAProuter maintenance does not work (Version 38.3) helps.

Also paste log when you try to start saprouter : saprouter -r

Regards,

Former Member
0 Kudos

Thanks for the quick reply.

sgtr-s-devs1d:s1dadm > saprouter -r

trcfile dev_rout

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

*

  • LOCATION SAProuter 38.10 on 'sgtr-s-devs1d'

  • ERROR service '0.0.0.0:3299' in use

*

  • TIME Thu Feb 23 07:23:36 2012

  • RELEASE 700

  • COMPONENT NI (network interface)

  • VERSION 38

  • RC -4

  • MODULE nixxi.cpp

  • LINE 3227

  • DETAIL NiIBindSocket

  • SYSTEM CALL bind

  • ERRNO 98

  • ERRNO TEXT Address already in use

  • COUNTER 2

*

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

looke like my sap router is on SAProuter 38.10

already i have started router earlier

Thanks!

Vardhan

rupali_karbhari3
Active Contributor
0 Kudos

refer Thread :http://forums.sdn.sap.com/thread.jspa?threadID=2046255

Which inicates about chekcing if port 3299 is open or not.

Regards,

Former Member
0 Kudos

so i need to open 3299 port

from my side and map it to my sap server, as out going port

i would do so and try to start router and check connections

Former Member
0 Kudos

Hi

i have opened port 3299 over our firewall

still there is a error while testing my RFC connection

Logon Connection Error

Error Details Error when opening an RFC connection

Error Details ERROR: timeout while pending for route completion

Error Details LOCATION: SAP-Server sgtr-s-devs1d_S1D_67 on host sgtr-s-devs1d (wp 2)

Error Details DETAIL: NiErrSet

Error Details COMPONENT: NI (network interface)

Error Details COUNTER: 14

Error Details MODULE:

Error Details LINE:

Error Details RETURN CODE: -12

Error Details SUBRC: 0

Error Details RELEASE: 700

Error Details TIME: Tue Feb 28 01:30:31 2012

Error Details VERSION: 38

Please advice

Thanks!

Vardhan.

Former Member
0 Kudos

thanks a lot for all the help.

my issue is resolved.

all the trick was i was starting sap-router from putty when i close my putty session sap-router was automatically shutting down.

we wrote a script to start putty when sap starts that went fine and we are able to test the connection

and also small change in saprouttab worked fine

Thanks!

Vardhan.

nirmal_konchada
Active Contributor
0 Kudos

Hi,

Please check below ports opening on firewall.

From saprouter to each sap Server

1. 32<Instance no> (GUI)

2. 23 ( Telnet Port)

3. 80<Instance No> ( HTTP Connection)

Based on the Requirement open the corresponding Ports.

From all SAP Servers to saprouter

1. 3299

Check the services if you want to confirm whether router is running or not.

Regards,

Nirmal.K

Former Member
0 Kudos

Hi Nirmal,

Thanks for the reply.

one think i want to know is that do i need to open 3299 port from our side and map it to my sap server.

if yes i would ask my network team to do so and map it to server on which sap is installed.

for the first time i am configuring sap router.

apart from this is every thing working fine.

Check the services if you want to confirm whether router is running or not.

/etc/init.d/<service> status

i have used this command but unable to find the service, what would be the service name.

Please advice

Vardhan.