Submit a ticketCall us

Get a crash course on Network Monitoring delivered right to your inbox
This free 7-day email course provides a primer to the philosophy, theory, and fundamental concepts involved in IT monitoring. Lessons will explain not only how to perform various monitoring tasks, but why and when you should use them. Sign up now.

Home > Success Center > Network Performance Monitor (NPM) > HTTP 500 Error: Core business layer will not start

HTTP 500 Error: Core business layer will not start

Created by Matthew Lamb, last modified by Steven Bansil_ret on Apr 19, 2017

Views: 59 Votes: 1 Revisions: 5

Updated April 19, 2017

Overview

This article provides information and steps to resolve the issue that can cause the Core businesslayer plugin to not load, resulting in a HTTP 500 error or other core related symptoms. Specifically, the Core businesslayer plugin crashes due to this error:

From the Businesslayerhost.log:

2016-02-22 20:15:56,582 [8] ERROR SolarWinds.BusinessLayerHost.PluginInstanceAppDomain - Plugin "Core Business Layer" failed to start.
System.IO.IOException: The file exists.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__Error.WinIOError()
   at System.IO.Path.GetTempFileName()
   at SolarWinds.Orion.Core.CertificateUpdate.Md5CertificateUpdater..ctor(Boolean onlySynchronizeCertificateWithDatabase, TimeSpan agentStatusPollFrequency)
   at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerService..ctor(CoreBusinessLayerPlugin pluginParent, IFeatureManager featureManager, IPackageManager packageManager, INodeBLDAL nodeBlDal, IAgentInfoDAL agentInfoDal, ISettingsDAL settingsDal)
   at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerService..ctor(CoreBusinessLayerPlugin pluginParent, IFeatureManager featureManager)
   at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerPlugin.Start()
   at SolarWinds.BusinessLayerHost.Contract.BusinessLayerPlugin.Start()
   at SolarWinds.BusinessLayerHost.PluginInstanceAppDomain.Start()

 

From the CoreBusinessLayer.log:

2016-02-22 20:15:56,489 [8] FATAL SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerPlugin - Unhandled Exception caught in plugin startup.
System.IO.IOException: The file exists.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__Error.WinIOError()
   at System.IO.Path.GetTempFileName()
   at SolarWinds.Orion.Core.CertificateUpdate.Md5CertificateUpdater..ctor(Boolean onlySynchronizeCertificateWithDatabase, TimeSpan agentStatusPollFrequency)
   at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerService..ctor(CoreBusinessLayerPlugin pluginParent, IFeatureManager featureManager, IPackageManager packageManager, INodeBLDAL nodeBlDal, IAgentInfoDAL agentInfoDal, ISettingsDAL settingsDal)
   at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerService..ctor(CoreBusinessLayerPlugin pluginParent, IFeatureManager featureManager)
   at SolarWinds.Orion.Core.BusinessLayer.CoreBusinessLayerPlugin.Start()

Environment

NPM version 10 or later

Cause 

The nature of this error indicates that it is attempting to place and load information from the Windows\Temp directory and cannot do so. The reason for this is that the Temp directory is full and nothing else can be written or read properly. This directory has a functional cap limit of 65535. It's imperative that this directory have enough space for Orion to place and pull files for it's use.

 

Resolution

  1. Go to C:\Windows\Temp.
  2. Open the directory.
  3. Either remove or move out any files that no longer in use and\or very old.
  4. Once the count is below 60000.
  5.  Restart the Orion services.
  6. Reduce the overall file count of that directory as much as possible.

 

 

 

 

Last modified
00:33, 19 Apr 2017

Tags

Classifications

Public