MSMQ Errors in the Cluster.log

MSMQ Errors in the Cluster.log

  • Comments 1

After using the Get-ClusterLog cmdlet to generate the Cluster.log, you may notice the following errors in the cluster log:

ERR   [RHS] s_RhsRpcCreateResType: ERROR_NOT_READY(21)' because of 'Startup routine for ResType MSMQ returned 21.'
WARN  [RCM] Failed to load restype 'MSMQ': error 21.

ERR   [RHS] s_RhsRpcCreateResType: ERROR_NOT_READY(21)' because of 'Startup routine for ResType MSMQTriggers returned 21.'
WARN  [RCM] Failed to load restype 'MSMQTriggers': error 21.

Root Cause:

These events are logged because the MSMQ and MSMQ Triggers resource types are registered with the cluster service, but the MSMQ resource DLL cannot be loaded because the MSMQ feature is not installed.  This is the default configuration when the Failover Clustering feature is installed.

Possible Solutions:

  1. Ignore - These are benign events to a debug log and can be safely ignored.  They have no impact on the functionality of the cluster, nor do they indicate a failure.
  2. Install MSMQ - If you plan to make MSMQ highly available on this cluster, open Server Manager and install the “Message Queuing” feature on all nodes in the cluster.  The above errors will no longer be logged.
  3. Unregister MSMQ Resources - If this is a non-MSMQ cluster, you can unregister the MSMQ and MSMQ resource type with the Cluster Service and the above errors will no longer be logged.  This can be accomplished with the Remove-ClusterResourceType cmdlet.  Open a PowerShell window and type the following:

PS C:\> Remove-ClusterResourceType MSMQ

PS C:\> Remove-ClusterResourceType MSMQTriggers

In summary... just ignore them, they are just noise.  If they annoy you and you don't plan to use MSMQ, then unregister the MSMQ resource types.

Thanks!
Elden Christensen
Principal Program Manager Lead
Clustering & High-Availability
Microsoft

Leave a Comment
  • Please add 5 and 1 and type the answer here:
  • Post
  • Thanks for the explanation and workaround. I do believe, though, that errors should not be produced by 'default', because you can quickly end up with lots of errors in your logs that aren't problematical, but you need either good experience or a crib sheet to know that, and it makes it easy to miss real errors.

Page 1 of 1 (1 items)