Skip to main content
NetApp Knowledge Base

Missing Message Queuing service causes issues on SnapCenter job

Views:
219
Visibility:
Public
Votes:
0
Category:
snapcenter
Specialty:
dp
Last Updated:

Applies to

  • SnapCenter Server
  • SnapCenter Plug-in for Microsoft Windows

Issue

Symptom 1:

SnapCenter job fails due to 'Message Queuing has not been installed on this computer.' and the following error can be seen in SMCoreService.log/SMCore_<JobID>.log

  <TIMESTAMP> ERROR SMCore PID=[<PID>] TID=[<TID>] System.InvalidOperationException: Message Queuing has not been installed on this computer.
     at System.Messaging.Interop.SafeNativeMethods.MQPathNameToFormatName(String pathName, StringBuilder formatName, Int32& count)
     at System.Messaging.MessageQueue.ResolveFormatNameFromQueuePath(String queuePath, Boolean throwException)
     at System.Messaging.MessageQueue.Exists(String path)
     at JobManager.SmQueue..ctor(String queueName)
     at JobManager.SmJobManager..ctor(String qPath, ISmJobManagerConsumer consumerImpl)
     at SnapMgrCoreService.HostManagementService.<.cctor>b__4e()
     at System.Lazy`1.CreateValue()

Symptom 2:

SnapCenter job keeps running and the following error can be seen in SMCoreService.log/SMCore_<JobID>.log

<TIMESTAMP> ERROR SMCore_49 PID=[<PID>] TID=[<TID>] An error occurred while adding job to jobQ: Message Queuing has not been installed on this computer.Source: System.Messaging
  Stack Trace:    at System.Messaging.Interop.SafeNativeMethods.MQPathNameToFormatName(String pathName, StringBuilder formatName, Int32& count)
     at System.Messaging.MessageQueue.ResolveFormatNameFromQueuePath(String queuePath, Boolean throwException)
     at System.Messaging.MessageQueue.Exists(String path)
     at JobManager.SmQueue..ctor(String queueName)
     at JobManager.SmJobManager..ctor(String qPath, ISmJobManagerConsumer consumerImpl)
     at SnapMgrCoreService.HostManagementService.<.cctor>b__39()
     at System.Lazy`1.CreateValue()
  --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
     at System.Lazy`1.get_Value()
     at SnapMgrCoreService.ProtectionService.AddJob(SmRequest request)

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support