Error Message :
A Remote Agent can appear stuck in a RUNNING status even though the Agent processes have stopped and the entry in the database also shows a stopped status. This usually occurs after a migration. The database entry can be stuck in an incorrect status and sometimes needs to be manually updated.
- From the Client the Remote Agent is in a status of RUNNING.
- Logged in as the Applications Managar (AM) OS user on the Remote Agent machine you can check to see if the AgentService process is running:
ps -ef|grep AgentService
If it is still running you should see an entry similar to this with your Remote Agent name:
<OS user> 15216 1 0 Feb07 ? 00:01:44 java -DAgentMgr=<Agent Name> -DAWCOMM=DISABLE -DSTACK=ENABLED -Xmx1024m -DAW_HOME=/home/AM/v911 -DOsType=UNIX com.appworx.agent.AgentService
If the processes are no longer running, nothing will be returned.
- Log into SQLPlus as the AM Oracle userid and execute the following statement to see the status within the database for this Agent.
select so_bp_mesg from so_back_process where so_operator='<Agent Name>'
The value for the Agent should be 'Offline'. If it is not, then this value will need to be updated as described in the workaround.