The information you are about to copy is INTERNAL!
DO NOT share it with anyone outside Check Point.
Threat Prevention policy installation fails with "Compilation failed"
Technical Level
Solution ID
sk105783
Technical Level
Product
Anti-Bot, Anti-Virus, Threat Emulation
Version
R77.10 (EOL), R77.20, R77.30 (EOL), R80.10 (EOL)
Date Created
21-Apr-2015
Last Modified
18-Dec-2018
Symptoms
Threat Prevention policy installation fails in SmartDashboard with the following error:
Compilation failed.
Operation was unsuccessful.
Manually loading the Threat Prevention policy under debug with "fwm -d load -p threatprevention <Name_of_Policy> <Name_of_Gateway>" command shows the following errors:
Installing policy on Antimalware compatible targets:
amw_add_key: fread() failed
amw_load: amw_add_key() failed
amw_load_main: amw_load has failed
main: amw_load_main() failed
Operation was unsuccessful.
Cause
The internal total path to Security Management Server / Domain Management Server and policy package exceeded the available buffer (e.g, when name of Domain Management Server is longer than 35-40 characters).