1. Stop the Agent on the target machine:
cd <AGENT_HOME>/bin
emctl stop agent
2. Login to the Repository Ddatabase (via sqlplus) as user SYSMAN and execute the following command:
For example:
SQL> exec mgmt_admin.cleanup_agent('agentmachine.domain:3872');
3. De-install the Agent on the target machine.
After reinstallation need to add agent and host target and then need to perform sync operation for the upload to be successful.
Perform the following steps to resolve the issue:
1. Start the agent:
<AGENT_INST>/bin/emctl start agent
2. Issue following command to add agent and host targets:
<AGENT_INST>/bin/emctl config agent addinternaltargets
This would list the agent target in Setup > Add Target > Auto Discovery Results > Non-Host Targets.
3. Secure the agent:
<AGENT_INST>/bin/emctl secure agent
This would show the host and agent in pending status under Targets > All targets.
4. Do the following steps to show the status of host and agent as up:
<AGENT_INST>/bin/emctl stop agent
<AGENT_INST>/bin/emctl clearstate agent
<AGENT_INST>/bin/emctl start agent
Once done, the host and agent status would be shown as up.
5. Do a resync of agent as per Note 1376968.1.
Follow these steps to perform agent resynchronization :
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/21302630/viewspace-1775226/ ,如需转载,请注明出处,否则将追究法律责任。