Summary
Whenever you deploy a fixlet message to an endpoint, the progress and status is written in the BES Client Log file as shown below:
%BES Client%\__BESData\__Global\Logs\yyyymmdd.log
A corresponding exit code is generated for every action script that the fixlet performs. See the sample log snippet below:
#################################
. . .
At 14:57:47 +0800 - Trend Core Protection Module QA (http://testsite.bigfix.com/cgibin/bfgather/trendcpmqa)
Command succeeded (Exit Code=106) waithidden "C:\Program Files\Trend Micro\Core Protection Module\TMCPMCLI.exe" CONFIG -i "C:\Program Files\Trend Micro\Core Protection Module\wpmlog.ini" (fixlet 519)
##################################
. . .
At 14:57:47 +0800 - Trend Core Protection Module QA (http://testsite.bigfix.com/cgibin/bfgather/trendcpmqa)
Command succeeded (Exit Code=106) waithidden "C:\Program Files\Trend Micro\Core Protection Module\TMCPMCLI.exe" CONFIG -i "C:\Program Files\Trend Micro\Core Protection Module\wpmlog.ini" (fixlet 519)
##################################
Exit Codes are used to troubleshoot failed fixlet deployments.
Details
This article lists all possible Exit Codes that can appear in the BES Client Log files and their corresponding meaning.
CPM CLI Exit Code 100: Possible Explanations
Error code 100 can occur for either of these reasons:
- Configuration file is corrupted
- Memory/Resource shortage
Try this workaround to help solve/prevent error 100:
- Back up the current CPM Configuration file.
%ProgramFiles%\Trend Micro\Core Protection Module\CpmConfig.ini
- Look for the Default CPM Configuration file in the same folder.
%ProgramFiles%\Trend Micro\Core Protection Module\DefaultCpmConfig.ini
- Make a copy and name it as CpmConfig.ini to replace the current INI file.
- Restart the CPM services.
- Reboot the computer and redeploy the fixlet.
CPM CLI Exit Code 105: Possible Explanations
Error code 105 can occur for any of these reasons:
- New configuration could not be deployed.
- The Listener service is not running.
- The NT RealTime Scan service is running incorrectly due to a wrong configuration or corrupted program/configuration files.
Try this workaround to help solve/prevent error 105:
- Open the following configuration files in %ProgramFiles%\Trend Micro\Core Protection Module\Backup using notepad:
- Backup configuration file: CPMConfig_01.bak
- Configuration that is being deployed: DeployedConfig_01.bak
- Check the time and look for an error in DeployedConfig_01.bak, compare the configuration, or restore the backup file the similar to Exit Code 100.
- Restart the CPM services.
- Reboot the computer and redeploy the fixlet.
CPM CLI Exit Code 106: Possible Explanations
Error code 106 can occur for any of these reasons:
- The action that was executed has taken too long to complete.
- CPM is running a virus scan on a large disk space.
- One or more system resources are low.
- There is a pattern-merging operation on a low-speed disk.
- The NT RealTime Scan service is not running.
Try this workaround to help solve/prevent error 106:
- Ensure that the computer is running on adequate system resources.
- Reinstall CPM Endpoint Component