My environment architecture for 12c Cloud Control (Used for personal practice purpose) can be explained as follows:
@DBSERVER: (OEL6.5, x86-64)
- 12c Enterprise Manager Cloud Control (EMCC)
- 11.2.0.4 database that acts as a repository for 12c EMCC
Monitored host is on a virtual machine (VM12) that is currently in the DBSERVER:
VM12: (OEL6.5, x86-64)
- 12c Management Agent that monitors the host and the database (12.1.0.1)
The server was running fine for the last few months until recently when the computer had rebooted abruptly. Abrupt rebooting occurred a few times in the past, but this time it had an issue at the time of rebooting. The DBSERVER at the time of a startup starts the OMS and the AGENT. The OMS starts perfectly, but the AGENT does not start. Upon trying to start the agent, it shows the following error message:
[orcl11204g@dbserver bin]$ ./emctl start agent
Oracle Enterprise Manager Cloud Control 12c Release 3
Copyright (c) 1996, 2013 Oracle Corporation. All rights reserved.
Starting agent ................. failed.
Target Manager failed at Startup: targets.xml was rejected: loaded with a wrong agent token
Consult emctl.log and emagent.nohup in: /home/u01/oemrel3/agent/agent_inst/sysman/log
[orcl11204g@dbserver bin]$
The targets.xml file contains the following information which doesn't seem to be of any help:
[orcl11204g@dbserver emd]$ cat targets.xml
<?xml version = "1.0"?>
<Targets>
</Targets>
[orcl11204g@dbserver emd]$
Can anybody provide the help during such circumstances?
The DBSERVER repository database, listener and oms are up and running while the agent is down. The VM12 database, listener and agent is up and running. Is there any other file that needs to be checked for additional information?