ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Error while starting agntd command not found


Article ID: 128010


Updated On:


CA Harvest Software Change Manager - OpenMake Meister


We are able to install the SCM agent and we are able to start the agent with the cascm user account but unable to run the agent with root. We are getting the error command not found. 

[email protected]_agent lib]# agntd -port=5500 
bash: agntd: command not found 
[email protected]_agent lib]# 


It looks like your root user does not have the SCM-related environment variables set. 



Component: HINTFC


There are 2 ways to fix this type of problem. 

The first is to edit the .bash_profile for the root user and include the SCM-related environment variables. To find what these are, refer to the .bash_profile for the userid that owns the SCM Software folder. 

The second is to create a unix shell script that sets these environment variables and execute that script just before executing ./agntd