Friday, October 10, 2008

Using agentca to recreate the OEM agent targets.xml

emctl start agent
Oracle Enterprise Manager 10g Release 4 Grid Control 10.2.0.4.0.
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Starting agent ...... failed.
Failed to initialize the Target Manager.

# Found that targets.xml file was empty and recreated using :-
# Single node :-
agentca -d -f

# Cluster :-
agentca -c PDCRS03 -d -f