Wednesday, October 12, 2011

Grid Control Agent does not start automatically on System Reboot

1. Open the agentstup file from the Oracle home of the Management Agent:
$ORACLE_HOME/install/unix/scripts/agentstup

2. Edit the file to replace executingUser=$USER with executingUser=`id -un`. Then, save and exit the file.

3. Run the root.sh script from the Oracle home of the Management Agent:

$/root.sh

4. Restart the Management Agent by running the following command from the Oracle home of the Management Agent:

$/bin/emctl start agent

This is a one-time action to be taken. Step (1) to Step (3) will ensure that the Management Agent starts up automatically every time you restart the host in the future.