Agents–Error while Stop/Start

Whenever we try to Stop or Start an Agent getting the below error:

Error:
[svc_diagnt2@DEV.LOCAL@DEVADIY03 bin]$ ./agentshutdown.sh
ERROR:Undefined Environment Variable: DIYOTTA_HOME/DI_FLA_HOME(at least one should be set)
[svc_diagnt2@DEV.LOCAL@DEVADIY03 bin]$ export DIYOTTA_HOME=”/data/svc_diagnt2/diyotta”
[svc_diagnt2@DEV.LOCAL@DEVADIY03 bin]$ export DI_FLA_HOME=”/data/svc_diagnt2/diyotta/agent”
[svc_diagnt2@DEV.LOCAL@DEVADIY03 bin]$ ./agentshutdown.sh
Stopping Agent. PID:21059
Waiting for Agent to shut down………
Agent stopped.

can anyone help me out with this?

Beginner Asked on April 8, 2021 in Diyotta Admin.
Add Comment
1 Answer(s)

Log in to the agent user and get the actual path where the Diyotta is installed and follow the below steps.

Steps to be followed.

1.login to the agent user and move to the diyotta path.

2. open the bash_profile and provide the below commands

export DIYOTTA_HOME=/data/svc_diagnt2/diyotta
export DI_HOME=$DIYOTTA_HOME/controller

3.  Then save the ~/.bash_profile  or else log out and log in again to the agent user.

4. Then try to perform the below echo commands.

echo $DIYOTTA_HOME

echo $DI_HOME

Expert Answered on April 14, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.