Sunday, October 16, 2011

On : 11.5.10.2 version, Database for Application Technology

Visit the Below Website to access unlimited exam questions for all IT vendors and Get Oracle Certifications for FREE
http://www.free-online-exams.com

Problem:
On : 11.5.10.2 version, Database for Application Technology

When attempting to start database listener, the following error occurs as a result autoconfig failed to complete without errors

ERROR
-----------------------
TNS-12547: TNS:lost contact Linux Error: 104: Connection reset by peer Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
TNS-12541: TNS:no listener TNS-12560: TNS:protocol adapter error
TNS-00511: No listener Linux Error

Symptoms:
After DB upgrade 10g, Running adbldxml.pl on DB Tier failed with:
oracle>perl adbldxml.pl tier=db appsuser=apps appspasswd=apps
Starting context file generation for db tier..
Using JVM from /u01/oracle/visdb/10.2.0/jdk/bin/java to execute java programs..
The log file for this adbldxml session is located at:
/u01/oracle/visdb/10.2.0/appsutil/log/adbldxml_06121230.log
Could not Connect to the Database : Io exception: The Network Adapter could not establish the connection
Connecting to the VIS database instance...
Connection paramaters values:
Database server hostname ==> DBAWORK3.DUBAIWORLD.AE
Database listener port ==> 1524
Database SID ==> VIS
Database schema name ==> apps
Could not Connect to the Database : Io exception: The Network Adapter could not establish the connection
AC-40000: Error: Exception - java.sql.SQLException: Io exception: The Network Adapter could not establish the connection occured while connecting
to the database - VIS
----------------------------------------
oracle>lsnrctl start VIS
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 12-JUN-2010 12:56:24
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /u01/oracle/visdb/10.2.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /u01/oracle/visdb/10.2.0/network/admin/VIS_dbawork3/listener.ora
Log messages written to /u01/oracle/visdb/10.2.0/network/admin/vis.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROCVIS)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dbawork3.dubaiworld.ae)(PORT=1524)))
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCVIS))
TNS-12547: TNS:lost contact
Linux Error: 104: Connection reset by peer
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Er

Log files:
lsnrctl start VIS
LSNRCTL for Linux: Version 10.2.0.4.0 - Production on 12-JUN-2010 12:56:24
Copyright (c) 1991, 2007, Oracle. All rights reserved.
Starting /u01/oracle/visdb/10.2.0/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /u01/oracle/visdb/10.2.0/network/admin/VIS_dbawork3/listener.ora
Log messages written to /u01/oracle/visdb/10.2.0/network/admin/vis.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROCVIS)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=dbawork3.dubaiworld.ae)(PORT=1524)))
Connecting to (ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROCVIS))
TNS-12547: TNS:lost contact
Linux Error: 104: Connection reset by peer
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Er

Solution:


The /etc/hosts file entry 127.0.0.1 localhost.localdomain localhost has been modified look into this modification and revert back the change

References:
Note.469409.1 Listener Fails to Start with Error TNS-12547 or TNS-12537
Note.343295.1 Starting 10gr2 TNS Listener Yields TNS-12541, Linux Error 111 Connection Refused
Note.549932.1 TNS Listener Crash with Core dump
Get Oracle Certifications for all Exams
Free Online Exams.com

No comments: