SAP gateway connection failed
Hi All,
Due to restructure in DMZ in our network, IP addr of our R3 server is changed from 172.20.x.x to 192.168.x.x. and the original IP is NATted for connections. We can able to access SAPGUI, but RFCs from this server to other systems is not working. We are not able to remote logon from RFC to this R3 system from other servers, because of same issue.
RFC Error:
Error Details LOCATION: SAP-Gateway on host <sapr3> / sapgw01
Error Details DETAIL: no connect of TP sapdp00 from host <sapbw> after 20 sec
As per the note, Note 148832 - IP address conversion with a firewall, we have added the BW system entry in gw/alternative_hostnames, still its not working.
Because of this issue we are not able to access this R3 server from BW
as source system check failing with error
The following errors occurred in source system RSAR 374
Result of the destination check. Error when opening destination connection RSAR 375
*devrd file:*_
gateway runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)
gateway (version=700.2008.06.23)
gw/local_addr : 0.0.0.0
Bind service sapgw01 (socket) to port 3301
GwPrintMyHostAddr: my host addresses are :
1 : [192.168.x.x] <sapr3> (HOSTNAME)
2 : [127.0.0.1] localhost (LOCALHOST)
3 : [172.20.x.x] alternative (ALTERNATIVE)
4 : [172.20.y.y] <sapbw> (ALTERNATIVE)
Full qualified hostname = <sapr3>
DpSysAdmExtCreate: ABAP is active
DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
Thu Dec 3 10:59:47 2009
ERROR => GwRqDpSendTo: no comm_adm entry found (gw=<sapbw> / sapdp00, rq=203, idx=12, conv=27032592, uid=1143, mode=0 [gwdp
LOCATION SAP-Gateway on host <sapr3> / sapgw01
ERROR COMM_TBL table error
TIME Thu Dec 3 10:59:47 2009
RELEASE 700
COMPONENT SAP-Gateway
VERSION 2
RC 235
MODULE gwdp.c
LINE 6065
COUNTER 715
Thu Dec 3 12:30:15 2009
ERROR => GwHdlRqFromSapWp: no comm_adm entry found [gwdp.c 1427]
ERROR => (rq/idx/conv/tid/uid/mode/wp=10/0/37803973/21/1300/0/1) [gwdp.c 1436]
Please let us know what to do to resolve the RFC error
Thanks,
Ramesh
Following will list increased trace :
NiSelISelectInt: 1 handles selected (0 buffered)
main: NiSelNext (ni_hdl=10, read=1, write=0, connect=0, hdl_info=0x100b50b40)
request from R3_WORKPROCESS
NiIRead: hdl 10 received data (rcd=28,pac=2,MESG_IO)
GwReadSapWpRq: request: request from sap wp 1
-IN- tid 32 uid 1283 mode 0
-IN- appc_ca_blk 7 len 1697 rq_id 0
-IN- wait_f_answ 1 cmd 0
GwReadSapWpRq2: wp 1 waits for data
Adresse Offset Appc-Data to Gateway
0xffffffff73966230 000000 06ca0200 0503ffff 00000100 00000000 |................|
0xffffffff73966240 000016 40ffffff ff000000 00000000 00008704 |@...............|
0xffffffff73966250 000032 00000000 00000000 00000000 00000000 |................|
0xffffffff73966260 000048 54443143 4c4e5430 3137322e 32302e34 |TD1CLNT0172.20.4|
0xffffffff73966270 000064 73617064 70303020 49020000 0004ffff |sapdp00 I.......|
DpGetCpicCommIdx: found index 4 via appc_hdr
found comm entry 4 (tid/uid/mode/conv_id/a_r: 32/1283/0/ /0)
GwInitLocCommAdmEntry: init gw_comm_adm entry 4
GwListRemove: elem 4 not in comm_write_list
GwListRemove: elem 4 not in comm_wait_list
GwInitLocCommAdmEntry: 0 waiting writes to rem gw
GwSearch: connect to myself
GwFoundSysAddr: found addr
GwFoundWaitingAddr: found addr
GwSendToRemGw: request for myself (len=1697)
GwGetMemory: allocated 0x100ceb140 (len=1885)
GwGetMemory: act_overflow_size = 1885 (+ 1885)
REL APPC ca_blk 7
GwSendToRemGw: comp req = adr/total/alloc/hdr/param_hdr/data 0x100ceb140/1885/1885/80/295/1322
IN:
ReqType : CPIC SysIdx : 0 ReqLen : 1402 ReqId : 8752
CommIdx : 4 ConnIdx : -1 ReqVer : 6 Trace : 0
conn : -1 wp_no : -1 ReqBlk : -1
RqType : SAP_INIT Prot : INT UID : 1283 Mode : 0
User : SapRc : 0 AppcRc : 0 ConvId :
Vector : F_V_SEND_DATA
Info : SYNC_CPIC_FUNCTION WITH_HOSTADDR WITH_GW_SAP_PARAMS_HDR R3_CPIC_LOGIN_WITH_TERM
Info2 : WITH_LONG_LU_NAME
Info3 : GW_EXTENDED_INIT_OPTIONS
Addr (IPv4) : 172.20.48.162
LU : 172.20.4 TP : sapdp00 CType : I Cli Info: R3_CLIENT
Sec Usr : SecUsrLn: 0 Sec Type: 0
Send Length : 1322
long TP : sapdp00
long LU : 172.20.48.162
Address
Offset
CPIC-Data
x00ceb200
000000
d9c6c3f0 f0f0f0f0 f0f0f0f0 01010008
x00ceb210
000016
01020101 01010000 01010103 00040000
x00ceb220
000032
020b0103 0106000b 04010002 01030200
x00ceb230
000048
00002301 06010500 b5312d31 332d322d
..#......1-13-2-
GwUpdConvStatistik: conv_no/tcp_conv_no/sna_conv_no: 2/2/0
GwGetConnEntry: found conn 6 in free list
GwListRemove: remove elem 6 from conn_free_list
GwListRemove: 498 elems in conn_free_list
GwListInsert: insert elem 6 into conn_inuse_list (at end)
GwListInsert: 2 elems in conn_inuse_list
GwIHandleRq: new conn_tbl index: 6
GwIHandleRq: increment conv_no of client 0: 2
GwIHandleRq: own_index: 0
GwIHandleRq: set act rq type SAP_INIT
R3INIT(6, cpic_vector=1)
R3INIT: sys index = 0
GwMkTimeStamp: create conversation id 31510798
GwFiCreateConvId: created 31510798
R3INIT: generated Partner-Host-Addr: 172.20.48.162
R3INIT: received extended init options
timeout = -2
keepalive_timeout = -2
export_trace = 2
start_type = 0
net_protocol = 0
local_addr = ::
R3INIT: use extended init options
timeout = 20
keepalive_timeout = 300
export_trace = 0
start_type = 1
start cmd = /bin/rsh
net_protocol = 0
local_addr = ::
GwBufInit: initialize buffer info for conn 6
R3ALLC(31510798, cpic_vector=1, ..)
I am the client (0)
GwISearchSystem: check new tp >sapgw00<
GwFoundSysAddr: found addr
GwListInsert: insert elem 6 into conn_search_list (at begin)
GwListInsert: 1 elems in conn_search_list
GwISendConnReq: TP: >sapdp00<
GwISendConnReq: try to connect to service sapgw00
GwGetFreeSysid: sys 178 free
GwIAllocMemForLU_TP: 468 bytes for sys 178 allocated
GwListRemove: remove elem 178 from sys_free_list
GwListRemove: 289 elems in sys_free_list
GwListInsert: insert elem 178 into sys_inuse_list (at begin)
GwListInsert: 11 elems in sys_inuse_list
GwISendConnReq: server_idx/act_sys: 178/11
GwInsertSysAddr: inserted sys addr = 172.20.48.162 (1)
GwListInsert: insert elem 178 into sys_r3_list (at begin)
GwListInsert: 2 elems in sys_r3_list
NiHsLGetHostName: found address 172.20.48.162 in cache
NiIGetHostName: addr 172.20.48.162 = hostname '<sapbw>'
GwIAsyncConn: connect to gateway <sapbw> / sapgw00
NiHsLGetNodeAddr: found hostname '<sapbw>' in cache
NiIGetNodeAddr: hostname '<sapbw>' = addr 172.20.48.162
NiHsLGetServNo: found service name 'sapgw00' in cache
NiIGetServNo: servicename 'sapgw00' = port 0C.E4/3300
NiICreateHandle: hdl 28 state NI_INITIAL
NiIInitSocket: set default settings for new hdl 28 / sock 40 (I4; ST)
NiIBlockMode: set blockmode for hdl 28 FALSE
NiIConnectSocket: connection of hdl 28 to 172.20.48.162:3300 in progress (timeout=0)
NiIConnect: hdl 28 took local address 192.168.16.25:53031
NiIConnect: state of hdl 28 NI_CONN_WAIT
GwIConnectWithRemGw: timeout during GwIAsyncConn
GwSaveExtInfo: 0x100cec250 for ext info (496 bytes)
GwSelSet: set RW- (0x100b51050) for hdl 28
GwReadReqIndex: (process_id: -1)
GwReadReqIndex: no filled request-index-block
GwCheckClient: check clients
GwCheckClient: actual time stamp is 343038983
GwCheckClient: start_of_waiting stamp = 342822381
GwCheckClient: 1 clients still waiting for answers
GwCheckPollValue()
GwCheckPollValue: waiting client(s) (GW_COMM_CLIENTS_WAITING)
GWRD LOOP **********
I'm in GwReceive
Fri Dec 4 12:02:42 2009
NiSelISelectInt: 0 handles selected (0 buffered)
GwIRegSchedule()
GwICheckConv()
GwICheckConv: check conn 6
R3ALLC(31510798, cpic_vector=1, ..)
GwISearchSystem: connection to server 172.20.48.162 / sapdp00 in state CONN_PENDING
GwCheckCounter: check counter
GwCheckPollValue()
GwCheckPollValue: waiting client(s) (GW_COMM_CLIENTS_WAITING)
GwReadReqIndex: (process_id: -1)
GwReadReqIndex: no filled request-index-block
GwCheckClient: check clients
GwCheckClient: actual time stamp is 343543140
GwCheckClient: start_of_waiting stamp = 342822381
LOCK APPC ca_blk 7
GwCheckClient: timeout, rq/uid/mode/conv ID/comm_idx: 203/1282/0/17621698/13
GwSendRcToDp: send appc_rc/sap_rc 10001/221 to dp
GwIsAWaitingSWP: wp 0 waiting
GwSapWpWakeUp: send answer to sap wp 0
GwSapWpWakeUp: make wp 0 owner of appc_ca_blk 7
-OUT- tid -1 uid -1 mode 255
-OUT- appc_ca_blk 7 len 80 rq_id 12639
-OUT- wait_f_answ 0 cmd 0
NiIWrite: hdl 9 sent data (wrt=28,pac=1,MESG_IO)
GwListRemove: remove elem 13 from comm_wait_list
GwListRemove: 0 elems in comm_wait_list
GwCheckClient: no more clients waiting for answers
Similar Messages
-
SAP gateway connection failed in IC Win Client -- How to connect it ?
Hi experts,
While accessing the lead questionaires for IC Win client..
I get the error message as follows
" SAP gateway connection failed. Is SAP gatewaystarted? "
Can u share with me as how to establish the SAP gateway connection ..
I am grateful for your help..
I woul like to thank and appreciate you by rewarding the points
Thanks and Regards,
MatthewHi experts,
While accessing the lead questionaires for IC Win client..
I get the error message as follows
" SAP gateway connection failed. Is SAP gatewaystarted? "
Can u share with me as how to establish the SAP gateway connection ..
I am grateful for your help..
I woul like to thank and appreciate you by rewarding the points
Thanks and Regards,
Matthew -
SAP Gateway Connection Problem
Hi,
We had a SAP R/3 server which we could connect to it successfully.
Now we are going to connect to a company's sap server but we have an error as follows:
Connect from SAP gateway to RFC server failed Connect_PM GWHOST=x.x.x.x, GWSERV=sapgw01, ASHOST=x.x.x.x, SYSNR=01 LOCATION SAP-Gateway on host SAPDEV / sapgw01 ERROR connection to host x.x.x.x, service sapgw01 timed out TIME Thu Jul 12 14:01:15 2007 RELEASE 620 COMPONENT NI (network interface) VERSION 36 RC -12 MODULE nixxi.c LINE 821 DETAIL NiPConnect COUNTER 2
Can anyone help and tell us what is the problem?
We also used to connect with off firewalls but it didn't work again.
Also I had to mention we are using JCO to connect to server.
Best,
NazaninAlso I had to mention we are using JCO to connect to server.
-
Sap oss connection failed.
Dear exports,
I am getting the oss connection failed error.How it will reslove please provide any solution.
I have checked in sm59.
logon : connection error.
1)errordetails: error when opening the RFC an connection.
2)errordetail : error partner: avbc.ad.12.13. sapdp99 not reached.
3)errodetail: location: sap_server_name.
4)errordetail: details:NIPCONNECT2.
5)errordetail: call:connect.
6)errordetail:component NI(network interface).
7)errprdetail: counter:100.
8)errordetail:errornumer:10061.
9)errordetail: error text:wsaeconnectrefused:connection refused.
10)errordetail:module:nixxi.ccp.
11)errordetail:line:2823.
12)errordetail: return code:-10
regards,
RamanIs SAP Router is installed and configured. Is it registered under the customer ID in SMP. Once you register in SMP you need to import in the SAP Router.
If SAP Router is already configured, have set up a connection in OSS1 t code.
if not check the link for the Router installation https://websmp104.sap-ag.de/SAPROUTER -
SAP Remote Connection Fails via Windows VPN.
Hi,
I am trying to connect to a customer SAP system via Windows NT VPN. Although I am able to connect to its SAP server(succesful VPN connection), I am not able to log on to SAP with SAP GUI. I was told that the problem can be rasied due to the conflicting SAP application server numbers both in customer side with the ones in our office. As far as I understand, both sides (customer and our office betwork) have same number ranges for SAP servers. However I can connect from any place other than our office. How can I find a solution to connect to the customer's SAP system? Thanks for your quick replies.
Best Regards.
UE.Ron,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
SAP_CMINIT3 : rc=20 Connect to SAP gateway failed when connecting SAP CR
Dear SAP Gurus,
I have the follwowing issue when I try to access SAP Crystal Reports 2011 on my desktop.
I can access the SAP ERP 6.0 back-end system without problem, but when I try to connect to SAP Crystal Reports, as soon as I enter my login details, I get the following error message:
Logon Failed.
Details: SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed
Connect_PM GWHOST=192.12.353.12, GWSERV=sapgw00, SYSNR=00
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR partner 192.12.353.12:3300' not reached
TIME Thu Oct 27 12:02:17 201
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nixxi.cpp
LINE 2823
DETAIL NiPConnect2
SYSTEM CALL connect
ERRNO 10060
ERRNO TEXT WSAETIMEDOUT: Connection timed out
COUNTER 3
I can login to SAP Crystal Reports using other desktops, but cannot access using my own. This is the same for other people, they also cannot access using my desktop.
Thanks in advance, MarcHI Mark,
Are you and Ramish working together?
See this post for your answer: Connection keeps failing
Don -
Sol Man 4.0 Installation Error ECJS-30196 Connect to SAP gateway failed
Hi Experts
I am trying to install Solution Manager 4.0.
While installing SolMan, everything goes fine, until step # 31 create java users (creating SAP Jsf user), then it runs into below error messages.
CJS-30196 Connect to SAP gateway failedConnect_PM TYPE=A ASHOST=solman SYSNR=23 GWHOST=solman GWSERV=sapgw23 PCS=1LOCATION CPIC (TCP/IP) on local host with UnicodeERROR partner 'solman:sapgw23' not reachedTIME Mon Aug 13 17:44:59 2007RELEASE 700COMPONENT NI (network interface)VERSION 38RC -10MODULE nixxi.cppLINE 2770DETAIL NiPConnect2SYSTEM CALL connectERRNO 10061ERRNO TEXT WSAECONNREFUSED: Connection refusedCOUNTER 1
FCO-00011 The step createJSF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Doublestack|ind|ind|ind|ind|3|0|createJSF was executed with status ERROR .
CJS-30196 Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=solman SYSNR=23 GWHOST=solman GWSERV=sapgw23 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR timeout occured
TIME Mon Aug 13 17:17:35 2007
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -5
MODULE gwxx.c
LINE 480
DETAIL timeout 60000 msecs
SYSTEM CALL NiRead
COUNTER 1
Any suggestions/ideas for this error
Regards
RahulHi Experts
I am trying to install Solution Manager 4.0.
While installing SolMan, everything goes fine, until step # 31 create java users (creating SAP Jsf user), then it runs into below error messages.
CJS-30196 Connect to SAP gateway failedConnect_PM TYPE=A ASHOST=solman SYSNR=23 GWHOST=solman GWSERV=sapgw23 PCS=1LOCATION CPIC (TCP/IP) on local host with UnicodeERROR partner 'solman:sapgw23' not reachedTIME Mon Aug 13 17:44:59 2007RELEASE 700COMPONENT NI (network interface)VERSION 38RC -10MODULE nixxi.cppLINE 2770DETAIL NiPConnect2SYSTEM CALL connectERRNO 10061ERRNO TEXT WSAECONNREFUSED: Connection refusedCOUNTER 1
FCO-00011 The step createJSF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Doublestack|ind|ind|ind|ind|3|0|createJSF was executed with status ERROR .
CJS-30196 Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=solman SYSNR=23 GWHOST=solman GWSERV=sapgw23 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR timeout occured
TIME Mon Aug 13 17:17:35 2007
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -5
MODULE gwxx.c
LINE 480
DETAIL timeout 60000 msecs
SYSTEM CALL NiRead
COUNTER 1
Any suggestions/ideas for this error
Regards
Rahul -
RFC logon failed with message: Failed: Connect to SAP gateway failed
I installed CI instance fine and i am stopped here with this error at the end of DB instance install. Could someone let me know what could be the reason for this. Is there any fix or workaround to continue the install.
INFO 2006-09-16 01:13:02 [iaxxrfcimp.cpp:398]
CAbRfcImpl::setRfcConnectParam
RFC parameter ASHOST set to value hostSAP.
INFO 2006-09-16 01:13:02 [iaxxrfcimp.cpp:398]
CAbRfcImpl::setRfcConnectParam
RFC parameter SYSNR set to value 09.
INFO 2006-09-16 01:13:02 [iaxxrfcimp.cpp:543]
CAbRfcImpl::checkConnectInfo
RFC connection information checked successfully.
ERROR 2006-09-16 01:13:02 [iaxxrfcimp.cpp:450]
CAbRfcImpl::openRfcConn
FRF-00007 Unable to open RFC connection.
ERROR 2006-09-16 01:13:02
CJSlibModule::writeError_impl()
FRF-00063 RFC logon failed with message: Failed: Connect to SAP gateway failed
Connect_PM GWHOST=hostSAP, GWSERV=sapgw09, ASHOST=hostSAP, SYSNR=09
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host hostSAP, service 3309)
TIME Sat Sep 16 01:13:02 2006
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -10
MODULE nixxi_r_mt.cpp
LINE 8528
DETAIL NiPConnect
SYSTEM CALL connect
ERRNO 146
ERRNO TEXT Connection refused
COUNTER 4
Thanks,
Ramat the end of the database instance installation SAPInst is doing some RFCs to the CI.
The logfile states that the gateway on host hostSAP with the systemnumber 09 is not reachable.
Please check if you have started the central instance on this machine.
peter -
Connect to SAP Gateway failed.
Hello. When I setup the databridge it errors out. When I check for processes, it shows sapmsj2e as being on port 3601 in my services file. But I can't launch a webdyn pro or access my machine with the sap gui. Any ideas?
Heres the log file snipped
352 11/16/04 1:28:12 PM [SAPEngine_Application_Thread[impl:3]_12] INFO com.sap.lcr.webui.DPBridgeServlet: Data Supplier Bridge started.
#351 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: JCO exception processed.
#350 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: On server exception: Terminated thread.
#349 11/16/04 1:28:09 PM [JCO.ServerThread-97] DEBUG com.sap.lcr.sagent.SAPProxyServer: JCO Server exception received: Server startup failed at Tue Nov 16 13:28:09 PST 2004.
This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 1 seconds.
Could not start server: Connect to SAP gateway failed
Connect_PM TPNAME=SLD_NUC, GWHOST=orw-gharnish, GWSERV=sapmsJ2E
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR connection to partner broken
TIME Tue Nov 16 13:28:09 2004
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -6
MODULE ninti.c
LINE 784
DETAIL NiPRead (147.34.68.157/sapmsJ2E, hdl 1)
SYSTEM CALL recv
COUNTER 88
Thrown:
com.sap.mw.jco.JCO$Exception: Server startup failed at Tue Nov 16 13:28:09 PST 2004.
This is caused by either a) erroneous server settings, b) the backend system has been shutdown, c) network problems. Will try next startup in 1 seconds.
Could not start server: Connect to SAP gateway failed
Connect_PM TPNAME=SLD_NUC, GWHOST=orw-gharnish, GWSERV=sapmsJ2E
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR connection to partner broken
TIME Tue Nov 16 13:28:09 2004
RELEASE 640
COMPONENT NI (network interface)
VERSION 37
RC -6
MODULE ninti.c
LINE 784
DETAIL NiPRead (147.34.68.157/sapmsJ2E, hdl 1)
SYSTEM CALL recv
COUNTER 88Also. If I check my bridge connections it shows this:
[DOWN] JCO/RFC server threads
Is that related to the other problem?
Thanks, Graeme. -
Connect to SAP gateway failed - internal error
Hi, I've developed a simple .NET application that connects to a SAP system and makes a function call using a SAP Connector Proxy object. Everything works fine in my workstation, but deployment doesn't. I'm also deploying the following libraries: SAP.Connector.dll, SAP.Connector.Rfc.dll and librfc32.dll.
The fact is that deployment works fine in some servers, but not in others. I've checked that .NET Framework is installed (both versions, 1.1 and 2.0). I've checked the "WINDOWS\system32\drivers\etc\services" file. What else should I check? Any idea? Every suggestion would be appreciated.
The error message is the following:
Connect to SAP gateway failed Connect_PM GWHOST=xxx.xxx.xxx.xxx, GWSERV=sapgw00, ASHOST=xxx.xxx.xxx.xxx, SYSNR=00 LOCATION CPIC (TCP/IP) on local host ERROR internal error TIME Mon Nov 13 16:23:08 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -1 COUNTER 1
And the connection string:
CLIENT=100 USER=****** PASSWD=****** LANG=EN ASHOST=xxx.xxx.xxx.xxx SYSNR=0
Thanks in advanceHi Daniel,
Can you connect to the particular system by using SAPGUI ?
if yes, then your librfc32 file is working fine.
NCo internally consumes it's functions.
Other points to check are
1> service name as appears from within the r/3 system [transaction : smgw]
2> NCo 2.0 uses .net 1.1 & nCo 2.5 uses .net 2.0, do you have both versions running parallely ?
3> gateway errors are infrastructure issues, please verify your firewall settings for the relevant protocols : http / https & also sap ports 3300 onwards.
the services file you have checked will list the ports that need to be opened on the firewall [in the case of multi - domain applications]
4> check in your 'hosts' file [same directory as your 'services' file]
This file contains the mappings of IP addresses to host names. Each
entry should be kept on an individual line. The IP address should
be placed in the first column followed by the corresponding host name.
The IP address and the host name should be separated by at least one
space.
Additionally, comments (such as these) may be inserted on individual
lines or following the machine name denoted by a '#' symbol.
For example:
102.54.94.97 rhino.acme.com # source server
38.25.63.10 x.acme.com # x client host
with respect,
amit -
Connect to SAP gateway failed during Installatio(SAP 2004s with Oracle10.2)
Hi,
I am doing SAP 2004S installation with Oracle10.2
Oracle installation completed.
SAP installation completed till step : ABAP post installation (28 out of 43 completed)
Now I am stuck in Check DDIC Password phase.
but my problem is not able to start Sap instance.
dev_rfc.trc says...
>TS> Mon Jul 13 11:34:02 2009
T:612 ======> Connect to SAP gateway failed
Connect_PM TPNAME=IGS.ANK, GWHOST=INLD50057853A, GWSERV=3301
LOCATION CPIC (TCP/IP) on local host
ERROR internal error
(this retcode should be handled by caller of NI-layer)
TIME Mon Jul 13 11:34:02 2009
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -8
MODULE nixx.c
LINE 1537
DETAIL NiCloseHandle: invalid hdl -1
COUNTER 12
>TS> Mon Jul 13 11:35:03 2009
T:612 ======> Connect to SAP gateway failed
Connect_PM TPNAME=IGS.ANK, GWHOST=INLD50057853A, GWSERV=3301
LOCATION CPIC (TCP/IP) on local host
ERROR internal error
(this retcode should be handled by caller of NI-layer)
TIME Mon Jul 13 11:35:03 2009
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -8
MODULE nixx.c
LINE 1537
DETAIL NiCloseHandle: invalid hdl -1
COUNTER 14
Could you please let me know what is problem here...where can I adjust gateway if it is the only problem.
Thanks,
Regards,
Ankit Baphnaalso dispatcher log says...
ue Jul 14 16:31:05 2009
rdisp/http_min_wait_dia_wp : 1 -> 1
***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c 1611]
***LOG Q0K=> DpMsAttach, mscon ( INLD50057853A) [dpxxdisp.c 11163]
CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
CCMS: Initalizing shared memory of size 60000000 for monitoring segment.
CCMS: start to initalize 3.X shared alert area (first segment).
DpMsgAdmin: Set release to 7000, patchlevel 0
MBUF state PREPARED
MBUF component UP
DpMBufHwIdSet: set Hardware-ID
***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c 1050]
DpMsgAdmin: Set patchno for this platform to 33
Release check o.K.
Tue Jul 14 16:31:45 2009
ERROR => W0 (pid 5556) died [dpxxdisp.c 13748]
ERROR => W1 (pid 2768) died [dpxxdisp.c 13748]
my types changed after wp death/restart 0xbf --> 0xbe
ERROR => W2 (pid 4376) died [dpxxdisp.c 13748]
my types changed after wp death/restart 0xbe --> 0xbc
ERROR => W3 (pid 3708) died [dpxxdisp.c 13748]
my types changed after wp death/restart 0xbc --> 0xb8
ERROR => W4 (pid 5392) died [dpxxdisp.c 13748]
my types changed after wp death/restart 0xb8 --> 0xb0
ERROR => W5 (pid 1544) died [dpxxdisp.c 13748]
my types changed after wp death/restart 0xb0 --> 0xa0
ERROR => W6 (pid 3872) died [dpxxdisp.c 13748]
my types changed after wp death/restart 0xa0 --> 0x80
DP_FATAL_ERROR => DpWPCheck: no more work processes
DISPATCHER EMERGENCY SHUTDOWN ***
increase tracelevel of WPs
killing W0-5556 (SIGUSR2)
ERROR => DpWpKill(5556, SIGUSR2) failed [dpxxtool.c 2586]
killing W1-2768 (SIGUSR2)
ERROR => DpWpKill(2768, SIGUSR2) failed [dpxxtool.c 2586]
killing W2-4376 (SIGUSR2)
ERROR => DpWpKill(4376, SIGUSR2) failed [dpxxtool.c 2586]
killing W3-3708 (SIGUSR2)
ERROR => DpWpKill(3708, SIGUSR2) failed [dpxxtool.c 2586]
killing W4-5392 (SIGUSR2)
ERROR => DpWpKill(5392, SIGUSR2) failed [dpxxtool.c 2586]
killing W5-1544 (SIGUSR2)
ERROR => DpWpKill(1544, SIGUSR2) failed [dpxxtool.c 2586]
killing W6-3872 (SIGUSR2)
ERROR => DpWpKill(3872, SIGUSR2) failed [dpxxtool.c 2586]
NiWait: sleep (10000ms) ...
NiISelect: timeout 10000ms
NiISelect: maximum fd=1673
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Tue Jul 14 16:31:55 2009
NiISelect: TIMEOUT occured (10000ms)
dump system status
Workprocess Table (long) Tue Jul 14 11:01:55 2009
========================
and syslog says...
SAPBasis:MEssage server disconnected
SAP Gateway closed
Database error: 1017 at CON
ORA01017: invalid username/password; logon denied
Which username is this referring to?
Regards,
Ankit Baphna
Edited by: I041468 on Jul 14, 2009 1:09 PM -
Connect to SAP gateway failed Connect_PM TYPE=B
Hi experts,
I get the following error when i ping through JCO destinations on portals.
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=B MSHOST=imtsapdev01 GROUP=CLUST R3NAME=DMI MSSERV=sapmsDMI PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '127.0.0.1:3310' not reached TIME Tue Jan 27 16:39:54 2009 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 1
However my JCO destinations were working perfectly until recently. I checked on the logon group. I have one called CLUST, which i use for this purpose.
I have also checked both service files and they have the following for the ECC server im connecting to.
3610 because its system number 10 i am connecting to.
sapmsDMI 3610/tcp
From the JCE destinations screen i cannot even ping the server. I can though when i log on to the server through remote desktop.
thanks and regards
dilanke
as a reply to nishants posts.
goto rz70
give hostname -->
service --> sapgw00 (sapgw(instance number)
execute it
click on yes
check rfc call (success or failed)
I have done this. i left hostname as "blank" gave service as "sapgw10"
The following is what i got as the output.
0: IMTSAPDEV01_DMI_10 : Execute program: SLDRFC
0: IMTSAPDEV01_DMI_10 : Execute program: SLDMSGSRV
0: IMTSAPDEV01_DMI_10 : Execute program: SLDIPSERV
0: IMTSAPDEV01_DMI_10 : Execute program: SLDINSTSP
0: IMTSAPDEV01_DMI_10 : Execute program: SLDINSTSC
0: IMTSAPDEV01_DMI_10 : Execute program: SLDGWSRV
0: IMTSAPDEV01_DMI_10 : Execute program: SLDDBSYS
0: IMTSAPDEV01_DMI_10 : Execute program: SLDCOMPSYS
0: IMTSAPDEV01_DMI_10 : Execute program: SLDCLIENT
0: IMTSAPDEV01_DMI_10 : Execute program: SLDBCSYS
0: IMTSAPDEV01_DMI_10 : Execute program: SLDAPPL_SERV
0: IMTSAPDEV01_DMI_10 : Execute program: SLDASSOC
0: IMTSAPDEV01_DMI_10 : Collection of SLD data finished
0: IMTSAPDEV01_DMI_10 : Data collected successfully
0: IMTSAPDEV01_DMI_10 : RFC data prepared
0: IMTSAPDEV01_DMI_10 : Used RFC destination: SLD_NUC
0: IMTSAPDEV01_DMI_10 : RFC call failed: Error opening an RFC connection.
0: IMTSAPDEV01_DMI_10 : Existing periodic jobs removed. Number: 1
0: IMTSAPDEV01_DMI_10 : Program scheduled: 20090127 184357
1: IMTSAPDEV01_DMI_10 : Event-controlled job already exists; scheduling not necessary
so i guess its not successful. when i look at rz70 of a server where this works correctly its not succsessful either
if it is success then technical system name will be in sld
to restart sld --> /sld --> administration --> stop server --> restart server
or check in VA --> SLD data supplier value --> Runtime
I checked this and i do not see aa problem. you have configuration status as valid and send reult as Success
Services file is locted on OS level of R3 system--> Goto --> Start --> Run -> (type)Drivers(enter) --> etc -> (here is services file)
check ur r/3 server entry is there or not,
I have the followng in the service file for the server
sapmsDMI 3610/tcp
if not add itHi Experts,
when ilook at the remote gateway properties in SMGW this is what i see on the R/3 server. ive looked at my other system which i can connect to and there isnt much of a difference in the parameters. How can test this to see if it works?
Details of remote gateway
entry = 0
state = CONNECTED
local = 1
system type = REMOTE_GATEWAY
client = FALSE
wait for frag write = 0
suspended = 0
read/write socket = 4
HANDLE = 4
TIME = Sun Oct 19 18:54:14 2008
SOCKET = 1352
STAT = NI_CONNECTED
TYPE = STREAM IPv4
OUT = 48225 messages 48225 bytes
IN = 1 messages 64 bytes
LOCAL = 127.0.0.1:3310
REMOTE = 127.0.0.1:1297
OPTIONS =
connect = Sun Oct 19 18:52:17 2008
last request = Thu Jan 29 13:09:58 2009
conversation no = 0
thanks and regards,
dilanke -
Connect to SAP gateway failed Connect_PM TYPE=A
In past 4-5 days, some of messages are not processed in our XI production server.
I got the following error in the falied messages:
Seem to be some parameter need to be update for sap gateway.
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: RfcAdapter: receiver channel has static errors: can not instantiate RfcPool caused by: com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=dbcinpr SYSNR=15 GWHOST=dbcinpr GWSERV=sapgw15 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR connection to host dbcinpr, service sapgw15 timed out TIME Sun Oct 21 09:09:50 2007 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -12 MODULE nixxi_r_mt.cpp LINE 1067 DETAIL NiPConnect COUNTER 1</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
Pls let us know if it is parameter related prolem or some other issue.
Regards
AmarHi Amar!
Test the status of the RFC destinations in transaction SM59 of XI and R/3 systems.
Also check this thread, I think they might be helpful:
Communication channel not working
RFC Receiver Adapter Error
JCO Destination creation error
RFC_ERROR_COMMUNICATION - time out
Reg Jco connections
RFC Adaptive Model,JCO destinations error
Regards,
Matias
PS: please award points if helpful. -
RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
HI All,
Im getting the following error while trying to call a RFC through JCO.
{0}#1#com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=R3ip SYSNR=00 GWHOST=R3ip GWSERV=sapgw00 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR hostname 'R3ip' unknown
TIME Thu May 15 12:13:36 2008
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -2
MODULE niuxi.c
LINE 1529
DETAIL NiPGetHostByName2: hostname 'R3ip' not found
SYSTEM CALL gethostbyname_r
COUNTER 1
I know it has something to do with the entries in the services and hosts files of the portal server. Please guide me on links from help.sap.com on this.HI Dagfinn,
Very helpful answer. Thanks.
When you say :
4. Normally, the sap system should be registered in DNS, and you should need any. --- How do I check if my SAP system is registerd in the DNS? Is there some detail explaination on this.
Also,
I have these observations :
1. I checked the services file on my portal server and the entry for "sapgw00 3300/tcp" is maintained there.
2. There is no entry of my SAP ECC box in the hosts file of my portal server.
3. The group PUBLIC is not maintained in SMLG transaction.
4. I am using R3ip only in my code, there is no other place that this "R3ip" is being used.
Following is my code :
import com.sapportals.htmlb.page.*;
import com.sapportals.htmlb.table.DefaultTableViewModel;
import com.sapportals.htmlb.event.*;
import com.sapportals.portal.htmlb.page.*;
import com.sapportals.portal.prt.component.*;
import com.sapportals.portal.prt.resource.IResource;
import com.sapportals.portal.prt.session.*;
import java.math.*;
import java.util.*;
import java.util.Calendar;
import com.sapportals.portal.prt.service.jco.IJCOClientService;
import com.sap.mw.jco.JCO;
import com.sapportals.portal.prt.service.jco.IJCOClientPoolEntry;
import com.sap.mw.jco.IFunctionTemplate;
import com.sap.mw.jco.IRepository;
public class ReadModelData extends PageProcessorComponent {
public DynPage getPage(){
return new ReadModelDataDynPage();
public static class ReadModelDataDynPage extends JSPDynPage{
private class4bean class4bean = null;
protected IPortalComponentRequest request;
protected IPortalComponentSession session;
protected IPortalComponentContext context;
protected IPortalComponentProfile profile;
protected String userId;
protected String sapSystem;
private final static int INITIAL_STATE = 0;
private final static int OUTPUT_STATE = 1;
private final static int ERROR_STATE = 2;
private int state = INITIAL_STATE;
public void doInitialization(){
System.out.println("cpCv - Code is rendered: " + Calendar.getInstance().getTime().toString());
state = INITIAL_STATE;
DefaultTableViewModel tvm = new DefaultTableViewModel();
tvm = getData();
//class4bean = new class4bean();
class4bean.setModel(tvm);
session.putValue("class4bean", class4bean);
public DefaultTableViewModel getData() {
com.sap.mw.jco.IRepository repository;
JCO.Pool pool = JCO.getClientPoolManager().getPool("R3");
/* if (pool == null) {
// JCO.removeClientPool("R3");
JCO.addClientPool(
"R3",
10,
"040",
USER,
PWD,
"EN",
"R3ip",
"00");
if (pool == null) {
// JCO.removeClientPool("R3");
JCO.addClientPool(
"R3",
10,
"040",
"uname",
"pwd",
"EN",
"portalserver",
"40");
repository = JCO.createRepository("TTL", "R3");
JCO.Client client = null;
// Get a function template from the repository
IFunctionTemplate ftemplate =
repository.getFunctionTemplate("BAPI_SALESORDER_GETSTATUS");
// Create a function from the template
JCO.Function function = ftemplate.getFunction();
client = JCO.getClient("R3");
JCO.ParameterList input = function.getImportParameterList();
input.setValue("0053100700", "SALESDOCUMENT");
client.execute(function);
JCO.Table sales_orders =
function.getTableParameterList().getTable("STATUSINFO");
Vector row = new Vector();
Vector tbl = new Vector();
Vector colNames = new Vector();
// Loop over all rows
do {
// Loop over all columns in the current row
for (JCO.FieldIterator e = sales_orders.fields();
e.hasMoreElements();
JCO.Field field = e.nextField();
row.add(field.getString());
// System.out.println(field.getName() + ":\t" + field.getString());
} //for
tbl.add(row);
} while (sales_orders.nextRow());
sales_orders = null;
sales_orders =
function.getTableParameterList().getTable("STATUSINFO");
sales_orders.nextRow();
for (JCO.FieldIterator e = sales_orders.fields();
e.hasMoreElements();
JCO.Field field = e.nextField();
colNames.add(field.getName().toString());
DefaultTableViewModel dtvModel = new DefaultTableViewModel(tbl, colNames);
JCO.releaseClient(client);
return dtvModel;
public void doProcessAfterInput() throws PageException {
public void doProcessBeforeOutput() throws PageException {
class4bean myBean = new class4bean();
((IPortalComponentRequest)getRequest()).getServletRequest().setAttribute("myBean", myBean);
// fill your bean with data here...
this.setJspName("testJSP_.jsp"); -
Rfc conn.: Connect to SAP gateway failed , edit: Group PUBLIC not found
Hello!
I want to create a RFC connection.
In the "Connection and Transport"-Tab I fill out the fields: Target Host, System Number and System ID.
If I save the destination the fields Gateway-Host and Gateway-Service will be automatically filled out with the same input value of the Target Host field.
But there is no gateway for this system and if I ping the destination the following error message is shown:
Error during ping operation: Connect to SAP gateway
failed Connect_PM TYPE=A ASHOST=sma82 SYSNR=01
WHOST=sma82 GWSERV=sma82 PCS=1 LOCATION CPIC (TCP/IP)
on local host with Unicode ERROR service sma82
unknown TIME Thu Sep 27 11:27:37 2007 RELEASE
710 COMPONENT NI (network interface) VERSION 39 RC
-3 MODULE nixxhsl.cpp LINE 643 DETAIL
NiHsLGetServNo: service name cached as unknown
COUNTER 6
How can I handle this?Hi,
I have attempted to configure the Destination with a co-worker who successfully configured a Destination to the same R/3-System but with SAP NetWeaver 2004s and not with SAP Netweaver CE 7.1 SR1.
He said that in his case he connects to the Message-Server so we activated Load Balancing.
The Message-Server will be found now but the Logon Group cant be found:
Error during ping operation: Connect to message server host failed Connect_PM TYPE=B MSHOST=xxx.xxx.xxx GROUP=PUBLIC R3NAME=TDE MSSERV=sapmsTDE PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR <b>Group PUBLIC not found</b> TIME Tue Oct 02 12:28:09 2007 RELEASE 710 COMPONENT LG VERSION 5 RC -6 MODULE lgxx.c LINE 4392 DETAIL LgIGroupX COUNTER 15
But the Logon Group is PUBLIC! I checked it with SMLG.
Any ideas?
Regards,
Armin
Maybe you are looking for
-
I am trying to use a newer version of Xerces (2.5.0) with my web application. I've tried all sorts of things that haven't worked. I first started off trying the XML scoping feature using a .ear file but could never get that working (see my earlier po
-
Clean-up SpamAssassin db files
By incident I found that some files (auto-learning ?) of SpamAssassin are growing and growing; for example: /var/amavis/.spamassassin root# ls -l total 2275104 -rw------- 1 clamav clamav 1118257152 Aug 9 22:47 auto-whitelist -rw------- 1 clamav clama
-
PC software to view backed up files
Hi Does anyone know if there is any PC software to download that can view the backed up files of 6600 thanks
-
Credit Limit on basis by specific product
Dear Experts, Could you please suggest me any body how to maintain credit limit by specific material (Product). Let say Customer Pepsi has 3 products i.e X,Y and Z....pepsi (customer) has credit limit 100 USD. Here the customer credit limit is 100 us
-
Working with arrays in Powershell
Hello everyone, It has been an hour since I started to work on a new script in Active Directory. It is desired to query user LastLogin among all domain controllers in a domain. In a nutshell it will be used for: Query LastLogin of ALL user accounts