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?
can you run the below commands
step 1: Export Command
export DI_FLA_HOME=”/data/svc_diagnt2/diyotta/agent”
step 2 : Run the below command that is for agent start-stop from home directory no need to go for agent/bin folder for starting and stopping agent
export PATH=$PATH:$DI_FLA_HOME/bin
step 3 : Run the below command to save the changes in bash_profile
source ~/.bash_profile