In some logs like TRC_USD_SDAGENT*.log the following error messages appear:
110515-22:20:10.4629934L|018440|000026b4|SDAgent |cafutils |cafutils |000000|ERROR | caf_getRegValue: RegQueryValueEx: caf_service_name: (0) The operation completed successfully.
110515-22:20:10.4630279L|018440|000026b4|SDAgent |cafutils |cafutils |000000|ERROR | caf_getRegValue: failed to read value: caf_service_name from registry key: SOFTWARE\ComputerAssociates\Unicenter ITRM\Agent
What does the error mean and how to remove them?
Client Automation - All versions
These errors appear because the registry value caf_service_name is not found under registry key
(or HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\ComputerAssociates\Unicenter ITRM\Agent
on a 64 bits machine).
This registry value is created during installation of ITCM Agent when command "caf install" is executed.
But, during an upgrade of the Agent , the command "caf install" is not executed as the
caf service is already installed. So, the registry value is not created.
These error messages could be ignored. They do not indicate a problem with ITCM Agent.
In order to remove these error messages, the registry value could be created manually.
The following 2 methods can be used to create the registry value 'caf_service_name':
1- Execute the command "caf install" using the command prompt:
2- Execute the following command in a command prompt:
reg ADD "HKLM\Software\ComputerAssociates\Unicenter ITRM\Agent" /v caf_service_name /t REG_SZ /d caf /reg:32 /f