cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Connection Problem - err. : SAP-Gateway on host

former_member639160
Discoverer
0 Kudos

Hi,

i have a problem with RFC Connection after a system crash. In my case, I cannot connect SAP with external system. By SM59, if i set gateway-host field with Node 1 of my cluster, it works fine, but if i set gateway-host field with logical name of cluster(Primary Resource are on Node 2 Cluster)it doesn't works(and before of crash, this connection works fine).

On RFC Log i see following error

RFC LOG:

T:14768 ======> CPIC-CALL: 'SAP_CMACCPTP'

LOCATION    CPIC (TCP/IP) on local host

ERROR       illegal parameter value ( function=SAP_CMACCPTP /

            parameter=handle / value=356 )

TIME        Wed Aug 20 21:12:43 2014

RELEASE     620

COMPONENT   CPIC (TCP/IP)

VERSION     3

RC          769

MODULE      r3cpic.c

LINE        9681

COUNTER     22474612

And when i try a connection test on SM59, i see that:

err. Error when opening an RFC connection (CPIC-CALL: 'ThSAPOCMINIT' : cmRc=2 thRc=67

err. ERROR: program RFC_B not registered

err. LOCAZ.: SAP-Gateway on host HOSTNAME / sapgwxx

err. DETT.: TP RFC_B not registered

err. COMPONENT: SAP-Gateway

err. CONTAT.: 1859

err. MODULE: gwr3cpic.c

err. RIGA: 1833

err. VALORE RIT.: 679

err. SUBRC: 0

err. RELEASE: 720

err. ORA: Thu Aug 20 21:12:43 2014

err. VERS.: 2

Someone have any ideas, as i can fix this error? Could it depends from dirty gateway buffer ?

Reval in advance that on Secstore i haven't errors.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

Is this is a new Installation now? check out for Instance Profile parameter "gw/acl_mode" ,

this parameter defines the behavior of the gateway service and comes with a default setting of "1" in new Installation, maybe this is blocking your connection,this parameter is set to restrict external servers and registering servers by default.unless, you define the ACL List.

kindly refer the documentation for this parameter in order to set your security settings for the gateway.

Regards

KB

Answers (2)

Answers (2)

former_member639160
Discoverer
0 Kudos

i've solve problem. My kernel release is 720, and from 720, registration of external server program is controlled by profile parameter gw/acl_mode.

gw/acl_mode = 0 will allow registration of external server program

gw/acl_mode = 1 will not allow registration of external server programs and you need to maintain reg_info and sec_info files.

On my cluster, i've seen this situation:

Node 1 = gw/acl_mode = 0

Node 2 = gw/acl_mode = 1

This is a Dynamic parameter. After set value to 0 on Node 2 of cluster, i've register correctly my program.

Thanks to all!

Sriram2009
Active Contributor
0 Kudos

Hi

Have define the gateway parameter in the RFC_B? as mention in the SAP Note
1893014 - program <program ID> not registered

and also you refer the SAP Note

353597 - Registration of RFC server programs


BR

SS