Search This Blog

Wednesday, September 21, 2011

TNS Listener Fails To Start With Errors: TNS-12537...Error: 29: Illegal seek

Today when i am trying to start listener on linux server then received following error message
Linux: 5.1 and oracle version: 10.2.0.4.0


LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=spioradg.sterling.local)                                                                              (PORT=1521)))
TNS-12541: TNS:no listener
 TNS-12560: TNS:protocol adapter error
  TNS-00511: No listener
   Linux Error: 111: Connection refused
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: 111: Connection refused

then check searched on google and metalink and found below solution:

add the following  lines in listener.ora file.

SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF

NOTE: replace the above bold and underline line with actual name of listener.
Default listener name is : LISTENER

after that i successfully able to start listener.
 
LSNRCTL> start
Starting /db/app/oracle/Db_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /db/app/oracle/Db_1/network/admin/listener.ora
Log messages written to /db/app/oracle/Db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=spioradg.sterling.local)                                                                              (PORT=1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=spioradg.sterling.local)                                                                              (PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 10.2.0.4.0 - Production
Start Date                21-SEP-2011 14:26:05
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /db/app/oracle/Db_1/network/admin/listener.ora
Listener Log File         /db/app/oracle/Db_1/network/log/listener.log
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=spioradg.sterling.local)(PORT=1521))                                                                              )
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
  Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

No comments: