Skip to Main Content

Enterprise Manager

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Failed to connect to database instance: ORA-12538:

rg2May 15 2007 — edited May 17 2007
Hi,

I have Grid monitoring a Win2003 host and DB. The host is up and running along with the listener and DB however on Grid, the DB seems to be down. Not too sure why GRID thinks it is down but it is not. It does however know that the host is up and running and the listener. This is the error I get:

Failed to connect to database instance: ORA-12538: TNS:no such protocol adapter (DBD ERROR: OCIServerAttach).

I have checked the target.xml file. This is the contents of it:

<Targets AGENT_TOKEN="a132bcc731aa3de55af824cceb6398fd4534ebec">
<Target TYPE="oracle_emd" NAME="SIS-TOR-DB01.sisdom.local:3872" />
<Target TYPE="host" NAME="SIS-TOR-DB01.sisdom.local" />
- <Target TYPE="oracle_listener" NAME="LISTENER_SIS-TOR-DB01.sisdom.local">
<Property NAME="ListenerOraDir" VALUE="D:\oracle\product\9.2.0.1\network\admin" />
<Property NAME="LsnrName" VALUE="LISTENER" />
<Property NAME="Machine" VALUE="SIS-TOR-DB01" />
<Property NAME="OracleHome" VALUE="D:\oracle\product\9.2.0.1" />
<Property NAME="Port" VALUE="1521" />
</Target>
- <Target TYPE="oracle_database" NAME="DEV9I.SIS.TOR.DB01" DISPLAY_NAME="DEV9I.SIS.TOR.DB01">
<Property NAME="OracleHome" VALUE="D:\oracle\product\9.2.0.1" />
<Property NAME="UserName" VALUE="dbsnmp" />
<Property NAME="password" VALUE="78677f586bb18550" ENCRYPTED="TRUE" />
<Property NAME="MachineName" VALUE="SIS-TOR-DB01" />
<Property NAME="Port" VALUE="1521" />
<Property NAME="SID" VALUE="DEV9I" />
<Property NAME="ServiceName" VALUE="DEV9I.sis.tor.db01" />
<Property NAME="Role" VALUE="NORMAL" />
</Target>
</Targets>


This is last bit of my emdctl.trc file:

http://SIS-TOR-DB01.sisdom.local:3872/emd/main/. Returning status code 1
2007-05-08 12:27:58 Thread-5128 WARN http: snmehl_connect: connect failed to (SIS-TOR-DB01.sisdom.local:3872): No connection could be made because the target machine actively refused it.
(error = 10061)
2007-05-08 12:27:58 Thread-5128 ERROR main: nmectla_agentctl: Error connecting to http://SIS-TOR-DB01.sisdom.local:3872/emd/main/. Returning status code 1
2007-05-08 12:28:10 Thread-5980 WARN http: snmehl_connect: connect failed to (SIS-TOR-DB01.sisdom.local:3872): No connection could be made because the target machine actively refused it.
(error = 10061)
2007-05-08 12:28:10 Thread-5980 ERROR main: nmectla_agentctl: Error connecting to http://SIS-TOR-DB01.sisdom.local:3872/emd/main/. Returning status code 1
2007-05-09 11:15:14 Thread-3672 WARN http: snmehl_connect: connect failed to (SIS-TOR-DB01.sisdom.local:3872): No connection could be made because the target machine actively refused it.
(error = 10061)
2007-05-09 11:15:14 Thread-3672 ERROR main: nmectla_agentctl: Error connecting to http://SIS-TOR-DB01.sisdom.local:3872/emd/main/. Returning status code 1
2007-05-09 11:15:26 Thread-6096 WARN http: snmehl_connect: connect failed to (SIS-TOR-DB01.sisdom.local:3872): No connection could be made because the target machine actively refused it.
(error = 10061)
2007-05-09 11:15:26 Thread-6096 ERROR main: nmectla_agentctl: Error connecting to http://SIS-TOR-DB01.sisdom.local:3872/emd/main/. Returning status code 1
2007-05-09 11:17:27 Thread-3744 WARN http: snmehl_connect: connect failed to (SIS-TOR-DB01.sisdom.local:3872): No connection could be made because the target machine actively refused it.


This is the last bit of my emagent.trc file:

2007-05-15 14:52:40 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:40 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:41 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:42 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:42 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:42 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:42 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:42 Thread-4592 DEBUG collector: Is availibility cond=0, genInitClear=0
2007-05-15 14:52:42 Thread-4592 DEBUG collector: Key columns match
2007-05-15 14:52:42 Thread-4592 DEBUG collector: <nmecmc.c> checkSeverity returned 0
2007-05-15 14:52:42 Thread-4592 DEBUG collector: Metric{oracle_database:DEV9I.SIS.TOR.DB01:wait_bottlenecks_9i:wait_bottlenecks} Upload num of rows : 1
2007-05-15 14:52:42 Thread-4592 DEBUG collector: Writing metric with 1 rows
2007-05-15 14:52:42 Thread-4592 INFO collector: Metric{oracle_database:DEV9I.SIS.TOR.DB01:wait_bottlenecks} eval_time= 15.01 (sec), total_time= 18.56 (sec)
2007-05-15 14:52:42 Thread-4592 INFO collector: Metric{oracle_database:DEV9I.SIS.TOR.DB01:wait_bottlenecks} stime=0.00, utime=0.00, cstime=0.00, cutime=0.00
2007-05-15 14:52:42 Thread-4592 DEBUG collector: <nmecmc.c>: Method nmecmc_MetricColl_collectMetric returned stateChanged=0
2007-05-15 14:52:42 Thread-4592 INFO collector: CollectionItem_run exit: <oracle_database:DEV9I.SIS.TOR.DB01:wait_bottlenecks_9i>

Does anyone know why this is happening? Why GRID can not seem to see that my DB is actually up and running. Why can the agent not connect to the DB.

I have enabled Metrics browser and it is also telling me the same error.

Please help...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 14 2007
Added on May 15 2007
8 comments
1,252 views