Submit a ticketCall us

Announcing NPM 12.2
With NPM 12.2 you can monitor your Cisco ASA firewalls, to monitor VPN tunnels for basic visibility and troubleshooting tunnels. NPM 12.2 also uses the SolarWinds Orion Installer so you can easily install and upgrade one or more Orion Platform products simultaneously.
See new features and improvements.

Home > Success Center > Network Configuration Manager (NCM) > Module Engine restarts when running script for NCM

Module Engine restarts when running script for NCM

Created by Malik Haider, last modified by MindTouch on Jun 23, 2016

Views: 27 Votes: 1 Revisions: 15

Overview

This article describes the issue where Module Engine keeps restarting while running script for NCM.

 

 

 

The logs also present an error in C:\ProgramData\Solarwinds\Logs\Orion:

BusinessLayerHost.log:

2016-04-15 07:13:37,700 [26]  ERROR SolarWinds.BusinessLayerHost.BusinessLayerHostService - Unhandled exception caught by business layer host. System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Interop.cdosys.MessageClass.Send()
   at SolarWinds.Cirrus.BusinessLayer.EmailSender.Send()
   at SolarWinds.Cirrus.BusinessLayer.RTNHelper.SendMHtmlMail(EmailSender sender, TransferResults results, String diffList, ConfiglastConfig, ConfigcurrentConfig) 
   at SolarWinds.Cirrus.BusinessLayer.RTNHelper.SendMailNotification(TransferResults results, String diffList, Config lastConfig, Config currentConfig)
   at SolarWinds.Cirrus.BusinessLayer.RTNHelper.ProcessRTNResults(TransferResults results, String diffList, Config currentConfig, Config lastConfig)
   at SolarWinds.Cirrus.BusinessLayer.TransferEngine.TransferManager.PostActions(TransferResults results)
   at SolarWinds.Cirrus.BusinessLayer.TransferEngine.TransferManager.ProcessResultsAsync(TransferResults results)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
   at System.Runtime.Remoting.Proxies.AgileAsyncWorkerItem.ThreadPoolCallBack(Object o)
   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:domain-SolarWinds.NCM.BusinessLayerPlugin.dll
There are no context policies.

 

Windows Event Log:  

Application: SolarWinds.BusinessLayerHost.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: exception code c0000005, exception address 000A000D
Stack:
   at Interop.cdosys.MessageClass.Send()
   at SolarWinds.Cirrus.BusinessLayer.EmailSender.Send()
   at SolarWinds.Cirrus.BusinessLayer.RTNHelper.SendMHtmlMail(SolarWinds.Cirrus.BusinessLayer.EmailSender, SolarWinds.NCM.Transfer.TransferResults, System.String, SolarWinds.Cirrus.BusinessLayer.Models.Config, SolarWinds.Cirrus.BusinessLayer.Models.Config)
   at SolarWinds.Cirrus.BusinessLayer.RTNHelper.SendMailNotification(SolarWinds.NCM.Transfer.TransferResults, System.String, SolarWinds.Cirrus.BusinessLayer.Models.Config, SolarWinds.Cirrus.BusinessLayer.Models.Config)
   at SolarWinds.Cirrus.BusinessLayer.RTNHelper.ProcessRTNResults(SolarWinds.NCM.Transfer.TransferResults, System.String, SolarWinds.Cirrus.BusinessLayer.Models.Config, SolarWinds.Cirrus.BusinessLayer.Models.Config)
   at SolarWinds.Cirrus.BusinessLayer.TransferEngine.TransferManager.PostActions(SolarWinds.NCM.Transfer.TransferResults)
   at SolarWinds.Cirrus.BusinessLayer.TransferEngine.TransferManager.ProcessResultsAsync(SolarWinds.NCM.Transfer.TransferResults)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr, System.Object[], System.Object, System.Object[] ByRef)

 

Environment

NCM version 7.4 

Cause 

This issue occurs when the device config is changed while running any script and RTN fails to send the email results. It keeps downloading the configuration in the background.

Last modified
21:09, 22 Jun 2016

Tags

Classifications

Public