Problem with Connection to message server "DB-Connect Failed, Return Code "

Hello,
I have the problem that disp+work exe start but after one minute the precedure stopped.  The Messages in syslog are "Message server disconnected DB-Connect Failed, Return Code  008192. Can anybody help me?
Best regards Mohamed

trc file: "dev_w0", trc level: 1, release: "700"
ACTIVE TRACE LEVEL           1
ACTIVE TRACE COMPONENTS      all, MJ

B Tue Oct 09 19:07:25 2007
B  create_con (con_name=R/3)
B  Loading DB library 'F:\usr\sap\BI7\DVEBMGS70\exe\dbmssslib.dll' ...
B  Library 'F:\usr\sap\BI7\DVEBMGS70\exe\dbmssslib.dll' loaded
B  Version of 'F:\usr\sap\BI7\DVEBMGS70\exe\dbmssslib.dll' is "700.08", patchlevel (0.72)
B  New connection 0 created
M sysno      70
M sid        BI7
M systemid   560 (PC with Windows NT)
M relno      7000
M patchlevel 0
M patchno    80
M intno      20050900
M make:      multithreaded, ASCII, optimized
M pid        7580
M
M  kernel runs with dp version 217(ext=109) (@(#) DPLIB-INT-VERSION-217)
M  length of sys_adm_ext is 360 bytes
M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 7580) [dpxxdisp.c   1301]
I  MtxInit: 30000 0 0
M  DpSysAdmExtCreate: ABAP is active
M  DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active
M  DpShMCreate: sizeof(wp_adm)          11440     (880)
M  DpShMCreate: sizeof(tm_adm)          3397704     (16904)
M  DpShMCreate: sizeof(wp_ca_adm)          18000     (60)
M  DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
M  DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
M  DpShMCreate: sizeof(comm_adm)          528048     (1048)
M  DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
M  DpShMCreate: sizeof(file_adm)          0     (72)
M  DpShMCreate: sizeof(vmc_adm)          0     (1196)
M  DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
M  DpShMCreate: sizeof(gw_adm)     48
M  DpShMCreate: SHM_DP_ADM_KEY          (addr: 06350040, size: 4024776)
M  DpShMCreate: allocated sys_adm at 06350040
M  DpShMCreate: allocated wp_adm at 063519F0
M  DpShMCreate: allocated tm_adm_list at 063546A0
M  DpShMCreate: allocated tm_adm at 063546D0
M  DpShMCreate: allocated wp_ca_adm at 06691F18
M  DpShMCreate: allocated appc_ca_adm at 06696568
M  DpShMCreate: allocated comm_adm at 06697CD8
M  DpShMCreate: system runs without file table
M  DpShMCreate: allocated vmc_adm_list at 06718B88
M  DpShMCreate: allocated gw_adm at 06718BC8
M  DpShMCreate: system runs without vmc_adm
M  DpShMCreate: allocated ca_info at 06718BF8
M  DpShMCreate: allocated wall_adm at 06718C00
X  EmInit: MmSetImplementation( 2 ).
X  MM global diagnostic options set: 0
X  <ES> client 0 initializing ....
X  Using implementation flat
M  <EsNT> Memory Reset disabled as NT default
X  ES initialized.
M  ThInit: running on host ATTNWSRV

M Tue Oct 09 19:07:26 2007
M  calling db_connect ...
C  Process 7580
C  GetProfileParameter( wait_and_see ) returned [<null>]
C  GetProfileParameter( deadlock_priority ) returned [<null>]
C  GetProfileParameter( packet_size ) returned [8192]
C  GetProfileParameter( rpc_batch ) returned [<null>]
C  batched RPC will be used
C  GetProfileParameter( dbsl_profile ) returned [1]
C  dbsl profile written to dbsl_w0
C  GetProfileParameter( pn_cache_size ) returned [20000]
C  GetProfileParameter( par_stmt_cache_size ) returned [500]
C  GetProfileParameter( dbcon_pn_size ) returned [<null>]
C  GetProfileParameter( dbcon_par_stmt_cache_size ) returned [<null>]
C  GetProfileParameter( stats_on ) returned [1]
C  GetProfileParameter( network ) returned [<null>]
C  GetProfileParameter( sp_prefix ) returned [<null>]
C  GetProfileParameter( rdisp/TRACE ) returned [1]
C  GetProfileParameter( set_rowcount ) returned [<null>]
C  GetProfileParameter( set_fast1 ) returned [<null>]
C  GetProfileParameter( use_integrated_security ) returned [<null>]
C  GetProfileParameter( conn_str ) returned [<null>]
C  GetProfileParameter( ignore_moduledrop ) returned [<null>]
C  GetProfileParameter( use_cursor ) returned [<null>]
C  GetProfileParameter( cursor_type ) returned [<null>]
C  GetProfileParameter( fupd_cursor_type ) returned [<null>]
C  GetProfileParameter( set_topn ) returned [<null>]
C  GetProfileParameter( short_col_headers ) returned [<null>]
C  GetProfileParameter( update_with_updlock ) returned [<null>]
C  GetProfileParameter( maxincnt ) returned [<null>]
C  GetProfileParameter( transmit_defaults ) returned [<null>]
C  GetProfileParameter( square_brackets ) returned [<null>]
C  GetProfileParameter( with_recompile ) returned [<null>]
C  GetProfileParameter( max_duration ) returned [<null>]
C  GetProfileParameter( irow_supported ) returned [<null>]
C  GetProfileParameter( ins_block_increment ) returned [<null>]
C  GetProfileParameter( max_ins_block_columns ) returned [<null>]
C  GetProfileParameter( unc_rd_begin_tran ) returned [<null>]
C  GetProfileParameter( use_rpc_call_string ) returned [<null>]
C  GetProfileParameter( perm_stmt_reuse_cnt ) returned [<null>]
C  GetProfileParameter( batch_stmt_reuse_cnt ) returned [<null>]
C  GetProfileParameter( temp_stmt_reuse_cnt ) returned [<null>]
C  GetProfileParameter( prepare ) returned [<null>]
C  GetProfileParameter( par_stmt_prepare ) returned [<null>]
C  GetProfileParameter( profile_with_timestamp ) returned [<null>]
C  GetProfileParameter( no_utab_workaround ) returned [<null>]
C  GetProfileParameter( use_block_fetch ) returned [<null>]
C  GetProfileParameter( connect_retries ) returned [<null>]
C  GetProfileParameter( connect_timeout ) returned [<null>]
C  GetProfileParameter( use_system_locale ) returned [<null>]
C  GetProfileParameter( ignore_stmtids ) returned [<null>]
C  GetProfileParameter( recompile_par_stmts ) returned [0]
C  GetProfileParameter( subst_params ) returned [<null>]
C  GetProfileParameter( provider ) returned [<null>]
C  GetProfileParameter( lob_rc ) returned [<null>]
C  GetProfileParameter( buffer_cvarlobs ) returned [<null>]
C  GetProfileParameter( allow_multipleconnections ) returned [<null>]
C  GetProfileParameter( fupdorder ) returned [<null>]
C  GetProfileParameter( no_vbdata_workaround ) returned [<null>]
C  GetProfileParameter( use_mars ) returned [<null>]
C  GetProfileParameter( as_c ) returned [<null>]
C  GetProfileParameter( save_stmt_string ) returned [<null>]
C  GetProfileParameter( server ) returned [ATTNWSRV]
C  GetProfileParameter( user ) returned [<null>]
C  GetProfileParameter( passwd ) returned [<null>]
C  GetProfileParameter( dbname ) returned [BI7]
C  GetProfileParameter( schema ) returned [dbo]
C  Warning: Env(MSSQL_SCHEMA) [bi7] <> Prof(dbs/mss/schema) [dbo]. Profile value will be used.
C  GetProfileParameter( auth/shadow_upgrade ) returned [<null>]
C  GetProfileParameter( add_procs ) returned [<null>]
C  Thread ID:7584
C  Thank You for using the SLOLEDB-interface
C  Using dynamic link library 'F:\usr\sap\BI7\DVEBMGS70\exe\dbmssslib.dll'
C  dbmssslib.dll patch info
C    patchlevel   0
C    patchno      72
C    patchcomment MSSQL: Thread check in DbSlDisconnect (969143)
C  COMPUTERNAME: ATTNWSRV
C  np:(local) connection used on ATTNWSRV
C  CopyLocalParameters: dbuser is 'dbo'
C  Formatted connect string : [Driver=SQL Server;Server=np:(local);Trusted_Connection=yes;WSID=ATTNWSRV;APP=R3D00(0)comm rd [MDAC] OLEDB]

C Tue Oct 09 19:07:27 2007
C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
C  Using provider SQLOLEDB instead.
C  OpenOledbConnection: MARS property was not set.
C  Packet size is set to: 8192
C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C  Procname: [OpenOledbConnection - no proc]
C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C  Procname: [OpenOledbConnection - no proc]
C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
C  Using provider SQLOLEDB instead.
C  Packet size is set to: 8192
C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C  Procname: [OpenOledbConnection - no proc]
C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C  Procname: [OpenOledbConnection - no proc]
C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
C  Using provider SQLOLEDB instead.
C  Packet size is set to: 8192
C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C  Procname: [OpenOledbConnection - no proc]
C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C  Procname: [OpenOledbConnection - no proc]
C  failed to establish conn to np:(local).
C  Retrying without protocol specifier: (local)
C  Formatted connect string : [Driver=SQL Server;Server=(local);Trusted_Connection=yes;WSID=ATTNWSRV;APP=R3D00(0)comm rd [MDAC] OLEDB]
C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
C  Using provider SQLOLEDB instead.
C  Packet size is set to: 8192
C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C  Procname: [OpenOledbConnection - no proc]
C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C  Procname: [OpenOledbConnection - no proc]
C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
C  Using provider SQLOLEDB instead.
C  Packet size is set to: 8192
C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C  Procname: [OpenOledbConnection - no proc]
C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C  Procname: [OpenOledbConnection - no proc]

C Tue Oct 09 19:07:28 2007
C  Provider SQLNCLI could not be initialized. See note #734034 for more information.
C  Using provider SQLOLEDB instead.
C  Packet size is set to: 8192
C  OpenOledbConnection: line 23391. hr: 0x8000ffff Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 18456, sev 0), Login failed for user 'ATTNWSRV\SAPServiceBI7'.
C  Procname: [OpenOledbConnection - no proc]
C  sloledb.cpp [OpenOledbConnection,line 23391]: Error/Message: (err 0, sev 0), Invalid connection string attribute
C  Procname: [OpenOledbConnection - no proc]
C  failed to establish conn. 0
B  ***LOG BY2=> sql error 0      performing CON [dbsh#2 @ 1204] [dbsh    1204 ]
B  ***LOG BY0=> <message text not available> [dbsh#2 @ 1204] [dbsh    1204 ]
B  ***LOG BY2=> sql error 0      performing CON [dblink#3 @ 431] [dblink  0431 ]
B  ***LOG BY0=> <message text not available> [dblink#3 @ 431] [dblink  0431 ]
M  ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c   1411]
M  in_ThErrHandle: 1
M  *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   10169]

M  Info for wp 0

M    stat = 4
M    reqtype = 1
M    act_reqtype = -1
M    rq_info = 0
M    tid = -1
M    mode = 255
M    len = -1
M    rq_id = 65535
M    rq_source = 255
M    last_tid = 0
M    last_mode = 0
M    semaphore = 0
M    act_cs_count = 0
M    control_flag = 0
M    int_checked_resource(RFC) = 0
M    ext_checked_resource(RFC) = 0
M    int_checked_resource(HTTP) = 0
M    ext_checked_resource(HTTP) = 0
M    report = >                                        <
M    action = 0
M    tab_name = >                              <
M    vm = no VM

M  *****************************************************************************
M  *
M  *  LOCATION    SAP-Server ATTNWSRV_BI7_70 on host ATTNWSRV (wp 0)
M  *  ERROR       ThInit: db_connect
M  *
M  *  TIME        Tue Oct 09 19:07:28 2007
M  *  RELEASE     700
M  *  COMPONENT   Taskhandler
M  *  VERSION     1
M  *  RC          13
M  *  MODULE      thxxhead.c
M  *  LINE        10367
M  *  COUNTER     1
M  *
M  *****************************************************************************

M  PfStatDisconnect: disconnect statistics
M  Entering TH_CALLHOOKS
M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   720]
M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  260]
M  Entering ThSetStatError
M  ThIErrHandle: do not call ThrCoreInfo (no_core_info=0, in_dynp_env=0)
M  Entering ThReadDetachMode
M  call ThrShutDown (1)...
M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 7580) [dpnttool.c   327]

Similar Messages

  • 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

  • The original exception was: wapsmod.ms.MsAttachFailed: Connect to message server (pdirmba1/3900) failed: MSENILAYER.

    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 ok

    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

  • Reinstallation SAP ABAP Netweaver issue message server not connected

    hi ,
    i am trying to reinstall SAP ABAP Netweaver but getting error in step 24 of 27. i am getting the following error.
    WARNING 2010-07-20 08:52:08.078 iaxxcmsclient.cpp:93
    CIaMsgClient::CIaMsgClient(localhost, 3900)
    Connect to message server (localhost/3900) failed: NIECONN_REFUSED.
    INFO 2010-07-20 08:52:08.078
    CJSlibModule::writeInfo_impl()
    State of instance NSP/DVEBMGS00 changed from ABAP: UNKNOWN to ABAP: UNKNOWN.
    WARNING 2010-07-20 08:52:37.171 iaxxcmsclient.cpp:93
    CIaMsgClient::CIaMsgClient(localhost, 3900)
    Connect to message server (localhost/3900) failed: NIECONN_REFUSED.
    WARNING 2010-07-20 08:53:07.156 iaxxcmsclient.cpp:93
    CIaMsgClient::CIaMsgClient(localhost, 3900)
    Connect to message server (localhost/3900) failed: NIECONN_REFUSED.
    WARNING 2010-07-20 08:53:36.125 iaxxcmsclient.cpp:93
    CIaMsgClient::CIaMsgClient(localhost, 3900)
    Connect to message server (localhost/3900) failed: NIECONN_REFUSED.
    Please do tell me how to resolve this issue.
    thanks,
    tanmaya

    Hi Tanmaya,
    Question: How to find whether the port is blocked or not?
    (A) You can check the message server port in txn SMMS or dev_ms trace in ST11 to verify if the port is correctly set. If it is and you cannot connect to the message server then you will need to find out which program/service is occupying port 3900. So please follow the steps below:-
    (A1) On Unix there is a program called LSOF available which shows ALL programs that occupies all ports. SAP Note [164937|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_cst/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d313634393337%7d] shows were you can get this program.
    (A2) On Windows the equilivent of LSOF is Process Explorer from the Sysinternals Suite. This is available on the MS website [here|http://technet.microsoft.com/en-us/sysinternals/bb842062.aspx]. You can use this to filter by port.
    So using these programs you will be able to see which programs occupy all ports on your server and either remove or disable them.
    P.S. You can use SAP Note [421359|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_cst/~form/handler%7b5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d343231333539%7d] to bind any port to any service on Unix including "protected" ports !!!
    Hope this helps
    Michael

  • 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,
    Davide

    Hi,
    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

  • Remote Resources: "A problem with the system proxy caused the connection to fail: End of file"

    Hi, I am trying to use "Remote Resources" on the current version of the Microsoft Remote Desktop for Android app, I can input the webfeed and it even shows the apps that I have configured on the server for "Remote App", sadly whenever
    I try to load any of the RemoteApps, I receive an error stating " A problem with the system proxy caused the connection to fail. End of File".
    I don't know what I can do to fix this, I've tried many things to no avail, also, normal Remote Desktop connections from the Microsoft Android app work flawlessly to the server.
    The relevant log is the following:
    [2014-Jan-09 04:40:54] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Jan-09 04:40:54] RDP (0): Final rdp configuration used: memory bookmark [
    label 
    hostname DIAZSERVER
    port 3389
    loadbalanceinfo 
    ui.swapmousebutton false
    remote.program ||ZWaveUtil
    remote.workingdirectory 
    remote.name ZWave Adapter Utility
    remote.args 
    rail true
    soundmode 0
    connect_to_console false
    redirectsdcard true
    performance_flags 134
    arc.sessionid 0
    anonymous_username 
    authentication_level 2
    use_redirection_server_name false
    username administrator
    gateway [
      host = DIAZSERVER
      port = 443
      bypass = false
    connect info[
      hostnames = [localhost]
      gatewayHost = DIAZSERVER
      gatewayPort = 443
      routingToken = Cookie: mstshash=administrator
      redirectionGUID = 
      proxyHost = 200.5.68.10
      proxyPort = 8080
      sessionId = -1
    [2014-Jan-09 04:40:54] RDP (0): Using HttpConnect proxy at 200.5.68.10:8080
    [2014-Jan-09 04:40:54] RDP (0): Using Basic Authentication with username ''
    [2014-Jan-09 04:40:54] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    AsioEndpointContext (0): startup(): starting up down context
    [2014-Jan-09 04:40:54] RDP (0): Resolved '200.5.68.10' to '200.5.68.10' using NameResolveMethod_DNS(1)
    [2014-Jan-09 04:40:54] RDP (0): Resolved '200.5.68.10' to '200.5.68.10' using NameResolveMethod_DNS(1)
    ASIOSocketAdapter (9): readSomething error. message: End of file. instance: 0x5d39d5c0
    RpcOverHttp (9): Stream error in endpoint 0x5abbc170 : A problem with the system proxy caused the connection to fail: End of file
    [2014-Jan-09 04:40:55] RDP (0): Error message: A problem with the system proxy caused the connection to fail: End of file
    [2014-Jan-09 04:40:55] RDP (0): Error message: A problem with the system proxy caused the connection to fail: End of file
    [2014-Jan-09 04:40:55] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    ASIOSocketAdapter (9): handleRead(): exception: Exception in file '/var/lib/jenkins/jobs/rc-android-app/workspace/rdp-layer/library/jni/librdp/private/httpendpoint.cpp' at line 489
        User Message : Failed to read from channel: -1. instance: 0x5d39d5c0
    [2014-Jan-09 04:40:55] RDP (0): Disconnect initiated by client
    RpcOverHttp (9): Exception in endpoint 0x5abbc170 : Exception in file '/var/lib/jenkins/jobs/rc-android-app/workspace/rdp-layer/library/jni/librdp/private/httpendpoint.cpp' at line 489
        User Message : A problem with the system proxy caused the connection to fail: Failed to read from channel: -1
    [2014-Jan-09 04:40:55] RDP (0): Exception caught: Exception in file '/var/lib/jenkins/jobs/rc-android-app/workspace/rdp-layer/library/jni/librdp/private/httpendpoint.cpp' at line 489
        User Message : A problem with the system proxy caused the connection to fail: Failed to read from channel: -1
    [2014-Jan-09 04:40:55] RDP (0): Exception caught: Exception in file '/var/lib/jenkins/jobs/rc-android-app/workspace/rdp-layer/library/jni/librdp/private/httpendpoint.cpp' at line 489
        User Message : A problem with the system proxy caused the connection to fail: Failed to read from channel: -1
    AsioEndpointContext (0): shutdown(): shutting down context
    AsioEndpointContext (0): shutdown(): context shut down
    AsioEndpointContext (0): shutdown(): shutting down context
    AsioEndpointContext (0): shutdown(): context shut down
    [2014-Jan-09 04:40:57] RDP (0): ------ END ACTIVE CONNECTION ------

    My problem is that the "proxy" is the proxy set up by my 3G configuration so, I tried connecting to the remote resources through my work wifi and I get the following:
    [2014-Jan-14 16:58:13] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Jan-14 16:58:13] RDP (0): Final rdp configuration used: memory bookmark [
    label 
    hostname DIAZSERVER
    port 3389
    loadbalanceinfo 
    ui.swapmousebutton false
    remote.program ||chrome
    remote.workingdirectory 
    remote.name Google Chrome
    remote.args 
    rail true
    soundmode 0
    connect_to_console false
    redirectsdcard true
    performance_flags 134
    arc.sessionid 0
    anonymous_username 
    authentication_level 2
    use_redirection_server_name false
    username Administrator
    gateway [
      host = DIAZSERVER
      port = 443
      bypass = false
    connect info[
      hostnames = [localhost]
      gatewayHost = DIAZSERVER
      gatewayPort = 443
      routingToken = Cookie: mstshash=Administrator
      redirectionGUID = 
      proxyHost = 
      proxyPort = 0
      sessionId = -1
    [2014-Jan-14 16:58:13] RDP (0): Not using any proxy
    [2014-Jan-14 16:58:13] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    AsioEndpointContext (0): startup(): starting up down context
    ASIOSocketAdapter (9): handleResolve(): boost error: Host not found. Please provide the fully-qualified name or the IP address of the host.. instance: 0x5d474090
    RpcOverHttp (9): Stream error in endpoint 0x5d46b678 : Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 16:58:17] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 16:58:17] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 16:58:17] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    ASIOSocketAdapter (9): handleResolve(): boost error: Host not found. Please provide the fully-qualified name or the IP address of the host.. instance: 0x5d445158
    RpcOverHttp (9): Stream error in endpoint 0x5d49fa30 : Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 16:58:17] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 16:58:17] RDP (0): Disconnect initiated by client
    [2014-Jan-14 16:58:17] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    AsioEndpointContext (0): shutdown(): shutting down context
    AsioEndpointContext (0): shutdown(): context shut down
    AsioEndpointContext (0): shutdown(): shutting down context
    AsioEndpointContext (0): shutdown(): context shut down
    [2014-Jan-14 16:58:17] RDP (0): ------ END ACTIVE CONNECTION ------
    Now, I know the host can be resolved because: if I connect to the same host but on a full remote desktop (as opposed to just RemoteApp on it) I have no trouble either through 3G OR through my work connection.
    Moreover, I also tried directly inputting the IP as opposed to the web address of my server, I get the same error, that is the Remote Resources tab is able to access the feed (because it shows the available RemoteApps) but when I click an app it says it can't
    find the Host, here's the log for the connection directly to the IP address/rdweb/feed/webfeed.aspx :
    [2014-Jan-14 17:09:27] RDP (0): ----- BEGIN ACTIVE CONNECTION -----
    [2014-Jan-14 17:09:27] RDP (0): Final rdp configuration used: memory bookmark [
    label 
    hostname DIAZSERVER
    port 3389
    loadbalanceinfo 
    ui.swapmousebutton false
    remote.program ||chrome
    remote.workingdirectory 
    remote.name Google Chrome
    remote.args 
    rail true
    soundmode 0
    connect_to_console false
    redirectsdcard true
    performance_flags 134
    arc.sessionid 0
    anonymous_username 
    authentication_level 2
    use_redirection_server_name false
    username administrator
    gateway [
      host = DIAZSERVER
      port = 443
      bypass = false
    connect info[
      hostnames = [localhost]
      gatewayHost = DIAZSERVER
      gatewayPort = 443
      routingToken = Cookie: mstshash=administrator
      redirectionGUID = 
      proxyHost = 
      proxyPort = 0
      sessionId = -1
    [2014-Jan-14 17:09:27] RDP (0): Not using any proxy
    [2014-Jan-14 17:09:27] RDP (0): Protocol state changed to: ProtocolConnectingNetwork(1)
    AsioEndpointContext (0): startup(): starting up down context
    ASIOSocketAdapter (9): handleResolve(): boost error: Host not found. Please provide the fully-qualified name or the IP address of the host.. instance: 0x5d372f28
    RpcOverHttp (9): Stream error in endpoint 0x5dd6b168 : Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 17:09:31] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 17:09:31] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 17:09:31] RDP (0): Protocol state changed to: ProtocolDisconnected(8)
    ASIOSocketAdapter (9): handleResolve(): boost error: Host not found. Please provide the fully-qualified name or the IP address of the host.. instance: 0x5d378de0
    RpcOverHttp (9): Stream error in endpoint 0x5e9cc1f0 : Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 17:09:31] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    [2014-Jan-14 17:09:31] RDP (0): Disconnect initiated by client
    [2014-Jan-14 17:09:31] RDP (0): Error message: Unable to connect to remote PC. Please provide the fully-qualified name or the IP address of the remote PC, and then try again.
    AsioEndpointContext (0): shutdown(): shutting down context
    AsioEndpointContext (0): shutdown(): context shut down
    AsioEndpointContext (0): shutdown(): shutting down context
    AsioEndpointContext (0): shutdown(): context shut down
    [2014-Jan-14 17:09:31] RDP (0): ------ END ACTIVE CONNECTION ------
    I'm really puzzled here, I've tried checking if ports where open, and ports 443 and 3389 are wide open, I don't know what else it could be.

  • 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.
    Dave

    Guys look at the below SAP note. it will help
    SAP Note Number: 764881 Inf. Broad.Connect to message server host failed - sapms

  • Load balancing error 88: Cannot connect to message server (rc=9)

    Hi,
    We are facing a problem in the system object.
    initially we created a system object with loadbalancing template ,and everything worked fine, but after couple of months we found a error "Load balancing error 88: Cannot connect to message server (rc=9)", so we have created a Dedicated application server object which resolved our issue.
    My question is why has this problem occured, and since my client side has lot number of users and we wish to keep the system back to load balancing object.
    How can i make my system object work back, what might be the causes?
    Thanks
    Srivastsa Kondapally

    Load balancing only works if the message server is available and the logon group specified exists as well.  If one of those changes, then it will break until you get the values set correctly.

  • 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

  • Dispatcher running but message server not connected

    Hi Guys,
    I installed SAP netweaver 7.01 trial version and using MaxDB as database server.
    When I start the NSB using SAPMMC, the message server is running but the disp+work.EXE is not working properly. It sometimes shows the status 'Running but message server not connected' and sometimes 'Running but que standstill'. It would be a great help if you could guide me to the solution of this problem.
    DEV_MS file:-
    trc file: "dev_ms", trc level: 1, release: "701"
    [Thr 2148] Sat May 14 18:02:00 2011
    [Thr 2148] MsSSetTrcLog: trc logging active, max size = 20971520 bytes
    systemid   560 (PC with Windows NT)
    relno      7010
    patchlevel 0
    patchno    0
    intno      20020600
    make:      multithreaded, ASCII, optimized
    pid        1484
    [Thr 2148] ***LOG Q01=> MsSInit, MSStart (Msg Server 1 1484) [msxxserv.c   1853]
    [Thr 2148] MsInitAclInfo: acl file F:\SAP\NSP\SYS\global\ms_acl_info.DAT not found, unrestricted access
    [Thr 2148] MsGetOwnIpAddr: my host addresses are :
    [Thr 2148]   1 : [10.10.0.10] DESKTOP5 (HOSTNAME)
    [Thr 2148]   2 : [127.0.0.1] localhost (LOCALHOST)
    [Thr 2148]   3 : [192.168.1.8] desktop5 (NILIST)
    [Thr 2148] Sat May 14 18:02:01 2011
    [Thr 2148] MsHttpInit: full qualified hostname = desktop5
    [Thr 2148] HTTP logging is switch off
    [Thr 2148] set HTTP state to LISTEN
    [Thr 2148] ms/icf_info_server : deleted
    [Thr 2148] *** I listen to port sapmsNSP (3600) ***
    [Thr 2148] *** I listen to internal port 3900 (3900) ***
    [Thr 2148] *** HTTP port 8100 state LISTEN ***
    [Thr 2148] CUSTOMER KEY: >S1138463071<
    [Thr 2148] build version=701.2008.03.06
    [Thr 2148] Sat May 14 18:03:20 2011
    [Thr 2148] *** ERROR => MsSClientHandle: no server provides service ENQ  (4), requested from desktop5_NSP_00 [msxxserv.c   4711]

    DEV_DISP file:-
    trc file: "dev_disp", trc level: 1, release: "701"
    sysno      00
    sid        NSP
    systemid   560 (PC with Windows NT)
    relno      7010
    patchlevel 0
    patchno    7
    intno      20020600
    make:      multithreaded, ASCII, optimized
    pid        2740
    Sat May 14 18:02:02 2011
    kernel runs with dp version 240(ext=110) (@(#) DPLIB-INT-VERSION-240)
    length of sys_adm_ext is 364 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 2740) [dpxxdisp.c   1257]
         shared lib "dw_xml.dll" version 7 successfully loaded
         shared lib "dw_xtc.dll" version 7 successfully loaded
         shared lib "dw_stl.dll" version 7 successfully loaded
         shared lib "dw_gui.dll" version 7 successfully loaded
         shared lib "dw_mdm.dll" version 7 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Sat May 14 18:02:11 2011
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 9 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5529]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >desktop5_NSP_00                         <
    DpShMCreate: sizeof(wp_adm)          8232     (1176)
    DpShMCreate: sizeof(tm_adm)          3786880     (18840)
    DpShMCreate: sizeof(wp_ca_adm)          1280     (60)
    DpShMCreate: sizeof(appc_ca_adm)     1200     (60)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528040/528048
    DpShMCreate: sizeof(comm_adm)          528048     (1048)
    DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0
    DpShMCreate: sizeof(slock_adm)          0     (96)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1296)
    DpShMCreate: sizeof(wall_adm)          (22440/34344/56/100)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 057F0040, size: 4389744)
    DpShMCreate: allocated sys_adm at 057F0040
    DpShMCreate: allocated wp_adm at 057F1BF8
    DpShMCreate: allocated tm_adm_list at 057F3C20
    DpShMCreate: allocated tm_adm at 057F3C50
    DpShMCreate: allocated wp_ca_adm at 05B904D0
    DpShMCreate: allocated appc_ca_adm at 05B909D0
    DpShMCreate: allocated comm_adm at 05B90E80
    DpShMCreate: system runs without slock table
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 05C11D30
    DpShMCreate: allocated gw_adm at 05C11D70
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 05C11DA0
    DpShMCreate: allocated wall_adm at 05C11DA8
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    rdisp/queue_size_check_value :  -> off
    Sat May 14 18:02:12 2011
    ThTaskStatus: rdisp/reset_online_during_debug 0
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation view
    <EsNT> Using memory model view.
    <EsNT> Memory Reset disabled as NT default
    <ES> 127 blocks reserved for free list.
    ES initialized.
    rdisp/http_min_wait_dia_wp : 1 -> 1
    Sat May 14 18:02:13 2011
    ***LOG Q0K=> DpMsAttach, mscon ( desktop5) [dpxxdisp.c   12204]
    DpStartStopMsg: send start message (myname is >desktop5_NSP_00                         <)
    DpStartStopMsg: start msg sent
    CCMS: alert/MONI_SEGM_SIZE = 0   monitoring and alerting switched off.
    DpMsgAdmin: Set release to 7010, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1048]
    DpMsgAdmin: Set patchno for this platform to 7
    Release check o.K.
    Sat May 14 18:02:53 2011
    my types changed after wp death/restart 0x9f --> 0x9e
    my types changed after wp death/restart 0x9e --> 0x9c
    my types changed after wp death/restart 0x9c --> 0x98
    my types changed after wp death/restart 0x98 --> 0x90
    my types changed after wp death/restart 0x90 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1629
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Sat May 14 18:03:03 2011
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long)               Sat May 14 12:33:03 2011
    ========================

  • Logon balancing error:cannot connect to message server (rc=9)

    Hi Gurus,
    I have just installed SAP GUI 710 in my new system and copied the saplogon.ini file to the respective folder in the new system.
    I am now able to see the servers in the logon pad but not able to login .
    When i try clicking the logon i am getting the below error message "
    "Logon balancing error:cannot connect to message server (rc=9)"
    Then further expanding the message i am getting the below message
    " Error: Server '?' unknown
    Tue Mar 02 11:51:05 2010
    Release 710
    Component NI (Network Interface), Version 39 rc =-3 , Detail NiErrSet. "
    Can you please help me out in accessing the servers.
    Regards
    Vikram

    Check OSS Note : 882741
    Summary
    Symptom
    Some users cannot longer connect SAP GUI to any SAP systems e.g. via SAP Logon, SAPShortcut etc. although they have not made any update to either SAP GUI or SAP system. The attempt to connect to the SAP system ends with  error messages like this: "Logon balancing error: could not connect to message server (rc=9)", "service sapmsXXX unknown" or "service sapdp## unknown".
    The detailed error information is as follows:
        Error: service 'sap...' unknown
        Component NI (network interface), ...
        rc = -3, module ninti.c, line 463
        Detail NiPGetServByName: service 'sap...' not found
        System Call getservbyname
    Other terms
    service sapmsXXX unknown,logon balancing,service sapdp## not found error,etc/services,drivers\etc\services,getservbyname, sapdpxx
    MSN Messenger 7.5,Connection Troubleshooter
    Reason and Prerequisites
    The reason for this malfunction is, that the datatype of the registry value HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\DatabasePath
    was changed from REG_EXPAND_SZ to REG_SZ.
    The following programs are currently known to cause this registry change:
    Starting MSN Messenger 7.5 "Connection Troubleshooter" (Build 7.5.0299).
    Installation of MSN Messenger 7.0 or MSN Messenger 7.5 with the option automatic scanning and configuration of ports.
    This modification prevents the expansion of environment variables in the value of the parameter. Therefore,
          %SystemRoot%\system32\drivers\etc
    is not translated to
       c:\windows\system32\drivers\etc
    and the services database is not found by the API function getservbyname().
    If you have checked the datatype of registry value DatabasePath and it is REG_EXPAND_SZ, apply SAP Note 52959 to check the appropriate settings in the services file.
    Solution
    Start the registry editor and rename the registry value HKLM\System\CurrentControlSet\Services\TCPIP\Parameters\DatabasePath
    Create an Expandable-String Value (REG_EXPAND_SZ) with the same name and value.
    If more PCs are affected, you can export the correct value to a .reg file and import the .reg to other PCs.
    If you have the same problem although you have not installed Microsoft MSN Messenger 7.5, create a customer message, collect the following information and attach it to the message according to note 541726 or upload it to sapservX (see note 40024):
    Scan your workstations for spyware and viruses with up-to-date virus definitions. If you already did that what was the result ?
    What software has been installed recently ? (client software, Firewall)
    Create a registry export of the following key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstallon the affected and the unaffected PC respectively and attach the two .reg files to the customer message.
    Are the users on the affected workstations logged on with administrative credentials (local administrator ) ?
    Create an MPS Report Networking and Setup Perf of an affected workstation so that we can check if they use an software in common.
    You can download the Networking MPS Reporting Tool at:
    http://download.microsoft.com/download/b/b/1/bb139fcb-4aac-4fe5-a579-30b0bd915706/MPSRPT_Network.exe
    You can find a short description about the features of the tool at:
    http://download.microsoft.com/download/b/b/1/bb139fcb-4aac-4fe5-a579-30b0bd915706/MPSRPT_Network_Readme.txt
    The Setup Perf MPS Reporting Tool is located at:
    http://download.microsoft.com/download/b/b/1/bb139fcb-4aac-4fe5-a579-30b0bd915706/MPSRPT_SETUPPerf.EXE
    Run this report too on identically configured workstations, which are not affected.
    If you have already changed back the DatabasePath parameter and if after a while the value was switched back to REG_SZ perform the  following steps to help us to identify the reason for this problem:
    Switch the datatype back to REG_EXPAND_SZ
    Download Regmon from http://www.sysinternals.com on the affected machines
    Enable auditing on the affected clients
    Modify the settings of the eventlog so that no important entry is deleted!
    Open Regedit and highlight HKLM\System\CCS\Services\TCPIP\Parameters
    Right-click on "Parameters" and choos "Permissions" and click "Advanced".
    Choose "Auditing" and "Add".
    Add "Everyone" and select "this key only" under "Apply onto".
    Check the boxes "Set Value" and "Delete" and click "OK".
    Apply these settings
    Start Regmon and apply the correct filter settings:
    Press the "magnifying glass" button  to stop the monitoring.
    Press the rubber button to delete  all logged entries.
    Go to "Options Filter/Highlight".
    Copy the following value to the include field: tcpip\parameters\databasepath and click "Apply".
    Start Regmon by pressing the magnifying glass button
    Verify that logging starts when you double-click the TCPIP Key in regedit!
    If the datatype will be changed again,  provide us the output of the monitoring tools.
    Solution provided by Microsoft
    This issue is said to be fixed as of build 7.5.0311 of MSN messenger.

  • Problem with Progress DB while using to connect using JDBC Adapter

    Hi,
      I am facing Problem with Progress DB while using to connect using JDBC Adapter. I am getting the following error in auditlog file like,
    Error during database connection to the database URL  jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb 
    /devsche/i_apoext.db using the  JDBC driver "com.progress.sql.jdbc.JdbcProgressDriver" : com.sap.aii.adapter.jdbc.sql.DriverManagerException: Unable to locate a suitable JDBC driver to establish a connection to URL " jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb 
    /devsche/i_apoext.db "
    I tried using the following all URLs,
    1. jdbc:JdbcProgress:T:156.5.31.65:2545:i_apoext.       
    2. jdbc:JdbcProgress:T:156.5.31.65:2545:i_apoext.db     
    3.                                                      
    jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb 
    /devsche/i_apoext.                                      
    4.                                                      
    jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb 
    /devsche/i_apoext.db.                                  
    Can anyone please help me out in solving this issue.
    May be the cause for this is :
    1) The Wrong URL  format
    2) CLASSPATH is not setted properly..
    Can you look more into this stuff.
    Thanks,
    Soorya.

    Hi,
    To access any database fromm XI, using the JDBC adapter, the corresponding drivers have to be installed on the XI server.
    Just check this note 831162.
    Also, check this PDF to install Drivers in XI,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10

  • (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 help

    Now 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
    Bala

    Hi,
    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

  • 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.
    Ramesh

    Hi, 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

Maybe you are looking for

  • Backing up iPhoto pics without using Time Machine or an external hard drive

    I cannot figure out how to back up my photos on my one year old MBP. I haven't gotten around to buying an external hard drive (so many choices and there seems to be problems with every one I look at - advice?), but at this time the only important dat

  • Character Encoding for JSPs and HTML forms

    After having read loads of postings on character encoding problems I'm still puzzled about the following problem: I have an instance (A) of WL 8.1 SP3 on a WinXP machine and another instance (B) of WL 8.1 without any SP on a Win2K machine. The underl

  • How can i tell if my i mac is available

    my ipod touch 4th gen cant sync via wifi. it says that the sync will continue when my imac is available what can i do

  • Can you downsave CC 2014 files to PS 5?

    When passing my CC 2014 files on to colleagues who have PS 5 they are getting a warning message regarding gradient setting that have been used. I have used the gradient in the layer style I'm pretty sure that this option was in PS 5!! :S This problem

  • Custom Logi task flow is not working

    I created a custom task flow for webcenter spaces login and deployed it using extending webcenter spaces, added it to one of my custom resource catalogue and then added it to the spaces login page. The login process works fine but the problem is that