on 2009 Nov 09 4:37 PM
Hi,
Please what is mean?
Why I can't connect with SAP server? I use SAPRFC for PHP 5.1 and Linux Debian
ERROR file opened at 20091109 162108 CET, SAP-REL 640,0,299 RFC-VER 3 1093028 MT-SL
T:3075020544 Error in program 'apache2': ======> SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
Connect_PM GWHOST=192.0.0.202, GWSERV=sapgw00, ASHOST=192.0.0.202, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR connection to host 192.0.0.202, service 3300 timed out
TIME Mon Nov 9 16:21:08 200
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -12
MODULE nixxi_r_mt.cpp
LINE 1109
DETAIL NiPConnect
COUNTER 1
Thanks for your help
Akda
Request clarification before answering.
Check the connection settings:
00 is only when the system number is 00 ( check in SM51) last 2 number from the server is the sysnr.
these entries need to be added to /etc/services ( or the wintel variant) /windows/system/...
sapgw00 3300/tcp
sapdp00 3200/tcp
sapms<SID> 3600/tcp
is your sysnr is for example 40
sysnr= 40
GWSERV=sapgw40
in service file:
sapgw40 3340/tcp
sapdp40 3240/tcp
sapms<SID> 3640/tcp
Etc
Let us know if this solved your problem!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
pas mieux !
THANKS YOU BUT :
ALWAYS THE SAME PB
ERROR file opened at 20091116 164221 CET, SAP-REL 640,0,299 RFC-VER 3 1093028 MT-SL
T:3075839744 Error in program 'apache2': ======> SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
Connect_PM GWHOST=192.0.0.202, GWSERV=sapgw00, ASHOST=192.0.0.202, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR connection to host 192.0.0.202, service 3300 timed out
TIME Mon Nov 16 16:42:21 200
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -12
MODULE nixxi_r_mt.cpp
LINE 1109
DETAIL NiPConnect
COUNTER 1
PLEASE HELP ME§
AKDA
I did not mention you have to reboot to make the services file active ( on windows)
just to check connectivity:
- Can you do a normal ping to this server?
- Can you check via an RFC ping the connectivity:
other checks:
- user is not locked?
- correct profiles?
also have a look here:
[Note 460089 - Minimum authorization profile for external RFC programs]
[http://help.sap.com/saphelp_45b/helpdata/en/c9/a81a3827c011d2804900c04fadbfef/frameset.htm]
[PERL example|http://www.erpgenie.com/index.php?option=com_content&task=view&id=258&Itemid=77]
Can please copythe connection string you use?
Hello and thanks for yours answers!
I'm working : linux Debian, PHP 5
Installing and conpiling: RFC_5-20004597.SAR
ping for the server : OK
net: linux <> netasq <> sap
not a new test on de linux system, in the windows system with the same profil it's work, because, the SAPQUI is activated.
Have a good day.
Akda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.