Database Control (dbconsole) homepage shows "Failed to connect to database instance: ORA-12537: TNS:connection closed" under "agent connection to instance" (Doc ID 1563982.1)

Last updated on SEPTEMBER 06, 2016

Applies to:

Enterprise Manager for Oracle Database - Version 10.2.0.4 to 11.2.0.4 [Release 10.2 to 11.2]
Information in this document applies to any platform.

Symptoms

 The Database home page shows:-

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

The database instance shows as 'down'
The listener shows as 'up'
The "agent connection to instance" shows as failed accompanied by the message:-

Failed to connect to database instance: ORA-12537: TNS:connection closed (DBD ERROR: OCIServerAttach).

Underneath this section, the charts and graphs are showing on the homepage, and it is possible for example to go to the 'administration' tab, and view the tablespaces etc.

It is also possible to connect to the database in sqlplus.

$ORACLE_HOME/<host>_<sid>/sysman/log/emagent.trc shows:-

Thread-4094688144 ERROR engine: [oracle_database,orcl,Response] : nmeegd_GetMetricData failed : ORA-01017: invalid username/password; logon denied (DBD ERROR: OCISessionBegin)

or alternatively similar errors can be seen via:- 

click on the 'hostname' (under the 'general' section).
click on 'targets'
click on the agent target (eg. hostname:<port>)
view the "alerts" section
Under here is "metric collection errors:x" (where x is a number)
click on the number

check the message column for the relevant errors - eg. "ORA-01017: invalid username/pa..."

 

 

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms