Submit a ticketCall us
Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > Orion Module Engine restarts every 15 minutes

Orion Module Engine restarts every 15 minutes

Updated October 31, 2018

Overview

This article details a resolution to the issue in which the SolarWinds Orion Module Engine automatically restarts every 15 minutes.

The SolarWinds Orion Module Engine automatically restarts every 15 minutes. The BusinessLayerHost.log returned errors with DPI and Agent Management indicating that they failed to start. The DPI and Agent Management service failed to find the required assembly files. The agent when installing has some external software dependencies, but in some cases, the OS requires a reboot before they can be installed.

 

The BusinessLayerHost.log return errors with DPI and Agent Management indicating that they failed to start.

BusinessLayerHost.log

2016-04-01 16:42:26,442 [7] INFO  SolarWinds.BusinessLayerHost.PluginInstanceAppDomain - Starting plugin: "DPI Business Layer"
2016-04-01 16:46:41,529 [7] ERROR SolarWinds.BusinessLayerHost.PluginInstanceAppDomain - Plugin "DPI Business Layer" failed to start.
System.Runtime.Serialization.SerializationException: Unable to find assembly 'SolarWinds.DPI.BusinessLayer, Version=2.0.6.593, Culture=neutral, PublicKeyToken=null'.
Server stack trace: 
   at System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo, String name)
   at System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(String objectName, String[] memberNames, BinaryTypeEnum[] binaryTypeEnumA, Object[] typeInformationA, Int32[] memberAssemIds, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo, SizedArray assemIdToAssemblyTable)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryHeaderEnum binaryHeaderEnum)
   at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)
   at System.Runtime.Remoting.Messaging.SmuggledMethodReturnMessage.FixupForNewAppDomain()
   at System.Runtime.Remoting.Channels.CrossAppDomainSink.SyncProcessMessage(IMessage reqMsg)
Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at SolarWinds.BusinessLayerHost.Contract.BusinessLayerPlugin.Start()
   at SolarWinds.BusinessLayerHost.PluginInstanceAppDomain.Start()
2016-04-01 16:46:41,529 [7] INFO  SolarWinds.BusinessLayerHost.PluginInstanceAppDomain - Starting plugin: "Interfaces Business Layer"
2016-04-01 16:46:45,607 [7] INFO  SolarWinds.BusinessLayerHost.PluginInstanceAppDomain - Starting plugin: "NCM Business Layer Plugin"
2016-04-01 16:46:49,998 [7] INFO  SolarWinds.BusinessLayerHost.PluginInstanceAppDomain - Starting plugin: "NPM Business Layer"
2016-04-01 16:46:54,779 [7] INFO  SolarWinds.BusinessLayerHost.PluginInstanceAppDomain - Starting plugin: "Orion Improvement"
2016-04-01 16:46:59,608 [7] INFO  SolarWinds.BusinessLayerHost.PluginInstanceAppDomain - Starting plugin: "Recommendation Engine Business Layer"
2016-04-01 16:47:03,858 [7] INFO  SolarWinds.BusinessLayerHost.PluginInstanceAppDomain - Starting plugin: "Virtualization Business Layer"
2016-04-01 16:47:12,529 [7] INFO  SolarWinds.BusinessLayerHost.PluginInstanceAppDomain - Starting plugin: "VNQM Business Layer"
2016-04-01 16:47:20,342 [7] INFO  SolarWinds.BusinessLayerHost.PluginInstanceAppDomain - Starting plugin: "WLHM Business Layer"
2016-04-01 16:47:26,748 [Scheduler] ERROR SolarWinds.BusinessLayerHost.PluginInstanceSeparateProcess - Instance D:\Program Files (x86)\SolarWinds\Orion\AgentManagement\SolarWinds.AgentManagement.ServiceCore.dll.config - ProcessID:4988 doesn't exists anymore
2016-04-01 16:47:26,748 [Scheduler] ERROR SolarWinds.Common.Utility.ScheduledTask - CheckPlugins threw an exception.
System.InvalidOperationException: Instance D:\Program Files (x86)\SolarWinds\Orion\AgentManagement\SolarWinds.AgentManagement.ServiceCore.dll.config - ProcessID:4988 doesn't exists anymore
   at SolarWinds.BusinessLayerHost.PluginInstanceSeparateProcess.KeepAlive()
   at SolarWinds.BusinessLayerHost.PluginManager.CheckHealth()
   at SolarWinds.BusinessLayerHost.BusinessLayerHostService.CheckPlugins(Object state)
   at SolarWinds.Common.Utility.ScheduledTask.DoWork()
   at SolarWinds.Common.Utility.ScheduledTask.Run()
2016-04-01 16:47:26,748 [28] ERROR SolarWinds.BusinessLayerHost.BusinessLayerHostService - Unhandled exception caught by business layer host. System.InvalidOperationException: Instance D:\Program Files (x86)\SolarWinds\Orion\AgentManagement\SolarWinds.AgentManagement.ServiceCore.dll.config - ProcessID:4988 doesn't exists anymore
   at SolarWinds.BusinessLayerHost.BusinessLayerHostService.<>c__DisplayClass6.<CheckPlugins>b__5(Object n)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
   Sender: Name:SolarWinds.BusinessLayerHost.exe
There are no context policies.

 

AgentManagement.service.log

16:50:13,346 [6]ERROR SolarWinds.AgentManagement.ServiceCore.AgentManagementServiceApp - <log4net.Error>Exception during StringFormat: Could not load file or assembly 'SolarWinds.AMS.Proxy.dll' or one of its dependencies. The specified module could not be found. <format>Error executing start operation '{0}'. Retrying in 5 seconds. {1}</format><args>{InitMessagingService, <Exception: Could not load file or assembly 'SolarWinds.AMS.Proxy.dll' or one of its dependencies. The specified module could not be found.>}</args></log4net.Error>

Environment

  • NPM 11.0 and later

Cause 

The DPI and Agent Management service failed to find the required assembly files. The agent when installing has some external software dependencies, but in some cases, the OS requires a reboot before they can be installed. 
Those dependencies include .NET Framework 4.0, and the 32bit and 64bit Microsoft Visual C++ 2013 Runtime. 
Microsoft updates are removing some of these components. They need to be reinstalled to resolve the issue

Resolution

  1. Install both the x86 and x64 versions of Visual C++ redistributable 2013 from the Microsoft website.
  2. Restart all Orion Services.

 

 

Last modified

Tags

Classifications

Public