cancel
Showing results for 
Search instead for 
Did you mean: 

Running but Message Server unreachable

Former Member
0 Kudos

Dear ALL sap Master

Please help me to find solution with my problem,

we've had problem in our SAP Central instance last night, we decided to restart the SAP servers,

i turn down the Application server.

after shutdown the Apps Server , i try to start the central instance and it seem alright, I've started the next server which is the application server and it goes right, but suddenly when i started the next application server via SAP MMC, the status is just YELLOW and when i check the status of process list the status stated below:

"Running but Message Server unreachable"

please see logs of dev_disp

Wed Nov 23 09:36:36 2011

***LOG Q0I=> NiPServToNo: getservbyname [ninti.c 463]

***LOG Q0A=> NiIServToNo, NiPServToNo ( sapmsPR1) [nixxi.c 2357]

      • ERROR => MsIAttach: NiBufConnect to pr1sap/sapmsPR1 failed (rc=-3) [msxxi.c 577]

***LOG Q0L=> DpLoopInit, nomscon () [dpxxdisp.c 1348]

CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.

CCMS: start to initalize 3.X shared alert area (first segment).

Wed Nov 23 09:36:48 2011

      • ERROR => MsISnd2: not_attached [msxxi.c 1173]

***LOG Q0N=> DpRqNoWpHandle, MsSndName () [dpxxdisp.c 3529]

dev_w0

Wed Nov 23 09:36:58 2011

M *** ERROR => ThCheckReqInfo: message send/receive failed [thxxhead.c 14633]

M *** ERROR => ThMBufFullRead: ThOpcodeToMsg [thxxmbuf.c 193]

M *** ERROR => ThMBufGet: ThMBufFullRead [thxxmbuf.c 150]

S *** ERROR => cannot get list of active servers from message server [rsposerv.c 965]

M *** ERROR => ThCheckReqInfo: message send/receive failed [thxxhead.c 14633]

M *** ERROR => ThMBufFullRead: ThOpcodeToMsg [thxxmbuf.c 193]

M *** ERROR => ThMBufGet: ThMBufFullRead [thxxmbuf.c 150]

M *** ERROR => no enqueue name set [thxxmsg.c 391]

M ***LOG GI0=> [enctrl.c 1011]

M ***LOG GI2=> [enctrl.c 1011]

E *** ERROR => ThToEnq(). rtc = -1 [enctrl.c 1013]

E *** ERROR => Enqueue: EnqTskhClient() errror 8 [enxxhead.c 2802]

M *** ERROR => no enqueue name set [thxxmsg.c 456]

M ***LOG GI0=> [enctrl.c 1011]

M ***LOG GI2=> [enctrl.c 1011]

E *** ERROR => ThToEnq(). rtc = -1 [enctrl.c 1013]

E *** ERROR => Enqueue: EnqTskhClient() errror 8 [enxxhead.c 2802]

M ***LOG GH0=> [enctrl.c 1856]

M ***LOG GI4=> [enctrl.c 1856]

E *** ERROR => DequeAll() failed. Returncode = 8 [enctrl.c 1858]

E *** ERROR => EnqRollback: Owner = 20111123093657484000000000rfmsapdom......................., ReturnCode = 8 [enctrl.c 1860]

E *** ERROR => EnqRollback: OwnVB = 20111123093657484000010000rfmsapdom......................., ReturnCode = 8 [enctrl.c 1862]

M

hope to help me in this

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Thanks Srikishan

connectivity between application host to Central is okay, connectivity between central host to application host is okay

upon check to ..\Windows\System32\drivers\etc

please see logs

knetd 2053/tcp #Kerberos de-multiplexor

man 9535/tcp #Remote Man Server

sapdp00 3200/tcp

sapgw00 3300/tcp

sapgw00s 4800/tcp

sapmsPR1 3600/tcp

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Could you please paste dev_w0 logs from server where you are facing this problem ? Is it the problem related to dispatcher turning yellow or system is also not working ?

Thanks

Sunny

Former Member
0 Kudos

thanks for reply

please see logs dev_w0

Wed Nov 23 09:36:58 2011

M *** ERROR => ThCheckReqInfo: message send/receive failed [thxxhead.c 14633]

M *** ERROR => ThMBufFullRead: ThOpcodeToMsg [thxxmbuf.c 193]

M *** ERROR => ThMBufGet: ThMBufFullRead [thxxmbuf.c 150]

S *** ERROR => cannot get list of active servers from message server [rsposerv.c 965]

M *** ERROR => ThCheckReqInfo: message send/receive failed [thxxhead.c 14633]

M *** ERROR => ThMBufFullRead: ThOpcodeToMsg [thxxmbuf.c 193]

M *** ERROR => ThMBufGet: ThMBufFullRead [thxxmbuf.c 150]

M *** ERROR => no enqueue name set [thxxmsg.c 391]

M ***LOG GI0=> [enctrl.c 1011]

M ***LOG GI2=> [enctrl.c 1011]

E *** ERROR => ThToEnq(). rtc = -1 [enctrl.c 1013]

E *** ERROR => Enqueue: EnqTskhClient() errror 8 [enxxhead.c 2802]

M *** ERROR => no enqueue name set [thxxmsg.c 456]

M ***LOG GI0=> [enctrl.c 1011]

M ***LOG GI2=> [enctrl.c 1011]

E *** ERROR => ThToEnq(). rtc = -1 [enctrl.c 1013]

E *** ERROR => Enqueue: EnqTskhClient() errror 8 [enxxhead.c 2802]

M ***LOG GH0=> [enctrl.c 1856]

M ***LOG GI4=> [enctrl.c 1856]

E *** ERROR => DequeAll() failed. Returncode = 8 [enctrl.c 1858]

E *** ERROR => EnqRollback: Owner = 20111123093657484000000000rfmsapdom......................., ReturnCode = 8 [enctrl.c 1860]

E *** ERROR => EnqRollback: OwnVB = 20111123093657484000010000rfmsapdom......................., ReturnCode = 8 [enctrl.c 1862]

M

M Wed Nov 23 09:37:00 2011

M *** ERROR => ThCheckReqInfo: message send/receive failed [thxxhead.c 14633]

M *** ERROR => ThMBufFullRead: ThOpcodeToMsg [thxxmbuf.c 193]

M *** ERROR => ThMBufGet: ThMBufFullRead [thxxmbuf.c 150]

M *** ERROR => ThCheckReqInfo: message send/receive failed [thxxhead.c 14633]

M *** ERROR => ThSysAdmMsg: ThAdmSend [thxxab.c 5541]

M *** ERROR => ThCheckReqInfo: message send/receive failed [thxxhead.c 14633]

M *** ERROR => ThSysAdmMsg: ThAdmSend [thxxab.c 5541]

M *** ERROR => ThCheckReqInfo: message send/receive failed [thxxhead.c 14633]

M *** ERROR => ThMBufFullRead: ThOpcodeToMsg [thxxmbuf.c 193]

M *** ERROR => ThMBufGet: ThMBufFullRead [thxxmbuf.c 150]

system is up,when im try to log in using my username error "No logon possible (no hw ID receive by mssg server)

Former Member
0 Kudos

Hi,

Can you post the contents of dev_ms log file.? It would give more details as to why the message server is not active.

Regards,

Srikishan

Former Member
0 Kudos

hi Srikishan

-


trc file: "dev_ms", trc level: 1, release: "46D"

-


[Thr 4188] Tue Nov 22 15:46:11 2011

[Thr 4188] MsSSetTrcLog: trc logging not active

[Thr 4188] relno 4640

[Thr 4188] patchlevel 0

[Thr 4188] patchno 2259

[Thr 4188] intno 0

[Thr 4188] pid 5460

***LOG Q01=> MsSInit, MSStart (Msg Server 1 5460) [msxxserv.c 1348]

[Thr 4188] Tue Nov 22 15:46:12 2011

[Thr 4188] *** I listen to port sapmsPR1 (3600) ***

[Thr 4188] CUSTOMER KEY: >K1753384929<

[Thr 4188] Tue Nov 22 15:56:39 2011

[Thr 4188] ***LOG Q0I=> NiPRead: recv [Thr 4188] (10054: WSAECONNRESET: Connection reset by peer) [Thr 4188] [ninti.c 1131]

[Thr 4188] Wed Nov 23 08:55:20 2011

[Thr 4188] ***LOG Q0I=> NiPRead: recv [Thr 4188] (10054: WSAECONNRESET: Connection reset by peer) [Thr 4188] [ninti.c 1131]

Former Member
0 Kudos

Hello,

Did you modify any profile parameters? What problem you had in CI?

Thanks,

Siva Kumar

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Please try to login with SAP* and check if your are able to login to the system.

Thanks

sunny

Former Member
0 Kudos

hi Siva Kumar

i didn't do anything except of restarting the R3., Central instance and 1 apps server is up and running,,

Former Member
0 Kudos

yes can log in using sap*, central instance is up and running

Former Member
0 Kudos

Hi,

As you are able to login via SAP*, please check for active hardware key in the tcode SLICENSE.

If this field is empty, then the conenction to message server is not working.

Also from the dev_ms,

Thr 4188 ***LOG Q0I=> NiPRead: recv Thr 4188 (10054: WSAECONNRESET: Connection reset by peer) Thr 4188 http://ninti.c 1131

So the connection to message server initializes fine and is then dropping. Check for any change in hostname or IP address of the message server.

Regards,

Srikishan

former_member185031
Active Contributor
0 Kudos
Wed Nov 23 09:36:36 2011
***LOG Q0I=> NiPServToNo: getservbyname http://ninti.c 463
***LOG Q0A=> NiIServToNo, NiPServToNo ( sapmsPR1) http://nixxi.c 2357
*** ERROR => MsIAttach: NiBufConnect to pr1sap/sapmsPR1 failed (rc=-3) http://msxxi.c 577
***LOG Q0L=> DpLoopInit, nomscon () http://dpxxdisp.c 1348

The reason looks like your App server is not able to communicate with message server. you can check the services file once again on the app server. You can also check if there is any firewall blocking between CI and App server.

Regards,

Subhash

Former Member
0 Kudos

hi Srikishan

upon executing saplicense -show it say's no connection to database

upon checking host file : the ip address of the problem server is not included , any ? should i include?

thanks for replying

Former Member
0 Kudos

hi subhash

this was the content of services file

echo 7/tcp

echo 7/udp

discard 9/tcp sink null

discard 9/udp sink null

systat 11/tcp users #Active users

systat 11/tcp users #Active users

daytime 13/tcp

daytime 13/udp

qotd 17/tcp quote #Quote of the day

qotd 17/udp quote #Quote of the day

chargen 19/tcp ttytst source #Character generator

chargen 19/udp ttytst source #Character generator

ftp-data 20/tcp #FTP, data

ftp 21/tcp #FTP. control

telnet 23/tcp

smtp 25/tcp mail #Simple Mail Transfer Protocol

time 37/tcp timserver

time 37/udp timserver

rlp 39/udp resource #Resource Location Protocol

nameserver 42/tcp name #Host Name Server

nameserver 42/udp name #Host Name Server

nicname 43/tcp whois

domain 53/tcp #Domain Name Server

domain 53/udp #Domain Name Server

bootps 67/udp dhcps #Bootstrap Protocol Server

bootpc 68/udp dhcpc #Bootstrap Protocol Client

tftp 69/udp #Trivial File Transfer

gopher 70/tcp

finger 79/tcp

http 80/tcp www www-http #World Wide Web

kerberos 88/tcp krb5 kerberos-sec #Kerberos

kerberos 88/udp krb5 kerberos-sec #Kerberos

hostname 101/tcp hostnames #NIC Host Name Server

iso-tsap 102/tcp #ISO-TSAP Class 0

rtelnet 107/tcp #Remote Telnet Service

pop2 109/tcp postoffice #Post Office Protocol - Version 2

pop3 110/tcp #Post Office Protocol - Version 3

sunrpc 111/tcp rpcbind portmap #SUN Remote Procedure Call

sunrpc 111/udp rpcbind portmap #SUN Remote Procedure Call

auth 113/tcp ident tap #Identification Protocol

uucp-path 117/tcp

nntp 119/tcp usenet #Network News Transfer Protocol

ntp 123/udp #Network Time Protocol

epmap 135/tcp loc-srv #DCE endpoint resolution

epmap 135/udp loc-srv #DCE endpoint resolution

netbios-ns 137/tcp nbname #NETBIOS Name Service

netbios-ns 137/udp nbname #NETBIOS Name Service

netbios-dgm 138/udp nbdatagram #NETBIOS Datagram Service

netbios-ssn 139/tcp nbsession #NETBIOS Session Service

imap 143/tcp imap4 #Internet Message Access Protocol

pcmail-srv 158/tcp #PCMail Server

snmp 161/udp #SNMP

snmptrap 162/udp snmp-trap #SNMP trap

print-srv 170/tcp #Network PostScript

bgp 179/tcp #Border Gateway Protocol

irc 194/tcp #Internet Relay Chat Protocol

ipx 213/udp #IPX over IP

ldap 389/tcp #Lightweight Directory Access Protocol

https 443/tcp MCom

https 443/udp MCom

microsoft-ds 445/tcp

microsoft-ds 445/udp

kpasswd 464/tcp # Kerberos (v5)

kpasswd 464/udp # Kerberos (v5)

isakmp 500/udp ike #Internet Key Exchange

exec 512/tcp #Remote Process Execution

biff 512/udp comsat

login 513/tcp #Remote Login

who 513/udp whod

cmd 514/tcp shell

syslog 514/udp

printer 515/tcp spooler

talk 517/udp

ntalk 518/udp

efs 520/tcp #Extended File Name Server

router 520/udp route routed

timed 525/udp timeserver

tempo 526/tcp newdate

courier 530/tcp rpc

conference 531/tcp chat

netnews 532/tcp readnews

netwall 533/udp #For emergency broadcasts

uucp 540/tcp uucpd

klogin 543/tcp #Kerberos login

kshell 544/tcp krcmd #Kerberos remote shell

new-rwho 550/udp new-who

remotefs 556/tcp rfs rfs_server

rmonitor 560/udp rmonitord

monitor 561/udp

ldaps 636/tcp sldap #LDAP over TLS/SSL

doom 666/tcp #Doom Id Software

doom 666/udp #Doom Id Software

kerberos-adm 749/tcp #Kerberos administration

kerberos-adm 749/udp #Kerberos administration

kerberos-iv 750/udp #Kerberos version IV

kpop 1109/tcp #Kerberos POP

phone 1167/udp #Conference calling

ms-sql-s 1433/tcp #Microsoft-SQL-Server

ms-sql-s 1433/udp #Microsoft-SQL-Server

ms-sql-m 1434/tcp #Microsoft-SQL-Monitor

ms-sql-m 1434/udp #Microsoft-SQL-Monitor

wins 1512/tcp #Microsoft Windows Internet Name Service

wins 1512/udp #Microsoft Windows Internet Name Service

ingreslock 1524/tcp ingres

l2tp 1701/udp #Layer Two Tunneling Protocol

pptp 1723/tcp #Point-to-point tunnelling protocol

radius 1812/udp #RADIUS authentication protocol

radacct 1813/udp #RADIUS accounting protocol

nfsd 2049/udp nfs #NFS server

knetd 2053/tcp #Kerberos de-multiplexor

man 9535/tcp #Remote Man Server

sapdp00 3200/tcp

sapgw00 3300/tcp

sapgw00s 4800/tcp

sapmsPR1 3600/tcp

Former Member
0 Kudos

Hi,

Are you able to successfully ping from the application server to the message server 'pr1sap' in your case.?

I would also suggest adding the message server hostname/IP address details to the applciation server's hosts file.

Regards,

Srikishan

Former Member
0 Kudos

yes i was able to ping the message server to application server., is parameter change can cause also with this error?

Former Member
0 Kudos

hi

what does it logs meaning for

Wed Nov 23 08:30:02 2011

***LOG Q0I=> NiPServToNo: getservbyname [ninti.c 463]

***LOG Q0A=> NiIServToNo, service_unkown ( sapmsPR1) [nixxi.c 2337]

      • ERROR => MsIAttach: NiBufConnect to pr1sap/sapmsPR1 failed (rc=-3) [msxxi.c 577]

Former Member
0 Kudos

Hi,

You get this error on the application server host. So either the application server host is not able to connect to the pr1sap host or the sapmsPR1 service is not known.

Service_unknown message suggest the serivice file entry for sapmsPR1 is not bein identified properly.

Also in the services file, make sure there a newline character ('Enter') after the entry for sapmsPR1.

Regards,

Srikishan

Former Member
0 Kudos

hi

your saying , that i need to put space after samspr1 , is this on Central Instance SERVER ? or on Application server

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

You need to put sapms<SID> 36<message server no> on all the application servers.

Thanks

Sunny

Former Member
0 Kudos

Hello,

Srikishan meant, press Enter after entry sapmsPR1 36XX then it creates new blank line on all app servers. Please save the file once done.

Srikishan - Correct me if I am wrong.

Thanks,

Siva Kumar

Edited by: Siva Kumar Arivinti on Nov 24, 2011 11:05 AM

Former Member
0 Kudos

HI

it has sapmsPR1 3600/tcp in all application

knetd 2053/tcp #Kerberos de-multiplexor

man 9535/tcp #Remote Man Server

sapdp00 3200/tcp

sapgw00 3300/tcp

sapgw00s 4800/tcp

sapmsPR1 3600/tcp

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Could you please increase trace level in SAP MMC on dispatcher and see if you get more information out of it.

Thanks

Sunny

Former Member
0 Kudos

thanks a lot

you remind me about spacing., when i check the file it has no space, it's look it their is but when i move my scroll i found there's no spacing ,

Former Member
0 Kudos

hi just a followup question although my problem is done

when was the time that the services file changes? what activity it could be change.,

Former Member
0 Kudos

Hello,

Services file contains TCP/IP and other port information which allows your system to connect other services within or outside the server/host.

Hope it helps.

Thanks,

Siva Kumar

Former Member
0 Kudos

hi siva kumar thanks for the info

but my question is when was the time that the file could change,,

the file was modify last 7/22/2011 at 4pm ,, but i have no activity in the time

Former Member
0 Kudos

Hello,

It could be changed by other persons/team like OS team. It might have changed by other software installations on that server.

Thanks,

Siva Kumar

Former Member
0 Kudos

thanks for the info again

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Check your services file if the sapmsPR1 service is defined correctly.

/etc/services or ..\Windows\System32\drivers\etc

sapmsPR1 36<central instance number>/tcp

Further, check network connectivity between application server host and central instance host.

Regards,

Srikishan