Friday, December 30, 2011

Missing properties - password (00151) in emagent.log

So, I could not start the agent the other day. The error in $ORACLE_HOME/sysman/log/emagent.log was:

Missing properties - password (00151)

Background

At one point, this machine had an agent on it. Everything was working fine. We decided to use this machine as a test bed for some other databases so we wiped it out and reinstalled Oracle 11gR2. This is a Sun SPARC Solaris 10 box by the way. Our mistake was we did not remove the agent from Grid before we wiped out the box.

Once our testing was done, we decided to re-install the agent. Problem was, the agent would not start. It was failing with the error message above in the emagent.log file.

Here is how we got the problem fixed:

1. Go to the agent $ORACLE_HOME/bin
2. Run:

./agentca -d

The will get your agent started by the way.

3. When this is complete, log into Grid.
4. Go to Setup > Agents

5. Click on the agent link.
6. Run Agent resyncronization
7. Click on the UNBLOCK button. Click on this button even if the agent does not say it is blocked.

Wait a few minutes and the agent should clear. You will have to re-configure your targets.

No comments: