cancel
Showing results for 
Search instead for 
Did you mean: 

RFC_ERROR_COMMUNICATION : Connect to SAP gateway failed

Former Member
0 Kudos
2,198

Hi all,

I recently tried to copy the intranet's code of my firm on a new virtual machine, but after the php / saprfc installation, i got the following error :

RFC Error Info :

Group : 102

Key : RFC_ERROR_COMMUNICATION

Message : SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed

Connect_PM

GWHOST=10.222.xx.29,

GWSERV=sapgw00,

SYSNR=00 LOCATION CPIC (TCP/IP) on local host

ERROR partner not reached (host 10.222.xx.29, service 3300) 

TIME Tue Oct 30 16:16:24 2012

RELEASE 640

COMPONENT NI (network interface)

VERSION 37 RC -10

MODULE nixxi_r_mt.cpp

LINE 8778

DETAIL NiPConnect

SYSTEM CALL connect

ERRNO 13

ERRNO TEXT Permission denied

COUNTER 2 in /var/www/html/intranet/sap/sapclasses/saprfc.php on line 75

In the service file , have the following entries:

sapgw00     3300/tcp

It's the first time I have to deal with sap, especially with saprfc, if someone could help me, Thanks in advance.

Regards,
Romain

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Dear Romain

1) Configuration issue. The IP address or the port is incorrect.

2) The gateway on localhost with instance number 00 is not running.

3) Please check if you can reach the gateway from the operation system your j2ee engine is running on.

telnet 10.222.xx.29 sapgw00

telnet 10.222.xx.29 sapgw01

Which one of the above works?

Check in the transaction SMGW  - goto parameters display - then you

will see the parameters configured on your gateway host.

Thanks

Tapan

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

First of all, thank you both for your answers.

I fixed my problem by reinstalling SAP RFC SDK / saprfc on my webserv.

The fault was mine, I got versions conflicts.

MaheshKumar
Contributor
0 Kudos

Hi

Please check following things.

Try a ping test and maintain ip and hostname in hostfile /etc/hosts file.

10.222.xx.29    saphostname      sapserver.domain.com

Check permissions on route tab.

Your firewall may be blocking outgoing connection.

Please move this thread to http://scn.sap.com/community/netweaver-administrator to get more responses..