OCS 2007 R2 – fresh install – Monitoring service fails to start

I’ve seen this a few times during the installation of OCS 2007 R2, the “Office Communications Server Monitoring Agent” wont start, it immediately stops, with no real errors on screen or in the event log.

Error that pops up, on screen: “some services stop if there is nothing to do”.

Reason, it’s because the pre-requirements for Monitoring Service is not meet, it needs the Microsoft Message Queuing Service (MSMQ).

If you need the Monitoring Service, you’ll need to install the MSMQ.

This can be done using:

Servermanagercmd.exe -I MSMQ-Server

The error is also stated in this forum thread: http://social.microsoft.com/Forums/en-US/communicationsserversetup/thread/418720e6-4c61-46e2-81ac-21350c19e223/