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.
root@scm_agent lib]# agntd -port=5500
bash: agntd: command not found
It looks like your root user does not have the SCM-related environment variables set.
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