Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

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: 103 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

Tags

Classifications

Public