idcmd deploy returns <There is no deployment manager running on host >

Document ID : KB000103407
Last Modified Date : 26/06/2018
Show Technical Document Details

idcmd.exe deploy command returns error like :
Contacting the deployment manager on <managername>.
There is no deployment manager running on host <managername>.

But idmanager is running :
idmanager status -p ITCM
IDManager instance for product ITCM is running

idmanager status
In C:\Program Files (x86)\CA\SC\IDMgrApi\logs\ITCM\TRC_IDAPI_*.log we could see this error :

DMAPI |DmApi |cdmapi.cpp 000420|DETAIL | Encryption failed!
DMAPI |DmApi |cdmapi.cpp 008229|ERROR  | Error encrypting outgoing message <-18>


This error could occur if command line like this is executed :

idcmd deploy /manager <ID_manager_name> /mu <mgr_user> /mp <mgr_password> /ip <target_machine> /pn <package_number> /pparams <ssname,> /tu <target_user> /tp <target_password> /pc ITCM


If idcmd command is executed on the same machine as IDManager, parameters for Manager name and credentials could be removed.

Example :
idcmd deploy /ip <target_machine> /pn <package_number> /pparams <ssname,> /tu <target_user> /tp <target_password> /pc ITCM