Network Management
ERROR SolarWinds.BusinessLayerHost.PluginInstanceAppDomain - Plugin "Core Business Layer" failed to start
This article provides brief information and steps to resolve the error when the Core Businesslayer plugin crashes on Start up.
First published date
Last published date
Overview
This article provides information and steps to resolve the error when the Core Businesslayer plugin crashes on Start up. The following error message is seen:
2016-02-15 13:12:16,761 [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.InternalGetTempFileName(Boolean checkHost)
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()
2016-02-15 13:12:16,761 [8] INFO SolarWinds.BusinessLayerHost.PluginInstanceSeparateProcess - Starting plugin E:\Program Files (x86)\SolarWinds\Orion\AgentManagement\SolarWinds.AgentManagement.ServiceCore.dll.config - ProcessID:33112
The error above is referencing InternalGetTempFileName during the certificate update.
Product section
Cause
The issue is caused by the large number of files in C:\Windows\Temp.
Resolution
- Stop the SolarWinds Platform Services using the SolarWinds Platform Service Manager.
- Clean out the Windows temp directory.
- Restart the SolarWinds Platform Services using the SolarWinds Platform Service Manager. It should no longer crash the Core Plugin on Start up.
If the Web Console still will not open, you can check the following logs to confirm the CoreBusinessLayer is now starting correctly:
- C:\ProgramData\Solarwinds\Logs\Orion\BusinessLayerHost
- C:\ProgramData\Solarwinds\Logs\Orion\Core.BusinessLayer
If they are starting correctly run through removing and rebuilding the website. Refer to Rebuild the Orion Website.