OEM: The database target is currently unavailable

Problem: Within Grid control, the homepage for a Database gives the error:

'The database target is currently unavailable. 
The state of the components are listed below.'

Initially attempted to resolve by bouncing the affected grid control agent:

> cd $ORA_AGENT_HOME
> cd bin
> ./emctl stop agent
> ./emctl start agent

This didnt work so tried to restart grid control:

> cd $ORA_GC_HOME
> cd oms10g
> cd opmn 
> cd bin
> ./opmnctl status  > ./opmnctl stoppall
> ./opmnctl startall

Solution

the fix in the end was to run a clearstate against the agent.

The ’emctl clearstate’ command forces the agent to take a new reading of the severity and status of each components and resend this information to the OMS

> ./emctl clearstate agent
Advertisements

One Response to OEM: The database target is currently unavailable

  1. Mike says:

    Thank you, that worked!!!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: