Trying to check the index agent status through the java cmd

I tried to check the index agent status through the JAVA cmd:java -cp $DM_HOME/lib/server-impl.jar:$DOCUMENTUM/dfc/dfc.jar com.documentum.server.impl.utils.IndexAgentCtrl -docbase_name -user_name -action status.. But i’m getting the below error.

Could not find or load the main class com.documentum.server.impl.utils.IndexAgentCtrl.

Can anyone help with this?

Thanks in advance,
Ganesh

Comments

  • It works well in my lab. Check your environment, make sure you run it on Documentum CS host, check environment variables and paths to files. Also add path to dfc.properties file to classpath like:
    java -cp $DM_HOME/lib/server-impl.jar:$DOCUMENTUM/dfc/dfc.jar:$DOCUMENTUM/config com.documentum.server.impl.utils.IndexAgentCtrl -docbase_name mydocbase -user_name dmadmin -action status

    MEOW