cancel
Showing results for 
Search instead for 
Did you mean: 

msg_server not running

Private_Member_19084
Active Contributor
0 Kudos

Hi experts,

I have to system, which are confusing me.

In one system I can see in SAP MC that msg_server is stopped.

In the second system I can not even see the msg_server process.

BUT!

All systems seems to be ok for me.

Also in transaction SM14 everything is ok (and I think this process is for this, isn't it?)

What can be the reason for this?
And what can I do.

Thx

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

When did you identify the issue . did you go for kernel upgrade.

Also check the below note.

1586315 - Dialog Queue info unavailable in SAP MMC after kernel update

Also check the below command

  1. sapcontrol -nr 00 -function GetVersionInfo

And check the version of sapstartsrv.exe is same across the kernel files.

Thanks

Rishi Abrol

Former Member
0 Kudos

Hi,

Can you please run the below command and see if you find any thing in the output.

ps -eaf | grep 15890

Do you see the process running.

Thanks

Rishi Abrol


Private_Member_19084
Active Contributor
0 Kudos

no, I don't see the process running

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Do you have separate central services (SCS) ?

Also is this a windows system ?

Go to the profile directory and check the parameter rdisp/mshost in the default profile.

Check whether the msesage server is running on that host.

Regards

RB

Private_Member_19084
Active Contributor
0 Kudos

Thx for help.

Yes, there is an SCS on the system.

And there I can see an msg_server process - is this the process I am looking for?

If so do I have to maintain this instance in Technical Monitoring and monitor this?

How do I do this?

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

If there is central services then that is where the message server runs.

check the dev_ms trace file in the /usr/sap/SID/SCS00/work

Regards

RB

former_member183107
Contributor
0 Kudos

1. Check with the parameter in default profile as instructed by RB, That will give you the idea where your message server resides.

2. After that go to the system where your one mess server is stopped. If it is different from scs then restart it and keep monitoring it from the sapmmc of SCS.

3. Check if both the server comes up correctly.

Regards,

Himanshu

Answers (11)

Answers (11)

Private_Member_19084
Active Contributor
0 Kudos

I will move this issue now to Solution Manager.

I am talking about the technical monitoring in solution manager.

And first I thought, that is an error in message server, because I did interpret the SAP MC wrong.

Now I see, that I also have to consider the SCS.

Kind regards and thx for help to everyone

Former Member
0 Kudos

hey,

what do you mean by technical monitoring..?

can you please just tell me are you facing any issue with system and what are you expecting from us..?

please elaborate..,

Private_Member_19084
Active Contributor
0 Kudos

Hi guys,

so in my SAP MC I can see two instances.

The <SID> and the SCS.

And SCS seems to be ok, because on this the message Server is running and everything is fine.

My probelm now is, that technical Monitoring seems to check the msg_server from the <SID> instead of the SCS instance.

If I execute the following command for SCS it seems to be ok.

sapcontrol -nr <scs number> -function GetProcessList

But what do I have to Change in technical Monitoring, that this works???

Former Member
0 Kudos

there you go, u have separate SCS instance and you were searching for message server on CI.., 😮 ..,

please check this command and paste us the output.

sapcontrol -nr <instance_nr> -function GetProcessList

you should be able to view message server running on this and if not, check the sapstartservices in /usr/sap folder and make sure that the startup services are pointing to the right location. If you are unable to view the message server process details from above command and if your system is available, then kill the sap start services, and restart with this command.

/usr/sap/sapservices

this should restart and if you add the instance again on SAP MC, it should be visible this time.

Former Member
0 Kudos

did u try to do a clean restart including removing of semaphores and shared memory segments..?

please add some screenshots or error logs if u find on work directory..,

Former Member
0 Kudos

Hi,

The standard entries in the services file would be:

sapmsERP     36xx/tcp     # SAP System Messaging Service Port

whereby xx is replaced by your instance number

Additionaly, the following ports are defined

sapdp00     3200/tcp     # SAP System Dispatcher Port

.....

sapdp99     3299/tcp     # SAP System Dispatcher Port

sapgw00     3300/tcp     # SAP System Gateway Port

.....

sapgw99     3399/tcp     # SAP System Gateway Port

sapdp00s     4700/tcp     # SAP System Dispatcher Security Port

.....

sapdp99s     4799/tcp     # SAP System Dispatcher Security Port

sapgw00s     4800/tcp     # SAP System Gateway Security Port

.....

sapgw99s     4899/tcp     # SAP System Gateway Security Port

BR,

Prabhakar

Former Member
0 Kudos

Please check SMMS transaction in abap system . If it shows that message server is running then its ok.

Thanks

Rishi Abrol

Private_Member_19084
Active Contributor
0 Kudos

Yes, in both Systems SMMS Shows active.

I know that the Server i ok, but the process is not running and so I also have an error in tech-mon.

Former Member
0 Kudos

Hi,

What about this one

http://hostname:8100/msgserver/commands

If this is also coming then i would tell try to restart the application and see if the process comes as running.

just clean all the ipc and then start back.

Thanks

Rishi Abrol

Private_Member_19084
Active Contributor
0 Kudos

Hi Rishi,

no this page is not coming.

And I've tested it on other servers, on which msg_server is running and there I get the page.

What does it mean?

Former Member
0 Kudos

Can you attach work/sapstart.log file?

Former Member
0 Kudos

Hi,

It looks to me that the process has hanged and this might be the reason why solman cant read it.

Try to go for reboot and see if it fixes the issue.

Thanks

Rishi Abrol

Former Member
0 Kudos

Hi Christian,

If you have already checked the services file and it contains the appropriate entries, I would suspect that you have a problem with your profile files.  Did you by any change rename the server from its default and/or change the server's domain?

Coulkd you post the error log?

BR,

Prabhakar

Former Member
0 Kudos

Hello Christian,

Is the system running on High availability ? Is the SAP MC is configured with physical host or the virtual hostname?

Regards,

Mudasir

ashish_vikas
Active Contributor
0 Kudos

igswd_mt, IGS Watchdog, GREEN, Running, 2013 11 09 18:33:32, 132:47:37, 18316

igswd_mt, IGS Watchdog, GREEN, Running, 2013 11 06 19:11:19, 204:12:54, 15892

both servers are not same as you have different PID.

So why you are comparing this ?

best regards

ashish

Private_Member_19084
Active Contributor
0 Kudos

What do you mean?

former_member183107
Contributor
0 Kudos

Hi,

1. Send us the screenshot of sapmmc and the logs of dev_ms.

2. Is database up and running?

3. paste the output of R3trans -d.

4. What is the OS and DB?

Regards,

Himanshu

Private_Member_19084
Active Contributor
0 Kudos

On the server, which is not showing the msg_server process, I don't have any dev_ms file.

And regarding the scond server, a stupid question, can't I just try to start the process?

Or what is it good for and what does it mean if it is stopped?

former_member183107
Contributor
0 Kudos

Please send us the screenshot, maybe then we can identify the situation or else try to start the message server and then send us the logs generated at location \usr\sap\<SID>\DVEBMGS<00>\work , 00 being the instance number

Regards,

Himanshu

jgleichmann
Active Contributor
0 Kudos

Hi Christian,

please have a look into the dev_ms file (instance_Dir/work).

Also execute the sapcontrol on the affected systems:

sapcontrol -nr <system number> -function GetProcessList

This should be the same result as you can see in the SAP MC. If not update your SAP MC version.

Which kernel are you using?

Regards,

Jens

Private_Member_19084
Active Contributor
0 Kudos

So, on one system, which is not displaying the msg_server process the output is the following:

name, description, dispstatus, textstatus, starttime, elapsedtime, pid

disp+work, Dispatcher, GREEN, Running, Message Server connection ok, Dialog Queue time: 0.00 sec, 2013 11 09 18:33:32, 132:47:37, 18315

igswd_mt, IGS Watchdog, GREEN, Running, 2013 11 09 18:33:32, 132:47:37, 18316

And from the second one, which is displaying the msg_server stopped the out put is this:

name, description, dispstatus, textstatus, starttime, elapsedtime, pid

msg_server, MessageServer, GRAY, Stopped, , , 15890

disp+work, Dispatcher, GREEN, Running, Message Server connection ok, Dialog Queue time: 0.00 sec, 2013 11 06 19:11:19, 204:12:54, 15891

igswd_mt, IGS Watchdog, GREEN, Running, 2013 11 06 19:11:19, 204:12:54, 15892

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Could you expand all the nodes in the SAP MMC and provide the screen shot please ?

Regards

RB

jgleichmann
Active Contributor
0 Kudos

check if all needed ports for the message server are not already in use by another program:

540379  - Ports and services used by SAP

1) you have to check the ports 36<Instance_number> and 39<Instance_number> (netstat command is explained in the note)

2) On which OS the systems are running?

3) check dev_disp log if internal message port is in use

4) kernel version (disp+work -V or transaction SM51 release information)

Regards,

Jens

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Are you able to access the Central instance ?

Check the trace file dev_ms

Regards

RB