Submit a ticketCall us

AnnouncementsTHWACKcamp 2018 is here

2018 is the seventh year for THWACKcamp™, and once again we’ll be live October 17 – 18 with packed session tracks covering everything from network monitoring and management, to change control, application management, storage, cloud and DevOps, security, automation, virtualization, mapping, logging, and more.

Register for online sessions.

Home > Success Center > Netflow Traffic Analyzer (NTA) > NTA - Knowledgebase Articles > Netflow Service flapping immediately after upgrading NTA

Netflow Service flapping immediately after upgrading NTA

Updated October 10, 2017

Overview

After upgrading NTA, the Netflow Service stops approximately every 30 seconds on the NTA Collector server.

 

The following error messages can be found in the NTA.BusinessLayer.logs:

 

XXXX-XX-XX XX:XX:XX,XXX [9] ERROR SolarWinds.Orion.NetFlow.Service.Program - NetFlowService will be abnormally terminated - Unhandled exception.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'SolarWinds.Common.Threading.LazyWithoutExceptionCache`1' from assembly 'SolarWinds.Common, Version=2015.1.35100.9209, Culture=neutral, PublicKeyToken=null'.

   at SolarWinds.Orion.Core.Common.InformationService.InformationServiceSubscriptionProviderShared.Instance()

   at SolarWinds.Netflow.Processing.SWIS.InformationServiceSubscriptionProviderWrapper..ctor()

   --- End of inner exception stack trace ---

   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)

   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

   at System.Activator.CreateInstance(Type type, Boolean nonPublic)

   at System.Activator.CreateInstance(Type type)

   at System.Lazy`1.CreateValue()

   at System.Lazy`1.LazyInitValue()

   at SolarWinds.Netflow.Processing.SWIS.SwisSubscriptionsManager..ctor(INodeCache nodeCache)

   at SolarWinds.Netflow.Processing.ReceiverApp.InitializeService()

   at SolarWinds.Netflow.Processing.ReceiverApp.Start()

   at SolarWinds.Netflow.Processing.AppContext.<Initialize>b__a()

   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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ThreadHelper.ThreadStart()

 

XXXX-XX-XX XX:XX:XX,XXX [9] ERROR SolarWinds.Orion.NetFlow.Service.Program - NetFlowService Disk free space information: Temp - [C:] - 40026271744 bytes free, DB - [C:] - 40026271744 bytes free

 

XXXX-XX-XX XX:XX:XX,XXX [9] ERROR SolarWinds.Orion.Common.SWEventLogging - Unhandled exception - Disk free space information [Temp - [C:] - 40026271744 bytes free, DB - [C:] - 40026271744 bytes free] : Exception has been thrown by the target of an invocation.

 

XXXX-XX-XX XX:XX:XX,XXX [9] ERROR SolarWinds.Orion.NetFlow.Service.Program - Unhandled exception: Message: Exception has been thrown by the target of an invocation.

Stack Trace:    at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)

   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)

   at System.Activator.CreateInstance(Type type, Boolean nonPublic)

   at System.Activator.CreateInstance(Type type)

   at System.Lazy`1.CreateValue()

   at System.Lazy`1.LazyInitValue()

   at SolarWinds.Netflow.Processing.SWIS.SwisSubscriptionsManager..ctor(INodeCache nodeCache)

   at SolarWinds.Netflow.Processing.ReceiverApp.InitializeService()

   at SolarWinds.Netflow.Processing.ReceiverApp.Start()

   at SolarWinds.Netflow.Processing.AppContext.<Initialize>b__a()

   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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

   at System.Threading.ThreadHelper.ThreadStart()

 Type: System.Reflection.TargetInvocationExceptionMessage: Could not load type 'SolarWinds.Common.Threading.LazyWithoutExceptionCache`1' from assembly 'SolarWinds.Common, Version=2015.1.35100.9209, Culture=neutral, PublicKeyToken=null'.

Stack Trace:    at SolarWinds.Orion.Core.Common.InformationService.InformationServiceSubscriptionProviderShared.Instance()

   at SolarWinds.Netflow.Processing.SWIS.InformationServiceSubscriptionProviderWrapper..ctor()

 Type: System.TypeLoadException

Environment

  • All Orion NTA 4.2.2 environments immediately post-upgrade

Cause 

This problem is caused by the NTA program files folder containing files from older installations.

Resolution

  1. Confirm the exact error messages in the Overview above are in the NTA.BusinessLayer.logs. If so, complete the remaining steps.
  2. Navigate to: C:\Program Files (x86)\SolarWinds\Orion\NetFlowTrafficAnalysis (this may be a different drive letter such as D: if installed on a different drive).

  3. Copy the folder noted above (C:\Program Files (x86)\SolarWinds\Orion\NetFlowTrafficAnalysis) into a different path (such as C:\Program Files (x86)\SolarWinds\Orion\NetFlowTrafficAnalysis2) and then delete the contents of the original folder (C:\Program Files (x86)\SolarWinds\Orion\NetFlowTrafficAnalysis). The copied folder can be deleted once the fix is confirmed.

  4. If some files cannot be deleted, try deleting them using a true Local Administrator account (not a domain user with Local Administrator privileges) and stopping all Orion services using the Orion Service Manager.

  5.  Go to Control Panel > Programs & Features from the search bar or the Windows Server start menu.

  6. Find SolarWinds Orion NetFlow Traffic Analyzer and right-click/choose "Repair".

  7. If not already started, run the Configuration Wizard manually.

 

If the issue is fixed, delete the \NetflowTrafficAnalysis2 folder. If the issue persists, contact SolarWinds Technical Support.

 

Last modified

Tags

Classifications

Public