ORA-00609: could not attach to incoming connection in database alert log
Environment Details
----------------------------
Oracle Real Application Cluster 02 Nodes
Oracle Solaris 11.3 SPARC
Oracle version 19.6.1.0.0
Problem Description
---------------------------
Above error continuously reported in the database alert. In that case we have to check certain logs instead to database alert.
Before that, we must find for any firewall rule changes or any IP filter changes in between application server IP and database IPs with the internal network team.
So the error reported in the db alert as follows.
2021-11-23T15:20:09.766518+05:30
opiodr aborting process unknown
ospid (9758) as a result of ORA-609
2021-11-23T15:20:09.770202+05:30
Errors in file /u01/app/oracle/diag/rdbms/db/db1/trace/db1_ora_9758.trc:
ORA-00609: could not attach to
incoming connection
ORA-12547: TNS:lost contact
Considering the alert log error we must check listener logs as well. This can be done finding and comparing the similar timestamp in the listener logs.
23-NOV-2021 15:20:09 * (CONNECT_DATA=(CID=(PROGRAM=JDBC Thin Client)(HOST=__jdbc__)(USER=*******))(SERVICE_NAME=pdbsrv)(SERVER=dedicated)(INSTANCE_NAME=db1))
* (ADDRESS=(PROTOCOL=tcp)(HOST=192.168.5.46)(PORT=23809)) * establish * pdbsrv * 0
Here listener log confirms that the connection has been established between the client and server process.
So to find out further sqlnet traces must be enable in RDBMS home [ Warning : when sqlnet traces on, monitor the space because this will be generated many trace logs with in few minutes.]
Error in sqlnet traces as below.
Fatal NI connect error 12547,
connecting to:
(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.5.46)(PORT=23809))
VERSION INFORMATION:
TNS for Solaris: Version
19.0.0.0.0 - Production
Oracle Bequeath NT Protocol
Adapter for Solaris: Version 19.0.0.0.0 - Production
TCP/IP NT Protocol Adapter for
Solaris: Version 19.0.0.0.0 - Production
Version 19.12.0.0.0
Time: 23-NOV-2021
15:20:09
Tracing to file: /u01/app/oracle/product/19.0.0.0/db_home/network/log/svr_9758.trc
Tns error struct:
ns main err code:
12547
TNS-12547:
TNS:lost contact
ns secondary err
code: 12560
nt main err code:
517
TNS-00517: Lost
contact
To match the listener log with sqlnet trace compare the unique port no. In this scenario it is 23809.
Comments
Post a Comment