on 12-01-2009 12:09 PM
HELLO:
when i excute the 'SAP Web Dispatcher Bootstrap' ,after entering the 'Hostname of Message Server (rdisp/mshost)' and 'HTTP Port of Message Server (ms/http_port)' i came a error 'ERROR: Connection to message server failed: NIECONN_REFUSED',can someone tell me the reason?
THANKS A LOT!!!
Hi.
There is a nice little document, which tells you the ports used by SAP.
I think it's easy for you to find out the message server port of your AS JAVA.
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/4e515a43-0e01-0010-2da1-9bcc452c280b&overridelayout=true ]
Normally it should be 36<SYSTEM NUMBER>.
Regards,
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By default the SAP message server does not usually listen on a HTTP port, you need to specifically configure it using parameter ms/server_port_x on your central instance. Once configured you can use the 'netstat' command to check if it is listening on the configured port.
--
Nelis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you could see details error in dev_webdisp trace.
- Check SAP note 552286 on typical troubleshooting for SAP Web Dispatcher.
- Check your webdisp profile on the accesssability of Message Server
rdisp/mshost
ms/http_port
- connection refused, means that the destination port is in used or not listening
cheers,
Vincent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On your Portal system, take a look at the profile for your SCS instance in /usr/sap/<SID>/SYS/profile, it should contain ms/server_port_0 with the port being used. This is the port to configure in your web dispatcher ms/http_port
The hostname and server port you are talking about are for the same system, yes.
Sorry to confuse you, in my initial message I was referring to an ABAP only SAP system which doesn't use a http port to listen on by default for the message server. I didn't know this was for Portal
--
Nelis
THANKS FOR YOUR REPLY
HERE IS MY DEV_DISP
sysno 01
sid SID
systemid 562 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 83
intno 20050900
make: multithreaded, Unicode, 64 bit, optimized
pid 3140
[Thr 648] started security log to file dev_icm_sec
[Thr 648] SAP Web Dispatcher running on: XXX.XXX.XXX
[Thr 648] MtxInit: 30001 0 2
[Thr 648] IcmInit: listening to admin port: 65000
[Thr 6184] *** WARNING => HttpPlugInInit: Parameter icm/HTTPS/trust_client_with_issuer or icm/HTTPS/trust_client_with_subject not set => do not trust any intermediary
X.509 cert data will be removed from header [http_plgrt.c 670]
[Thr 6184] *** WARNING => HttpAdmHandlerInit: archive U:\usr\sap\SID\SYS\exe\run/wdispadmin.SAR does not exist [http_adm.cpp 289]
[Thr 6184] *** WARNING => HttpAdmHandlerInit: archive ./wdispadmin.SAR does not exist - nothing extracted [http_adm.cpp 304]
[Thr 6184] HttpSubHandlerAdd: Added handler HttpAdminHandler(slot=0, flags=4101) for /sap/wdisp/admin:0
[Thr 6184] CsiInit(): Initializing the Content Scan Interface
[Thr 6184] PC with Windows NT (mt,unicode,SAP_CHAR/size_t/void* = 16/64/64)
[Thr 6184] CsiInit(): CSA_LIB = "U:\usr\sap\SID\SYS\exe\run\sapcsa.dll"
[Thr 6184] *** ERROR => DlLoadLib: LoadLibrary(U:\usr\sap\SID\SYS\exe\run\sapcsa.dll) Error 126 [dlnt.c 237]
[Thr 6184] Error 126 = "The specified module could not be found."
[Thr 6184] *** ERROR => HttpAuthHandlerInit: url: / -> failed -> content filter deactivated [http_auth.c 300]
[Thr 6184] HttpSubHandlerAdd: Added handler HttpAuthHandler(slot=1, flags=12293) for /:0
[Thr 6184] HttpSubHandlerAdd: Added handler HttpWebDispHandler(slot=2, flags=28677) for /:0
[Thr 6184] Started service 60000 for protocol HTTP on host "ABC.XXX.XXX"(on all adapters) (processing timeout=600, keep_alive_timeout=30)
[Thr 648] IcmCreateWorkerThreads: created worker thread 0
[Thr 648] IcmCreateWorkerThreads: created worker thread 1
[Thr 648] IcmCreateWorkerThreads: created worker thread 2
[Thr 648] IcmCreateWorkerThreads: created worker thread 3
[Thr 648] IcmCreateWorkerThreads: created worker thread 4
[Thr 648] IcmCreateWorkerThreads: created worker thread 5
[Thr 648] IcmCreateWorkerThreads: created worker thread 6
[Thr 648] IcmCreateWorkerThreads: created worker thread 7
[Thr 648] IcmCreateWorkerThreads: created worker thread 8
[Thr 648] IcmCreateWorkerThreads: created worker thread 9
[Thr 6228] IcmWatchDogThread: watchdog started
[Thr 6188] Sun Nov 15 13:54:14 2009
[Thr 6188] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 4 / sock 131584
(SI_ECONN_REFUSE; I4; ST; 192.168.11.11:8111) [nixxi.cpp 2764]
[Thr 6188] *** ERROR => Connection request from (-1/65535/0) to host: ABC, service: 8111 failed (NIECONN_REFUSED) {00000001} [icxxconn.c 2731]
[Thr 6188] *** ERROR => IcmConnClientRqCreate() failed (rc=-8) [icrxx.c 5100]
[Thr 6188] *** ERROR => Could not connect to SAP Message Server at ABC. URL=/msgserver/text/logon?version=1.2 [icrxx.c 2459]
[Thr 6188] *** ERROR => rc=-1, HTTP response code: 0 [icrxx.c 2460]
[Thr 6188] *** ERROR => see also OSS note 552286 [icrxx.c 2461]
ERROR => Could not connect to SAP Message Server at ABC. URL=/msgserver/text/logon?version=1.2 [icrxx.c 2459] [Thr 6188] *** ERROR => rc=-1, HTTP response code: 0 [icrxx.c 2460] [Thr 6188] *** ERROR => see also OSS note 552286 [icrxx.c 2461]
I'm assuming you have read the note mentioned in the error and performed the test under the "Message Server" section using telnet ? What was the result ?
If it couldn't connect, try connecting on the actual message server host. If it connects on the host then you know it's probably a firewall problem if not then you need to look at your configuration. As mentioned before use the command 'netstat' to determine if it is indeed listening on your port "8111".
--
Nelis
thanks for your reply
my message server and my dispatcher are on the same server,so i think the firewall should not be the problem, and then i did as your told using the 'netstat', the '8111' is not listenning, thanks i will try to add a para for that port (ms/server_port_x).
Edited by: zhangshi1986002 on Dec 8, 2009 7:44 AM
Edited by: zhangshi1986002 on Dec 8, 2009 8:07 AM
See my reply previously:
On your Portal system, take a look at the profile for your SCS instance in \usr\sap\<SID>\SYS\profile, it should contain ms/server_port_0 with the port being used. This is the port to configure in your web dispatcher ms/http_port
You did say you were connecting web dispatcher to your portal system ? Check the profile for the parameter ms/server_port_0, it should already be configured. Profile <SID>_SCS01_<hostname>
--
Nelis
there are three ports right now i got, one is in the webdispather profile, one is in the message server profile, the last one is when i bootstrap the webdispather, i should write the ms/http_port. are they the same?
The webdispatcher profile and the bootstrap should be the same, the message server profile is the one you want to use for ms/http_port. I'm assuming message server profile is the profile taken from your rdisp/mshost host ?
--
Nelis
Hello zhangshi1986002,
probably you didn't give the right port number, so the web dispatcher si not able to connect to message server. Could you give us the complete log of the execution of the command?
Regards, Valerio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.