Software info is not added to Agent after running AddInstallRecord command
search cancel

Software info is not added to Agent after running AddInstallRecord command

book

Article ID: 233115

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

The command "sd_acmd AddInstallRecord" can be used to add Software information to an Agent, as explained here:

AddInstallRecord--Notify Software Delivery that a Software Package Was Installed

But when the command is used, no error is shown and the record is not actually added:

Environment

Client Automation - All supported versions

Cause

The problem could be caused when the user that SD Agent service was changed at some point, and that user has less or no rights to perform updates appropriately. 

Resolution

The best way to confirm this is to check what user is currently configured to run SD Agent by executing "caf getprop adagent", in the given result, the variable that must be verified is "pluginusername". If the user configured has not enough local rights, it can be changed by running:

CAF SETCREDS SDAGENT USER <username> PASSWORD <password>