Client Automation Standard Practitioners Forum
cancel

unable to deploy agent

Highlighted
suriya deepan_1
New Member.

unable to deploy agent

Failed when creating service. code: the specified service already exists. (0x431)} {debug: exit(1), exit status was 1
2 REPLIES
Marcin Wnuk
Valued Contributor.

Re: unable to deploy agent

Hi,
use psexec tool from pstools (sysinternals) to log to console on remote pc.

go to ManagementAgent directory (usualy c:\novadigm\ManagementAgent\ and type :

nvdkit rma.tkd/bin/rma-mgt.tcl remove

next try to stop on remote computer services as (if exists) :
- rma
- radsched
- radexecd
Next remove dirs like (if exists) :
- c:\novadigm
- c:\program files\Novadigm
- c:\program files\Hewlett-Pacard\CM\ManagementAgent
If You have problems to remove those dirs becouse files are in use try to delete as much as You can, then restart the remote machine and remove those dirs if exists.

Next restart remote pc again and try to install agent again.

mcten
alchen
New Member.

Re: unable to deploy agent

hi Marcin Wnuk,

I've followed your instruction to remove agent and confirmed "HPCA management agent" has been removed from services.msc.
All relevant dirs were deleted as well.
however I still got the same error saying "Failed when creating service. code: the specified service already exists. (0x431)} " when re-deploying agent.
When looking into the agent on the target machine,I can see "HPCA management agent" already added back to services.msc (but I can't start it)
and 2 files (nvdkit and rma.tkd were created under "C:\Program Files\Hewlett-Packard\CM\ManagementAgent" (see attachment)
any insight or advice ?

Many thanks.

allen