Connect to message server (host/3900) failed: NIEHOST_UNKNOWN.. br SOLUTION
I am trying to install SLM as DISTRIBUTED SYSTEM. I have installed CENTRAL SERVICES INSTANCE on host 1 and DB instance on host 2.
and trying to install CENTRAL SERVICE on host 3.
CENTRAL SERVICES INSTANCE and DB instance install successfully.
I am getting this error message when installing CENTRAL SERVICE.
here is my sapinst_dev.log
=======================
Connect to message server (host/3900) failed: NIEHOST_UNKNOWN.
======================================================
here is my dev
=========================================================
trc file: "dev_ms", trc level: 1, release: "700"
[Thr 16384] Tue Feb 26 20:51:13 2008
[Thr 16384] MsSSetTrcLog: trc logging active, max size = 20971520 bytes
systemid 387 (Intel x86 with Linux)
relno 7000
patchlevel 0
patchno 110
intno 20050900
make: multithreaded, Unicode, optimized
pid 5846
[Thr 16384] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 5846) [msxxserv_mt. 1824]
[Thr 16384] SigISetDefaultAction : default handling for signal 17
[Thr 16384] load acl file = /usr/sap/KGB/SYS/global/ms_acl_info
[Thr 16384] MsGetOwnIpAddr: my host addresses are :
[Thr 16384] 1 : [1XX.10.10.222] host1.mycompanyname.com (HOSTNAME)
[Thr 16384] 2 : [1XX.0.0.1] localhost.localdomain (LOCALHOST)
[Thr 16384] MsHttpInit: full qualified hostname = host1.mycompanyname.com
[Thr 16384] HTTP logging is switch off
[Thr 16384] set HTTP state to LISTEN
[Thr 16384] MsHttpOwnDomain: own domain[1] = host1.mycompanyname.com
[Thr 16384] ms/icf_info_server : deleted
[Thr 16384] *** I listen to internal port 3900 (3900) ***
[Thr 16384] *** HTTP port 8100 state LISTEN ***
[Thr 16384] CUSTOMER KEY: >T0444609119<
=========================================================
I have changed the hostname in all the file (1) hostname ,(2)/etc/sysconfig/network file . i even checked my hostname and it shows hostname as "HOST1" so i am confused even though hostname is "HOST1" but in dev_ms the IP ADRESS is resolving to "host1.mycompanyname.com"
3. Also when i am trying to run "startsap" or "stopsap" from host1 where central service instance is installed. It gives me "command not found" although i see all the exe file in /usr/sap/SID/SYS/exe/run. why my command not running.
. I have added the sapmsSID 3900/tcp entries in both HOST1 and HOST3 services file.
Only that
When I grep on Error from the file I get
more sapinst_dev.log |grep error
Error number 8 error type SPECIFIC_CODE
Error number 211 error type SPECIFIC_CODE
pci_error_tolerance_time 1440 Default Immed
Registering Profile directory /usr/sap/MBA/SYS/profile for beeing one of the sources of additional files to be collected in case of errors
hth72231:mbaadm 25> more sapinst_dev.log | grep error |more
Error number 8 error type SPECIFIC_CODE
Error number 211 error type SPECIFIC_CODE
pci_error_tolerance_time 1440 Default Immed
Registering Profile directory /usr/sap/MBA/SYS/profile for beeing one of the sources of additional files to be collected in case of errors
Standard input: END
other
TRACE[E] 2014-06-25 10:08:17.327 [syuxcuser.cpp:2762]
CSyUserImpl_setOsInfos(iastring sName, iastring sID, tSyUserInfo& msUserNewinfo)
lib=syslib module=syslib
FSL-05014 Command '/usr/sbin/usermod' with parameters '-G "adm,bin,daemon,lp,mail,other,root,sys,users,sapinst" root' failed with return code 8: Login root
is currently in use
But that is not the issue
Similar Messages
-
When trying to install an extra dialog instance to our BW environment in the second step when giving the profile parameter after reading the profiles it comes with the message:
An exception occurred while connecting to the message server instance MBA/DVEBMGS00 on host pdirmba1, port 3900. DIAGNOSIS: The original exception was: wapsmod.ms.MsAttachFailed: Connect to message server (pdirmba1/3900) failed: MSENILAYER.. SOLUTION: Make sure that the message server is started.
Message server is started as CI and second DI are already running.
HP-UX, Oralce11.
Did set the temp directory and SAPINST_USE_HOSTNAME parameter into the environment of root.
already tried niping from di to ci on the port and thats working okOnly that
When I grep on Error from the file I get
more sapinst_dev.log |grep error
Error number 8 error type SPECIFIC_CODE
Error number 211 error type SPECIFIC_CODE
pci_error_tolerance_time 1440 Default Immed
Registering Profile directory /usr/sap/MBA/SYS/profile for beeing one of the sources of additional files to be collected in case of errors
hth72231:mbaadm 25> more sapinst_dev.log | grep error |more
Error number 8 error type SPECIFIC_CODE
Error number 211 error type SPECIFIC_CODE
pci_error_tolerance_time 1440 Default Immed
Registering Profile directory /usr/sap/MBA/SYS/profile for beeing one of the sources of additional files to be collected in case of errors
Standard input: END
other
TRACE[E] 2014-06-25 10:08:17.327 [syuxcuser.cpp:2762]
CSyUserImpl_setOsInfos(iastring sName, iastring sID, tSyUserInfo& msUserNewinfo)
lib=syslib module=syslib
FSL-05014 Command '/usr/sbin/usermod' with parameters '-G "adm,bin,daemon,lp,mail,other,root,sys,users,sapinst" root' failed with return code 8: Login root
is currently in use
But that is not the issue -
(102) RFC_ERROR_COMMUNICATION: Connect to message server host failed
Hello,
I'm almost giving up on this...I've been messing with this for too long now...
I get this error message:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM
TYPE=B MSHOST=exts0002 GROUP=PUBLIC R3NAME=ANB MSSERV=sapmsANB PCS=1 ERROR hostname 'exts0002' unknown TIME
Tue Feb 14 16:40:02 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -2 MODULE ninti.c
LINE 332 DETAIL NiPGetHostByName2: hostname 'exts0002' not found SYSTEM CALL gethostbyname_r COUNTER 1
I try to get the flightlist demo to work. I've put in "sapmsANB 3600/tcp" in services file locally in my machine (I'm using Sneak Preview SP11).
I've also done everything in "/people/sugree.phatanapherom/blog/2005/08/14/configuring-sld-in-sneak-preview-sap-netweaver-04-sneak
I've done everything possible to get this to work, but no luck.
What is wrong here?, please helpNow I've put in "193.183.156.17 PetJoh PetJoh.afab.local" in Hosts -> rebooted -> but still can't ping exts0002 (or the fully resolved name to it) I can't ping the actual IP nr either.
I can, however use JCO java code like:
import com.sap.mw.jco.*;
public class R3Connect extends Object {
JCO.Client mConnection;
public R3Connect() {
try {
// Change the logon information to your own system/user
mConnection =
JCO.createClient(
"100", // SAP client
"rfcuser", // userid
"jakob", // password
// null, // language
"en", // language
"anb.af.hosting.emtab.com", // application server host name
"00"); // system number
mConnection.connect();
System.out.println(mConnection.getAttributes());
mConnection.disconnect();
} catch (Exception ex) {
ex.printStackTrace();
System.exit(1);
public static void main (String args[]) {
R3Connect app = new R3Connect();
This works perfectly fine to connect, Why doesn't SLD? -
RFC_ERROR_COMMUNICATION: Connect to message server host failed
We are trying to create JCO destination
and we are getting the below problem
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=sappw2ci GROUP=PUBLIC R3NAME=PW2 MSSERV=sapmsPW2 PCS=1 ERROR service 'sapmsPW2' unknown TIME Thu Jan 10 23:34:05 2008 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE nixxhsl.cpp LINE 776 DETAIL NiHsLGetServNo: service name cached as unknown COUNTER 1
we added sapmsPW2 in the services file still we are facing the problem
i saw all the related posts in the forum but nothing worked
please help me in resolving this issue and points will be awarded for sure
BalaHi,
This JCO Exception caused by network problems, connection breakdowns, gateway problems, unavailability of the remote SAP system, etc.
What you can do is: Get the host of the SAP System from dev_jrfc.trc or the JRFC trace; ping the SAP system from command line; check routers, gateways, SAP systems
If an error has occurred on a lower communication layer, for example an RFC_ERROR_COMMUNICATION or RFC_ERROR_SYSTEM_FAILURE exception, have a look at the dev_jrfc.trc files. These files are written by JRFC and can be found in the directories j2ee/cluster/server* of the J2EE Application Server Installation.
Please check this blog and link:
The specified item was not found.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2fhelp%2fsdn_help_nw04s%2fsaphelp_nw04s%2fhelpdata%2fen%2f3a%2f3b1b40fcdd8f5ce10000000a155106%2fcontent.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2fhelp%2fsdn_help_nw04s%2fsaphelp_nw04s%2fhelpdata%2fen%2f94%2f3c1b40fcdd8f5ce10000000a155106%2fcontent.htm
Hope it helps....
Regards,
Mona -
NW2004s Connect to Message Server Host Failed - BW to Portals connection
Hi,
I am trying to connect a SAP BW NW2004s Patch 8 system to a NW2004s Portal. All of the checks in RSPOR_SETUP are successful.
However when I try to launch a query from Bex Query it fails with the following message.
"Connect to message server host failedConnect_PM TYPE=B MSHOST=SAPMSCR6 GROUP=webshop1_biw R3NAME=CR6 MSSERV=01 PCS=1"
The message server entry in the System Landscape object for the BW Server is "SAPMSCR6". Is this right?
I have searched for information about this and can't find anything. I am sure it is something basic. As anyone else resolved this issue or do they have an idea what might be causing the problem?
Any suggestions gratefully received.
DaveGuys look at the below SAP note. it will help
SAP Note Number: 764881 Inf. Broad.Connect to message server host failed - sapms -
Connect to message server host failed Connect_PM TYPE=B MSHOST=hmsnsw00
When i deploy "TutWD_FlightBooking" Sample WebDynpro application I get following error.
I have following setup.
NetWeaver developer Studio (NWDS) Version: 2.0.9
J2EE server running on the same machine where i have NWDS Version: SAP J2EE Engine/7.00 PatchLevel 105053.42
SLD Version: 7.0009.20060621180635.0000
Build: 20060622 2041, Depot: //sdt/com.sap.lcr/645_SP_REL, Changelist: 345651
ABAP R/3 system is on remote system (accessing clients R/3 system) on the network.
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=hmsnsw00 GROUP=PUBLIC R3NAME=DEV MSSERV=sapmsDEV PCS=1 ERROR timeout while pending for route completion TIME Tue Mar 13 12:04:14 2007 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -12 DETAIL NiErrSet COUNTER 1
at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:457)
at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:989)
at com.sap.mw.jco.JCO$Client.connect(JCO.java:3193)
at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:90)
at com.sap.dictionary.runtime.mdi.DataProvider.<init>(DataProvider.java:122)
... 62 more
I get same error message when i test the JCo Metadata connection, Model data connection works fine.
The message server value under WebDynpro content admin is created with right values as i checked with Basis person.
My service file in C:/windows/system32/drivers/etc has entries for both J2EE stack entry and ABAP stack (on remote server) entry with port numbers.
When i ping the ABAP (remote server) from my machine command prompt I get response.
I am running out of options. I really appreciate your inputs.
RameshHi, I think this might have todo with the fact that your Java stack wants to connect with a server from the same logon group called "PUBLIC".
Please make sure you added the same logon group "PUBLIC" to the ABAP Server. Try transaction SMLG.
Also as posted above the SLD needs this info aswell.
After using the transaction SMLG, log in and out 5 times in a row to your ABAP stack using SAP GUI. This might actually force an update to the SLD.
Greetings,
Robbert
Message was edited by:
Robbert van Waveren -
Connect to message server host failed;WSAECONNREFUSED: Connection refused
Hi All,
I am getting the following error when I tried to test the system connectivity from the portal to NSP instance.
Connection failed. Make sure that Single Sign-On is configured correctly
I found the following entry in the logs
Error> occured >Wed Feb 03 22:43:49,875<
RfcException:
message: Connect to message server host failed
Connect_PM TYPE=B MSHOST=abchome.abcsap.local GROUP=SPACE R3NAME=NSP MSSERV=sapmsNSP PCS=1
ERROR partner '192.xxx.xxx.123:sapmsNSP' not reached
TIME Wed Feb 03 22:43:49 2010
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
Return code: RFC_FAILURE(1)
error group: 102
key: RFC_ERROR_COMMUNICATION
Both NSP and J2E instances are on the same server. OS - win2k3.
I checked the services file and have the sapmsNSP entry.
I am able to launch an SAP transaction from System Administration -> Support
RZ70 from NSP also fails JCo error. SLD_UC RFC itself works fine and the JCo RFC provider SLD_UC program is running
WEB AS & ITS connections work fine.
User authentication is from backend, NSP.
I think I have gone thru all the logs but could not resolve the issue.
I appreciate any help on this,
VictorI tried to go thru the thread. I did not find any clue as why only server connectivity is failing. ABAP trial version is running fine and the NW trial version is working fine too. These run without crashing. I did a lot of customizing on the portal but dont see any issues except the System Connectivity. Like I mentioned I did UME configuration to point to NSP ABAP instance and I can log into the portal with user credentials that I use to login to ABAP. I can launch webgui etc without any issues.
-
NCO3 - Connection with Message Server via SapRouter fails
Hello @all,
i have successfully used nco3 as client (.net framework 3.5 / VS 2008) with an application server connection via saprouter.
But i tried several ways to connect to a message server via saprouter without luck.
The parameters i used to connect:
parameters(RfcConfigParameters.Name) = "Test"
parameters(RfcConfigParameters.MaxPoolSize) = Convert.ToString(5)
parameters(RfcConfigParameters.IdleTimeout) = Convert.ToString(10)
parameters(RfcConfigParameters.User) = ...
parameters(RfcConfigParameters.Password) = ...
parameters(RfcConfigParameters.Client) = "100"
parameters(RfcConfigParameters.Language) = "DE"
parameters(RfcConfigParameters.MessageServerHost) = ...
parameters(RfcConfigParameters.SystemID) = ...
parameters(RfcConfigParameters.LogonGroup) = "USER"
parameters(RfcConfigParameters.SAPRouter) = ...
I always get an SAP.Middleware.Connector.RfcCommunicationException with following exception details:
InnerException Nothing
Message ""
Source "sapnco_utils"
StackTrace bei SAP.Middleware.Connector.CpicConnection.getASfromMS(Dictionary`2 options)
bei SAP.Middleware.Connector.CpicConnection.parseConnParameters(Dictionary`2 options)
bei SAP.Middleware.Connector.CpicConnection.ConnectAsClient(Dictionary`2 options)
bei SAP.Middleware.Connector.RfcConnection.ConnectAsClient(RfcConfigParameters options)
bei SAP.Middleware.Connector.RfcConnectionPool..ctor(RfcDestination d, Boolean forRepositoryCalls, String uniqueKey)
bei SAP.Middleware.Connector.RfcConnectionManager.GetClient(RfcDestination destination, Boolean forRepository)
bei SAP.Middleware.Connector.RfcDestination.GetClient(Boolean forRepository)
bei SAP.Middleware.Connector.RfcDestination.Ping()
Because of empty error message I don't know what to do. It seems that nco3 can't get the application server from the message server, but why? The connection via the old nco2 (VS 2003) works and also if i try to connect with the saplogon ocx from sapgui (some short code in vb6) the connection is established.
Anyone can help me???
Thanks a lot.parms.Add(RfcConfigParameters.MessageServerHost, "192.168.0.1");
parms.Add(RfcConfigParameters.SystemID, "MGF");
parms.Add(RfcConfigParameters.GatewayHost, "192.168.0.1");
parms.Add(RfcConfigParameters.SAPRouter, "/H/145.145.150.240/H/");
parms.Add(RfcConfigParameters.User, "mysapuser");
parms.Add(RfcConfigParameters.Password, "********");
parms.Add(RfcConfigParameters.Client, "200");
parms.Add(RfcConfigParameters.Language, "en");
parms.Add(RfcConfigParameters.PoolSize, "5");
parms.Add(RfcConfigParameters.MaxPoolSize, "10");
parms.Add(RfcConfigParameters.IdleTimeout, "6000");
I guess you are missing RfcConfigParameters.GatewayHost parameter. Try code snippet given above.
Regards,
Ahmed Brohi -
NIECONN_REFUSED - Connect to message server failes while installing AS
Hi all,
during installation of an additional application server ABAP+JAVA,
I obtain this message error:
Connection to message server (<Central istance>) failed: NIECONN_REFUSED.
can anyone help me?
The Message Server into central istance has not error and is online.
best regards,
DavideHi,
Check you have the connection to network and also firewall settings. May be you can stop antivirus (if there is any) and give a try.
If it is loopback adapter then you may need to check the configuration.
Manoj -
Sapwebdispatcher: ERROR: Connection to message server failed
Hi Team,
We have been facing an issue on the webdispatcher. Web-disaptcher is notable to communicate with the Message Server[PRD-XI].
=====================
Environment: Set-up =
=====================
1. The Webdispatcher is in DMZ. We have opened the port 8100 at the firewall.
==========================================================================
ERROR MESSAGE
==========================================================================
[Thr 2058] Fri Jan 11 18:53:27 2008
[Thr 2058] *** ERROR => NiBufIConnect: non-buffered connect pending after
5000ms (hdl 4;10.1.10.56:8100) [nibuf.cpp 4611]
[Thr 2058] *** ERROR => Connection request from (-1/65535/0) to host:
10.1.10.56, service: 8100 failed (NIECONN_REFUSED)
[icxxconn_mt.c 2738]
[Thr 2058] *** ERROR => IcmConnClientRqCreate() failed (rc=-8)
[icrxx_mt.c 5100]
[Thr 2058] *** ERROR => Could not connect to SAP Message Server at
10.1.10.56. URL=/msgserver/text/logon?version=1.2 [icrxx_mt.c 2459]
[Thr 2058] *** ERROR => rc=-1, HTTP response code: 0 [icrxx_mt.c 2460][Thr 2058] *** ERROR => see also OSS note 552286 [icrxx_mt.c 2461]
==========================================================================
SAPWEBDISPATCHER VERSION DETAILS:
==========================================================================
wd011:wpiadm 73> sapwebdisp -v
SAP Web Dispatcher Version 7.00.10, multithreaded, ASCII, 64 BIT
kernel information
system name =
kernel release = 700
database library =
compiled on = AIX 2 5 005DD9CD4C00
compile time = May 19 2007 01:59:47
update level = 0
patch number = 110
source id = 0.111
supported environment
operating system
AIX 1 5
AIX 2 5
AIX 3 5
=============================================================================
TEST OUTPUT
==========================================================================
wd011:wpiadm 71> sapwebdisp -bootstrap
SAP Web Dispatcher Bootstrap
============================
This bootstrap will perform the following steps:
1. create profile file "sapwebdisp.pfl"for SAP Web Dispatcher (if not
already existing)
2. create user for web based administration in file "icmauth.txt"(if notalready exisiting)
3. start SAP Web Dispatcher with the created profile
After the bootstrap you can use the web based administration
Generating Profile "sapwebdisp.pfl"
Hostname of Message Server (rdisp/mshost): 10.1.10.56
HTTP Port of Message Server (ms/http_port): 8100
Checking connection to message server...
ERROR: Connection to message server failed: NIECONN_REFUSED
Do you want to continue with these settings? no
==========================================================================
BACK-END APPLICATION MESSAGE SERVER DETAILS: SID: PPI [PI/XI]
==========================================================================
icm/server_port_0 PROT=HTTP,PORT=80$$
ms/server_port_0 PROT=HTTP,PORT=81$$
trc file: "dev_ms", trc level: 1, release: "700"
[Thr 1] Thu Jan 3 15:31:05 2008
[Thr 1] WLM Tag 'PPI/MSG' successfully set for this process
[Thr 1] MsSSetTrcLog: trc logging active, max size = 20971520 bytes
systemid 324 (IBM RS/6000 with AIX)
relno 7000
patchlevel 0
patchno 110
intno 20050900
make: multithreaded, Unicode, 64 bit, optimized
pid 2519162
[Thr 1] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 2519162)
[msxxserv_mt. 1824]
[Thr 1] SigISetDefaultAction : default handling for signal 20
[Thr 1] load acl file = /usr/sap/PPI/SYS/global/ms_acl_info
[Thr 1] MsGetOwnIpAddr: my host addresses are :
[Thr 1] 1 : [10.1.10.56] pi100 (HOSTNAME)
[Thr 1] 2 : [127.0.0.1] loopback (LOCALHOST)
[Thr 1] 3 : [10.1.99.4] pi100v (NILIST)
[Thr 1] MsHttpInit: full qualified hostname = pi100
[Thr 1] HTTP logging is switch off
[Thr 1] set HTTP state to LISTEN
[Thr 1] ms/icf_info_server : deleted
[Thr 1] *** I listen to port sapmsPPI (3600) ***
[Thr 1] *** I listen to internal port 3900 (3900) ***
[Thr 1] *** HTTP port 8100 state LISTEN ***
[Thr 1] CUSTOMER KEY: >R1306811094<
[Thr 1] Thu Jan 3 15:31:28 2008
[Thr 1] MsHttpReadUrl2: H-1 url = /sap/public/icf_info/urlprefix (403
Forbidden)
[Thr 1] MsHttpReadUrl2: H-1 url = /sap/public/icf_info/logon_groups (403
Forbidden)
======================+++++++++++++++++++++++++++==============================
Please find the attached file for a better understanding of the trace file.
A quick action on this would be much appreciated.
Please let me know for any information required.
Thank you.
Regards,
~sagarVipin,
I don't have access to our firewall myself to confirm what ports and services we opened (I worked with our Network Operations team to get this done), but if I recall correctly, it was pretty limited, just http and https over tcp ports 80, 443, 8100, and 8101. Probably could even restrict that to just https over 443 and 8101. However, from your configuration, you don't yet have your web dispatcher configured to talk to your message server over https, only http. I would recommend that you get the web dispatched completely configured and working in as close to your final desired configuration as possible while keeping it inside your firewall, not your dmz. Then move it to the dmz and see what breaks, and that way you know it's just the firewall that needs configuration at that point.
To configure the SSL termination, the following are the parameters required and the way that I configured them in our scenario (which terminates incoming SSL requests and re-encrypts them when sending them on to the backend, and also uses SSL for message server communication):
rdisp/mshost = mshost.domain.org
ms/https_port = 8101
wdisp/server_info_protocol = https
wdisp/group_info_protocol = https
wdisp/url_map_protocol = https
icm/server_port_1 = PROT=HTTPS,PORT=443,TIMEOUT=30,PROCTIMEOUT=600
icm/server_port_2 = PROT=HTTPS,PORT=8101,TIMEOUT=30,PROCTIMEOUT=600
icm/host_name_full = wdhost.domain.org (note, use the externally visible name as registered on your SSL certificate for web dispatcher here; does not need to match the actual machine hostname, but must be resolvable in external DNS)
icm/HTTP/admin_0 = PREFIX=/sap/admin,DOCROOT=\usr\sap\RW1\W00\data\icmanroot/admin,AUTHFILE=\usr\sap\RW1\SYS\global\security\data\icmauth.txt,PORT=8101
ssl/ssl_lib = $(DIR_EXECUTABLE)\sapcrypto.dll
ssl/server_pse = $(DIR_INSTANCE)\sec\SAPSSLS.pse
ssl/client_pse = $(DIR_INSTANCE)\sec\SAPSSLC.pse
wdisp/ssl_encrypt = 2
wdisp/ssl_auth = 1
is/HTTP/show_detailed_errors = FALSE
wdisp/permission_table = $(DIR_INSTANCE)\sec\ptab
On the backend host I have the following parameters:
sec/libsapsecu = \usr\sap\RP1\DVEBMGS00\exe\sapcrypto.dll
ssl/ssfapi_lib = \usr\sap\RP1\DVEBMGS00\exe\sapcrypto.dll
ssl/ssl_lib = \usr\sap\RP1\DVEBMGS00\exe\sapcrypto.dll
ssf/name = SAPSECULIB
icm/server_port_2 = PROT=HTTPS,PORT=443,PROCTIMEOUT=-1
ms/server_port_1 = PROT=HTTPS,PORT=8101
Naturally, a server certificate is configured on the backend that the web dispatcher trusts (it can be an internally generated certificate; the outside public just needs to trust the web dispatcher's certificate, so that one should come from a recognized CA). Port 8101 is NOT open from the outside, just from the dmz and only to/from the web dispatcher host (this does allow me to use the webadmin interface from the inside). The https service also has to be activated on the backend in SMICM.
There's good advice about security setup for the web dispatcher in Note 870127, and troubleshooting advice in the Note mentioned in your tracefile output, 552286. Fairly complete documentation is in the online help at http://help.sap.com/saphelp_nw70/helpdata/en/de/89023c59698908e10000000a11402f/frameset.htm. Note 538405 is also good, more for performance configuration than security.
I hope you find this helpful.
--Matt -
RFC_ERROR_COMMUNICATION: Connect to message server failed
Hi,
I think this is the most common error that one can face and have seen quite a few threads in the forum. Still, i couldn't resolve my problem.
I am getting the following error when i tried to connect to SAP using SAP JCO connector with load balancing.
(102) RFC_ERROR_COMMUNICATION: Connect to message server failed
Connect_PM MSHOST=sapserver, R3NAME=D11, GROUP=Group1
LOCATION CPIC (TCP/IP) on local host
ERROR partner not reached (host sapserver, service sapmsD11)
TIME Wed Jun 24 16:05:49 2009
I added the service sapmsD11 in the services file of my client as well as in R/3 server.
I got the above error when i tried to connect using load balancing. Without load balancing, i was able to connect to R/3 server successfully. Can any one tell how to figure out the message server host name ?
Can the application server host name and message server host name be same ?
PS: I am able to ping my R/3 server from my client.
Thanks,
Prasad.Hi,
Check that you have configured properly using the below document. And check the message server of R/3 is configured properly in the SLD.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f56b5
Function module to get the message server host name and port in R/3.
SLDAG_GET_MESSAGE_SERVER_INFO
See this thread also..
Re: Jco Destination
Regards,
Charan -
Error in wizard to create new RFC model: connect to message server failed
Hi,
I am trying to create a new RFC model in my Web Dynpro project in NWDS. In the wizard, I reach the step where I am required to enter the SAP login information. I then enter the details in the Load Balancing tab and click Next. The error message I get is:
Connect to message server failed
Connect_PM MSHOST=****, R3NAME=*, GROUP=**
LOCATION CPIC (TCP/IP) on local host ***
ERROR service '***" unknown
(Note: the *** are client-specific and therefore confidential info so I am removing them).
The thing is, a colleague of mine is also doing the same thing, but he is not encountering this error.
Can someone help me troubleshoot this?Hi
The user you use to connect in the RFC should have the authorization to S_RFC. In the Duet installation guide look for the section about defining a system user ID in UME. This section has details about the authorization required for the user.
Thanks -
Connect to message server failed
If there is a huge traffic to the webapplication server, we are getting the follwoing error
Connect to message server failed_ Connect_PM MSHOST=..., R3NAME=..., GROUP=CRM_ _ LOCATION CPIC (TCP/IP) on local host_ ERROR internal error_ (this retcode should be handled by caller of NI-layer)_ _ TIME Thu Jan 11 19:40:21 2007_ RELEASE 640_ COMPONENT NI (network interface)_ VERSION 37_ RC -8_ MODULE nixxi_r.cpp_ LINE 3977_ DETAIL NiCreateHandle: no free handle_ COUNTER 212_ ]]>
<source>SAP.Connector</source>
<stacktrace> at SAP.Connector.Connection.Open()_ _ at SAP.Connector.Connection.BeforeCall(SAPClient sapclient)_ _ at SAP.Connector.SAPClient.BeforeCall()_ _ at SAP.Connector.SAPClient.SAPInvoke(String method, Object[] methodParamsIn)_ _ at RFC call
We have enabled connecion pooling.
Any help would be appreciated.
Thanks,
SandyHi,
pls check the IP address and better do not login in the LOOPBACKADAPTER
make one more new lan connection and give the folowing IP adress
192.168.100.10 or some 100.200
this will help you
Regards,
srikanth -
Dispatcher running but unable to connect to message server
Hi all,
I have installed ECC 6.0 EHP 4 on MAXDB 7.7.
After doing post steps and installing license I did local client copy, client copy stuck in between and I noticed that session hanged so I opened a new session and found that I was not able to run and t-code and and unable to login to the server although login screen appears( Login process continues but no result).
I realized the data or log directory may be filled up, so I checked and that was not the issue.
So I restarted the Server.
Now I am unable to see the login screen too and in SAP MMC dispatcher is yellow "Running but not connected to message server".
R3trans result is below
R3trans -d
2EETW169 no connect possible: "DBMS = ADABAS D --- DBNAME = ''"
r3trans finished (0012)
I am new to MAXDB database.
I installed database manager and checked the data folder status and find there is enough free space but log directory is 100% so i created new volume for log directory (not sure if any thing else is required to activate it, asl its still showing log directory 100% usage).
dev_ms log is as below
trc file: "dev_ms", trc level: 1, release: "701"
[Thr 2632] Wed Sep 29 16:26:35 2010
[Thr 2632] MsSSetTrcLog: trc logging active, max size = 20971520 bytes
systemid 562 (PC with Windows NT)
relno 7010
patchlevel 0
patchno 11
intno 20020600
make: multithreaded, Unicode, 64 bit, optimized
pid 2788
[Thr 2632] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 2788) [msxxserv.c 1853]
[Thr 2632] load acl file = D:\usr\sap\DEV\SYS\global\ms_acl_info.DAT
[Thr 2632] MsGetOwnIpAddr: my host addresses are :
[Thr 2632] 1 : [192.168.1.4] raddev (HOSTNAME)
[Thr 2632] 2 : [127.0.0.1] raddev (LOCALHOST)
[Thr 2632] MsHttpInit: full qualified hostname = raddev
[Thr 2632] HTTP logging is switch off
[Thr 2632] set HTTP state to LISTEN
[Thr 2632] ms/icf_info_server : deleted
[Thr 2632] *** I listen to port sapmsDEV (3600) ***
[Thr 2632] *** I listen to internal port 3900 (3900) ***
[Thr 2632] *** HTTP port 8100 state LISTEN ***
[Thr 2632] CUSTOMER KEY: >W0104018144<
[Thr 2632] build version=701.2008.03.06
[Thr 2632] Wed Sep 29 16:37:07 2010
[Thr 2632] *** ERROR => MsSCheckConnections: no response from client C1 (raddev_DEV_00) after 300 secs received [msxxserv.c 3205]
[Thr 2632] *** ERROR => MsSCheckConnections: disconnect now [192.168.1.4] [msxxserv.c 3209]
please reply...
Regards
VinayHi Sunil,
Here is the trans.log
4 ETW000 r3trans version 6.14 (release 701 - 26.01.09 - 12:46:00).
4 ETW000 unicode enabled version
4 ETW000 ===============================================
4 ETW000
4 ETW000 date&time : 06.10.2010 - 14:11:50
4 ETW000 control file: <no ctrlfile>
4 ETW000 R3trans was called as follows: r3trans -d
4 ETW000 trace at level 2 opened for a given file pointer
4 ETW000 [dev trc ,00000] Wed Oct 06 14:11:50 2010 5087 0.005087
4 ETW000 [dev trc ,00000] db_con_init called 40 0.005127
4 ETW000 [dev trc ,00000] create_con (con_name=R/3) 6818 0.011945
4 ETW000 [dev trc ,00000] Loading DB library 'dbsdbslib.dll' ... 45 0.011990
4 ETW000 [dev trc ,00000] load shared library (dbsdbslib.dll), hdl 0, addr 0000000186C80000
4 ETW000 59114 0.071104
4 ETW000 [dev trc ,00000] using "D:\usr\sap\DEV\SYS\exe\uc\NTAMD64\dbsdbslib.dll"
4 ETW000 21 0.071125
4 ETW000 [dev trc ,00000] Library 'dbsdbslib.dll' loaded 17 0.071142
4 ETW000 [dev trc ,00000] function DbSlExpFuns loaded from library dbsdbslib.dll
4 ETW000 9745 0.080887
4 ETW000 [dev trc ,00000] Wed Oct 06 14:11:51 2010 3372 0.084259
4 ETW000 [dev trc ,00000] Version of 'dbsdbslib.dll' is "700.08", patchlevel (0.24)
4 ETW000 20 0.084279
4 ETW000 [dev trc ,00000] function dsql_db_init loaded from library dbsdbslib.dll
4 ETW000 22 0.084301
4 ETW000 [dev trc ,00000] function dbdd_exp_funs loaded from library dbsdbslib.dll
4 ETW000 229 0.084530
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 455 0.084985
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=-1,command=39,arg_p=0000000000000000)
4 ETW000 27 0.085012
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 189 0.085201
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=-1,command=10,arg_p=000000000202F950)
4 ETW000 26 0.085227
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 14 0.085241
4 ETW000 [dev trc ,00000] New connection 0 created 15 0.085256
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 36 0.085292
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=-1,command=10,arg_p=0000000141461DE8)
4 ETW000 34 0.085326
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 14 0.085340
4 ETW000 [dev trc ,00000] db_con_connect (con_name=R/3) 16 0.085356
4 ETW000 [dev trc ,00000] find_con_by_name found the following connection for reuse:
4 ETW000 20 0.085376
4 ETW000 [dev trc ,00000] 0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO
4 ETW000 40 0.085416
4 ETW000 [dev trc ,00000] { DbSlSdbConnect(con_info_p=0000000000000000) 26 0.085442
4 ETW000 [dev trc ,00000] DBSDBSLIB : version 700.08, patch 0.024 (Make PL 0.32)
4 ETW000 490 0.085932
4 ETW000 [dev trc ,00000] MAXDB shared library (dbsdbslib) patchlevels (last 10)
4 ETW000 23 0.085955
4 ETW000 [dev trc ,00000] (0.024) Default value for max. input variables is 2000 (note 655018)
4 ETW000 25 0.085980
4 ETW000 [dev trc ,00000] (0.024) Profile parameter to define max. input variables (note 655018)
4 ETW000 23 0.086003
4 ETW000 [dev trc ,00000] (0.024) Switch SQLMODE after CREATE INDEX SERIAL (note 1267841)
4 ETW000 23 0.086026
4 ETW000 [dev trc ,00000] (0.024) Input parameters for SQL statements increased (note 655018)
4 ETW000 23 0.086049
4 ETW000 [dev trc ,00000] (0.018) Create index serial for MaxDB 7.6 (note 1267841)
4 ETW000 21 0.086070
4 ETW000 [dev trc ,00000] (0.018) More trace in case of packed to string conversion error (note 1262799)
4 ETW000 24 0.086094
4 ETW000 [dev trc ,00000] (0.016) R3trans export aborts with signal 6 (note 1262245)
4 ETW000 22 0.086116
4 ETW000 [dev trc ,00000] (0.009) IA64 alignment errors (note 1245982) 15 0.086131
4 ETW000 [dev trc ,00000] (0.007) Support DB-Type 'SAP DB' by UPDSTAT (note 1225668)
4 ETW000 23 0.086154
4 ETW000 [dev trc ,00000] 12 0.086166
4 ETW000 [dev trc ,00000] -> init() 180 0.086346
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=14) : 0000000002678000 (30 bytes allocated)
4 ETW000 45 0.086391
4 ETW000 [dev trc ,00000] STATEMENT_CACHE_SIZE = 1000 466 0.086857
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=152000) : 0000000003E1CFD0 (152046 bytes allocated)
4 ETW000 198 0.087055
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=656000) : 0000000003E421B0 (808062 bytes allocated)
4 ETW000 30 0.087085
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=288000) : 0000000004E00080 (1096078 bytes allocated)
4 ETW000 37 0.087122
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=16144) : 0000000003EE2450 (1112238 bytes allocated)
4 ETW000 30 0.087152
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=32048) : 0000000003EE6380 (1144302 bytes allocated)
4 ETW000 29 0.087181
4 ETW000 [dev trc ,00000] -> loadClientRuntime() 515 0.087696
4 ETW000 [dev trc ,00000] Loading SQLDBC client runtime ... 18 0.087714
4 ETW000 [dev trc ,00000] SQLDBC SDK Version : SQLDBC.H 7.6.0 BUILD 007-123-091-175
4 ETW000 6587 0.094301
4 ETW000 [dev trc ,00000] SQLDBC Library Version : libSQLDBC 7.6.5 BUILD 015-123-202-938
4 ETW000 55 0.094356
4 ETW000 [dev trc ,00000] SQLDBC client runtime is MaxDB 7.6.5.015 CL 202938
4 ETW000 302 0.094658
4 ETW000 [dev trc ,00000] SQLDBC supports new DECIMAL interface : 0 253 0.094911
4 ETW000 [dev trc ,00000] SQLDBC supports VARIABLE INPUT data : 1 17 0.094928
4 ETW000 [dev trc ,00000] SQLDBC supports keepAlive indicator : 0 16 0.094944
4 ETW000 [dev trc ,00000] -> getNewConnection() 14 0.094958
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=1672) : 0000000004E46750 (1145990 bytes allocated)
4 ETW000 36 0.094994
4 ETW000 [dev trc ,00000] -> sdb_malloc(size=608) : 0000000004E4ADF0 (1146614 bytes allocated)
4 ETW000 53 0.095047
4 ETW000 [dev trc ,00000] <- getNewConnection(con_hdl=0) 44 0.095091
4 ETW000 [dev trc ,00000] -> checkEnvironment(con_hdl=0) 22 0.095113
4 ETW000 [dev trc ,00000] -> connect() 200 0.095313
4 ETW000 [dev trc ,00000] INFO : SQLOPT= -I 0 -t 0 -S SAPR3 62 0.095375
4 ETW000 [dev trc ,00000] Try to connect (DEFAULT) on connection 0 ... 63 0.095438
4 ETW000 [dbsdbsql ,00000] *** ERROR => Connect to database failed, rc = -10709 (Connection failed (RTE:[1] could not create comm. shared memory [5]))
4 ETW000 106621 0.202059
4 ETW000 [dev trc ,00000] -> SetSapdbCA(errcode=-10709) 20 0.202079
4 ETW000 [dev trc ,00000] -> freeConnection(con_hdl=0) 20 0.202099
4 ETW000 [dev trc ,00000] -> sdb_free(p=0000000004E4ADF0, size=608 (1145990 bytes allocated))
4 ETW000 48 0.202147
4 ETW000 [dev trc ,00000] -> sdb_free(p=0000000004E46750, size=1672 (1144302 bytes allocated))
4 ETW000 44 0.202191
4 ETW000 [dev trc ,00000] } DbSlSdbConnect(rc=99) 17 0.202208
4 ETW000 [dblink ,00431] ***LOG BY2=>sql error -10709 performing CON [dblink#3 @ 431]
4 ETW000 8805 0.211013
4 ETW000 [dblink ,00431] ***LOG BY0=>Connection failed (RTE:[1] could not create comm. shared memory [5]) [dblink#3 @ 431]
4 ETW000 29 0.211042
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=41,arg_p=0000000140519908)
4 ETW000 315 0.211357
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 19 0.211376
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=14,arg_p=0000000002025EF0)
4 ETW000 24 0.211400
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 14 0.211414
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=50,arg_p=0000000002025FB0)
4 ETW000 24 0.211438
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 24 0.211462
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=13,arg_p=0000000002025F00)
4 ETW000 24 0.211486
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 19 0.211505
4 ETW000 [dev trc ,00000] { DbSlSdbControl(con_hdl=0,command=52,arg_p=0000000002025F50)
4 ETW000 24 0.211529
4 ETW000 [dev trc ,00000] } DbSlSdbControl(rc=0) 13 0.211542
2EETW169 no connect possible: "DBMS = ADABAS D --- DBNAME = ''"
4 ETW000 [dev trc ,00000] -> sdb_free(p=0000000002678000, size=14 (1144272 bytes allocated))
4 ETW000 10444 0.221986
Regards
Vinay -
J2EE Server is not starting (not able to connect to Message Server)
Hello Gurus!
1. I installed preview pack and system J2E is running smoothly on my desktop with XP SP2. I ran 'Welcome' sample dynpro no problem
2. I installed ABAP package with NSP on the same box, I could log on to the system using sample user , still no problem.
3. But now the J2EE server (J2E) is stopped, I tried to start from sapMMC, but it is failing with the following as per the trace -
Thr 5988] Wed Jul 12 10:53:49 2006
[Thr 5988] ***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 2764]
[Thr 5988] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 0 / sock 1812
(SI_ECONN_REFUSE; I4; ST; 192.168.2.87:3900) [nixxi.cpp 2764]
[Thr 5988] *** ERROR => MsIAttachEx: NiBufConnect to GVpc/3900 failed (rc=NIECONN_REFUSED) [msxxi.c 652]
[Thr 5988] *** ERROR => Can't attach to message server (GVpc/3900) [rc = -100]-> terminate [jcntrms.c 374]
[Thr 5988] JControlCloseProgram: started (exitcode = -100)
[Thr 5988] *** ERROR => MsIModState: not_attached [msxxi.c 3830]
[Thr 5988] *** ERROR => Can't modify message server state (state = 7, rc = -3) [jcntrms.c 738]
[Thr 5988] JControlCloseProgram: good bye... (exitcode = -100)
Any help or pointers will be great
regards,
SriHi Everyone:
I have met the same problem.
Who can give me a solution ,thx!
Best Regards!
Maybe you are looking for
-
Powershell script for average message size and message sent
Regarding this script from a Technet blog: #mjolinor #02/24/2011 #requires -version 2.0 $today = get-date $rundate = $($today.adddays(-1)).toshortdatestring() $outfile_date = ([datetime]$rundate).tostring("yyyy_MM_dd") $outfile = "email_stats_" + $ou
-
Where do I find Applescript studio download at
I cant seem to find a download sight for Applescript Studio does any body know of a sight where I can download it?
-
Watch DVD Movie From External Dvd Player
Hello! I hope someone can help me. I've been wondering if i can connect an external dvd player (not dvd drive) in my powerbook to watch movies. There are some disc that my PB superdrive couldn't read but when using my external dvd player it works. Is
-
Not sure if this belongs here or in iPad or possibly Lion. I am getting flooded with spam - ever since I did the following: Upgraded my MacBook Pro to Lion (thereby accessing iCloud more fully); buying a new iPad Mini (increasing my iCloud use). I us
-
Calling bounded task flows imported as ADF libraries
Hello, I have a main application referencing many bounded task flows included in ADF libraries. Is there a way to make the application not throwing exceptions if one of these libraries including the called task flow is not found? The first question i