App Control: Server Service Crashing After Changing Installation Directory
search cancel

App Control: Server Service Crashing After Changing Installation Directory

book

Article ID: 287012

calendar_today

Updated On:

Products

Carbon Black App Control (formerly Cb Protection)

Issue/Introduction

  • Console Unavailable after changing installation directory
  • Event Viewer shows CB Protection Server service is terminating
  • Procmon capture shows Parityserver.exe process trying to create files in the wrong directory and receiving "Path not found" result
  • Error in serverlog.bt9 file similar to: "CLStorage::SerializeConfigListToFile: Failed to delete temp cl file: d:\Program Files (x86)\Bit9\Parity Server\configxml"

Environment

  • App Control Server: All Supported Versions
  • Microsoft Windows: All Supported Versions

Cause

Configurations in the database are pointing to the wrong directory

Resolution

  1. Run query to confirm directory is incorrectly set:
    use das;
    select * from dbo.shepherd_configs with (nolock)
    where value like '%server%'
    order by name
  2. Confirm value of "hostPackagesFolder", ArchivedEventsFolder, "ManifestDirectory", and "publishersFolder" are all pointing to the correct directory
  3. If incorrect, run query:
    EXEC dbo.UpdateShepherdConfig 'hostPackagesFolder','D:\Program Files (x86)\Bit9\Parity Server\hostpkg\'  -- Replace D:\Program Files (x86).. with correct drive and path.
    EXEC dbo.UpdateShepherdConfig 'ArchivedEventsFolder','D:\Program Files (x86)\Bit9\Parity Server\hostpkg\'  -- Replace D:\Program Files (x86).. with correct drive and path.
    EXEC dbo.UpdateShepherdConfig 'manifestDirectory','D:\Program Files (x86)\Bit9\Parity Server\hostpkg\'  -- Replace D:\Program Files (x86).. with correct drive and path.
    EXEC dbo.UpdateShepherdConfig 'publishersFolder','D:\Program Files (x86)\Bit9\Parity Server\hostpkg\'  -- Replace D:\Program Files (x86).. with correct drive and path.