Submit a ticketCall us

Don’t fall victim to a ransomware attack
Backups are helpful, but sometimes that’s not enough to protect your business against ransomware. At our live webcast we will discuss how to protect against ransomware attacks with SolarWinds® Patch Manager and how to leverage log data to detect ransomware. Register now for our live webcast.

Home > Success Center > Network Performance Monitor (NPM) > Unable to start RabbitMQ service on the server

Unable to start RabbitMQ service on the server

Updated June 15, 2016

Overview

This article provides brief information and steps to resolve the issue when you are unable to start RabbitMQ service installed with NPM v12 on the server.

Attempting to start the service through service.msc also fails. The following error appears when running the service through Configuration Wizard:

Website configuration failed:

Exception has been thrown by the target of an invocation.

Services configuration failed:

Error stating Service (RabbitMQ). Cannot start service RabbitMQ  on computer.

 

ConfigurationWizard.log entries:

2016-06-01 18:57:21,175 [5] WARN  ServiceHelper - System.InvalidOperationException: Cannot start service RabbitMQ on computer '.'. ---> System.ComponentModel.Win32Exception: The dependency service does not exist or has been marked for deletion
   --- End of inner exception stack trace ---
   at System.ServiceProcess.ServiceController.Start(String[] args)
   at System.ServiceProcess.ServiceController.Start()
   at SolarWinds.ConfigurationWizard.Common.ServiceHelper.StartService(String serviceName, TimeSpan startTimeout, String& errorMessage)

 

The same error above appears when you attempt to start the service through services.msc.

 

Environment

NPM version 12

Cause 

The error is caused when there are dependencies that the service needs to be running and present, but they are not running, not present or are queued to uninstall and reinstall on a restart of the server.

Resolution

  1. Remove RabbitMQ from the server by running a cmd with administrator privileges and run this command:
    sc delete rabbitmq
  2. Restart the server.
  3. Re-install NPM on the server. This will reinstall RabbitMQ back on, but this time with all of its dependencies cleared after the reboot.

 

 

 

 

Last modified
09:53, 8 Mar 2017

Tags

Classifications

Public