cancel
Showing results for 
Search instead for 
Did you mean: 

Error while connecting router through service connector.

Former Member
0 Kudos

Hi friends,

After connecting through service connector, stfk file is generated and while installing it, I am getting below error.

<b>The remote function call library returned the following error message:

Connect to SAP gateway failed

Connect_PM DEST=o01,

GWHOST=/H/<IP ADDRESS OF SAPRouter>/S3299/194.39.131.34/S3299/H/oss01.wdf.sap-ag.de/S/3301,

GWSERV=sapgw01, SYSNR=01

LOCATION CPIC(TCP/IP)on local host

ERROR partner`IP address of host:3299` not reached</b>

Regards,

Nagesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Nageshwar,

I hope the rfc to SAPOSS is working fine and you have configured

your saprouter correctlty with SNC.

1) Check the status of port 3299 in your firewall.

2) Please open the port 3299 in your firewall with service name as sapdp.

It looks like your saprouter is running on windows.

Please check whether the windows firewall is on or off.

If the windows firewall is ON please TURN OFF it.(Sometimes it will block the port 3299)

Please check it and revert.

Regards,

Arun

Ps:Reward points if this is helpfull.

Former Member
0 Kudos

Hi Arun,

Thnks for ur reply and first without SAPRouter, how you can connect to OSS using rfc. This is message which I found in sdn.sap.com.

If I am wrong correct me.

To get SAPOSS RFC working you need to establish an SARRouter connectivity with SAP. If the connectivity is already established then please go through below steps

Logon to SAP System

Run Transaction OSS1

Go to Parameter -> Technical Settings

Mention the approprite details as given by SAP & your SAPRouter details

Save it.

Now it will generate an RFC SAPOSS with appropriate authoriations.

Run Transaction SM59

Double Click on RFC SAPOSS

Click on Test Connection.

If your SAPRouter is ON or connected with SAP Server then you should get the successful test connection.

In case if you have not yet established the connectivity with SAP then you will receive an error message "RFC Error: Error when opening an RFC connection".

This is the same error I got it.

Regards,

nagesh

Former Member
0 Kudos

Hi Nagesh,

So your RFC is not working.That means the there is some problem

with your saprouter (physical connection)or the values entered with in OSS1.

So please check the status of the saprouter(whether it is configured correctlty.)

Then check whether the router is started from the command prompt or not.

Also check the saprouttab file in the router and check the entries.

If you have any doubts regarding the saprouter installation please let me know.

Regards,

Arun

Former Member
0 Kudos

Hi Arun,

I have problem with sap router , I am unable to start from command level. I am getting following error.

<i><b>D:\SAPRouter>saprouter -r -S 3299 -K "p:CN=solman, OU=0000873765, OU=SAProuter,

O=SAP, C=DE"

trcfile dev_rout

no logging active

routtab cannot open './saprouttab': EXIT PROGRAM !!!

(running without saproutab is no longer supported for security reasons)

Could not open permission table</b></i>.

And this is saprouttab file which I have placed it in the same folder of saprouter.

  1. SNC connection to SAP

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

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

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

3200

  1. SNC-connection from SAP to local R/3-System for pcAnywhere

KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.0.43 5631

  1. SNC-connection from SAP to local R/3-System for SAPtelnet

KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.0.43 23

  1. SNC-connection from SAP to local R/3-System for Netmeeting

KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 192.168.0.43 1503

  1. Access from your local Network to SAPNet - R/3 Frontend

P * 194.39.131.34 3299

  1. All other connections will be denied

D * * *

And can u please tel me whether this shd be saved as text file or batch file.

Thanks for helping me

regards,

nagesh

Former Member
0 Kudos

Hi Nagesh,

Please check the entries in the file saprouttab

Also please add this value in your saproutab <b>P<tab><tab><tab>*</b>

Save the file without any extension .

Now try to start the saprouter from the command prompt.

Regards,

Arun

Former Member
0 Kudos

Arun,

I have tried it, still I am unable to do it. Whenever any changes made to saprouttab, it shd be compiled or not? while I am doing it, it shows an error. This is message I got in command level.

<i>

D:\SAPRouter>saprouter -n -S 3299 -K "p:CN=solman, OU=0000873765, OU=SAProuter,

O=SAP, C=DE"

Wed Nov 14 18:52:41 2007

SAP Network Interface Router, Version 38.10

SncInit(): Initializing Secure Network Communication (SNC)

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

SncInit(): Trying environment variable SNC_LIB as a

gssapi library name: "D:\SAPROUTER\ntintel\sapcrypto.dll".

File "D:\SAPROUTER\ntintel\sapcrypto.dll" dynamically loaded as GSS-API v2 lib

rary.

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

Internal SNC-Adapter (Rev 1.0) to SECUDE 5/GSS-API v2

Wed Nov 14 18:52:42 2007

***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [

nixxi.cpp 2823]

      • ERROR => NiPConnect2: SiPeekPendConn failed for hdl 0 / sock 1904

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

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

5649]

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

*

  • LOCATION SAProuter 38.10 on 'solman'

  • ERROR partner '127.0.0.1:3299' not reached

*

  • TIME Wed Nov 14 18:52:42 2007

  • RELEASE 700

  • COMPONENT NI (network interface)

  • VERSION 38

  • RC -10

  • MODULE nixxi.cpp

  • LINE 2823

  • DETAIL NiPConnect2

  • SYSTEM CALL connect

  • ERRNO 10061

  • ERRNO TEXT WSAECONNREFUSED: Connection refused

  • COUNTER 2

*

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

D:\SAPRouter>saprouter -r -S 3299 -K "p:CN=solman, OU=0000873765, OU=SAProuter,

O=SAP, C=DE"

trcfile dev_rout

no logging active

routtab cannot open './saprouttab': EXIT PROGRAM !!!

(running without saproutab is no longer supported for security reasons)

Could not open permission table</i>

Regards,

Nagesh

Former Member
0 Kudos

Dear Nagesh ,

1)Take a backup of your present saprouttab

2)Then remove all values inside saproutab file and add the following value

P<tab><tab><tab>*

Now save the file with out any extension(not batch file or text file)

Now restart the saprouter and try to start the router

Regards,

Arun

Former Member
0 Kudos

Hi Arun,

I tried it but I could nt start it. If any sol just msg me. I am able to ping SAP server side IP but I am unable to ping through hostname of SAP server.

Regards,

Nagesh

Former Member
0 Kudos

If yout want to ping the SAP hostname, then add into c:\windows\system32\drivers\etc\hosts\hosts file

Answers (0)