IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

App Control: Server Service Crashing After Changing Installation Directory

App Control: Server Service Crashing After Changing Installation Directory

Environment

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

Symptoms

  • 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"

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.

    Labels (1)
    Was this article helpful? Yes No
    No ratings
    Article Information
    Author:
    Creation Date:
    ‎11-20-2018
    Views:
    727
    Contributors