|Applies To||RSA ClearTrust Agent 4.6 for Microsoft IIS|
RSA ClearTrust Agent 4.6 for Apache on Microsoft Windows
|Issue||Why does the RSA ClearTrust Agent log its configuration parameters more than once?|
|Resolution||Please note that the following explanation was verified against RSA ClearTrust Agent version 18.104.22.168, but may apply to older agent versions as well.|
In IIS, the agent is loaded at startup time. The agent picks up the configuration parameters and initializes. These configuration details are logged. First, the global configuration information is logged. If any virtual host is defined (webagent.conf), the configuration information for the virtual host is logged again. This is done because apart from inheriting the global configuration, the virtual host might override any global configuration or have extra configuration parameters. Therefore, it would appear that the agent for IIS is logging configuration information more than once. To see where logging for virtual host starts, look for the string "Configuration for [*:*:*]" in your log, or enable 'Massive' logging and look for "For Virtual Host [".
In Apache for Microsoft Windows, assuming there is only one agent virtual host (webagent.conf), the initialization information would appear to have been logged six times. This is because in Windows, Apache forks another child process (see Task manager). Both parent and child processes initialize the agent. Apache actually does initialization in 2 passes; configtest first, then if configtest succeeds, the real initialization. Therefore, from what we know about the agent, each Apache process should dump the congif information 4 times:
- Twice for configtest (global and the virtual host)
- Twice for actual initialization (global and virtual host)
Therefore, for 2 Apache processes on Windows, the total number of times the dump should occur is 8. However, while initialization happens in the parent process, the agent is able to detect the configtest pass, and so elects not to dump the information at that stage. This results in only 2 actual dumps by the parent process (at the real initialization stage). Therefore, the parent process dumps only twice. The initialization in the child process happens subsequent to the parent process. However, at this point, the agent is unable to detect the configtest pass, and therefore dumps the config information 4 times (twice for configtest and twice for actual initialization).
NOTE: This information regarding the functionality of the agent applies regardless of patch 22.214.171.124
|Legacy Article ID||a27294|