cancel
Showing results for 
Search instead for 
Did you mean: 

RFC connection (SM59) fails with load balancing enabled.

Former Member
0 Kudos

Hello All,

We have an RFC connection setup between two SAP systems. The RFC connection works fine if it points to the destination system. But if we enable load balancing, the connection fails with this error:

ERROR partner not reached (host <hostname>, service sapms<SID>)

LOCATION SAP-Server <source system> on host <host name of source> (wp 1)

DETAIL NiPConnect2

CALL SO_ERROR

COMPONENT NI (network interface)

COUNTER 3027

ERROR TEXT Connection refused

ERROR NUMBER 79

MODULE niuxi.c

LINE 1069

RETURN CODE -10

SUBRC 0

RELEASE 46D

TIME Mon Aug 18 18:33:30 2008

VERSION 34

I've checked the /etc/services file, the following entries exist

sapms<SID> 3606/tcp

sapms<SID>s 3600/tcp

lstst at the source system works fine

lgtst -H <target host name> -S sapms<SID>

niping at the target system has a problem

> niping -c -S 3606

Mon Aug 18 10:23:14 2008

connect to server o.k.

      • ERROR => NiTClientLoop: NiTReadLoop (rc=-6) [nixxtst.cpp 2629]

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

*

  • ERROR connection to partner broken

*

  • TIME Mon Aug 18 10:23:14 2008

  • RELEASE 640

  • COMPONENT NI (network interface)

  • VERSION 37

  • RC -6

  • MODULE niuxi.c

  • LINE 905

  • DETAIL NiPRead (0.0.0.0/0, hdl 1)

  • SYSTEM CALL recv

  • COUNTER 1

*

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

Please help me figure out the problem.

regards,

Roshni

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

At the target system:

Run SMLG

Double click on the logon group

Go to Attributes tab

Check "Ext.RFC enabled" button and Save

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Please delete your old setting of load balancing and create again then you will not found any problem. Due to wrong port number using, you are getting the error message.

Anil

Former Member
0 Kudos

The port number, 3606 is correct, /etc/services and /etc/hosts files is also correct.

I have tried with new logon groups and new RFC destinations too. No luck.

regards,

Roshni

Former Member
0 Kudos

Hi,

I think you have added wrong port entry in services file.

The entry of sap servers in services file for load balancing are

sapms<SID> 36<instance number>/tcp

so please check once again and add the entry using above formula in services file.

Also add the entry of all SAP servers in your hosts file.

<IP> <HOSTNAME>