Description:
Agents or Services may fail on Windows due to the system exceeding the PATH limit. Most modern Windows versions have a PATH limit of 2048 (including NULL terminating character). Some older versions have a limit of 1024 (or 2048 with patches). If the system is close to or exceeds this limit, awservices components may fail. Some example error messages that may be logged in the awservices.log file:
[A]-1d20- getMaxPathLen: Max PATH length supported = 2048 [C]-f94- AWSERVICES: hpaagent:hpaagent is FAIL reason: Fail to communicate with: D:\NSM\SharedComponents\CCS\AT\Agents\bin\hpaAgent.exe [C]-f94- AWSERVICES: prfagent:prfagent is FAIL reason: Fail to communicate with: D:\NSM\SharedComponents\CCS\AT\Agents\bin\prfAgent.exe [C]-f94- AWSERVICES: caiWinA3:caiWinA3 is FAIL reason: Fail to communicate with: D:\NSM\SharedComponents\CCS\AT\agents\bin\caiWinA3.exe
Please note that these messages may occur for other reasons and do not always indicate a problem with the PATH.
Solution:
Check that the maximum system PATH length has not been exceeded
%SystemRoot%=C:\Windows ^ 12 ^ ^ 10 ^ "%SystemRoot%\system32" counts as 19 characters NOT 21. %ProgramFiles%=C:\Program Files ^ 14 ^ ^ 16 ^ "%ProgramFiles%\My Application" counts as 31 characters NOT 29.
To shorten the path
Remove duplicate and unnecessary entries