Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

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:
    722
    Contributors