Two listener messages are displayed when the Oracle database is connected to hang.

Source: Internet
Author: User

When the Oracle database is connected to hang, there are two listener, one is the other sub-process
The process is as follows:
1. When a problem occurs, the user connects to the hang and two listener occurs. The existing connection is normal.
$ Ps-ef | grep lsnr
Oracle 26327 1 0 December 24? /Oracle/product/10.2.0.1/bin/tnslsnr LISTENER-inherit
Oracle 16352 12931 1 10:44:26 pts/4 grep lsnr
Oracle 28413 26327 0 21:40:46? 0: 00/oracle/product/10.2.0.1/bin/tnslsnr LISTENER-inherit
Patrol 29576 29575 0 21:45:19? 0: 00/oracle/product/10.2.0.1/bin/lsnrctl stat LISTENER

2. to quickly recover a problem and kill the process
$ Kill-9 26327

3. Restart
$ Lsnrctl start

LSNRCTL for HPUX: Version 10.2.0.1.0-Production on 26-DEC-2012 10:44:54

Copyright (c) 1991,200 5, Oracle. All rights reserved.

Starting/oracle/product/10.2.0.1/bin/tnslsnr: please wait...

TNSLSNR for HPUX: Version 10.2.0.1.0-Production
System parameter file is/oracle/product/10.2.0.1/network/admin/listener. ora
Log messages written to/oracle/product/10.2.0.1/network/log/listener. log
Listening on: (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = rps02) (PORT = 1521 )))
Listening on: (DESCRIPTION = (ADDRESS = (PROTOCOL = ipc) (KEY = EXTPROC0 )))

Connecting to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = rps02) (PORT = 1521 )))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for HPUX: Version 10.2.0.1.0-Production
Start Date 26-DEC-2012 10:44:56
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP ON
Listener Parameter File/oracle/product/10.2.0.1/network/admin/listener. ora
Listener Log File/oracle/product/10.2.0.1/network/log/listener. log
Listening Endpoints Summary...
(DESCRIPTION = (ADDRESS = (PROTOCOL = tcp) (HOST = rps02) (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

4, restore to normal, only one listener
$
$ Ps-ef | grep lsnr
Oracle 16503 1 0 10:44:56? 0: 00/oracle/product/10.2.0.1/bin/tnslsnr LISTENER-inherit
Oracle 17637 12931 1 10:48:17 pts/4 grep lsnr
$

5. Check metalink in the future. It is basically determined to be a bug. oracle Patch 4518443 is required.
For details, see the file Intermittent TNS Listener Hang, New Child Listener Process Forked [ID 340091.1].
In addition to patching, other solutions provided by oracle are:
A. Modify the listener. ora file.
SUBSCRIBE_FOR_NODE_DOWN_EVENT _ <listener_name> = OFF
B. Move the ons. config file.
Cd $ ORACLE_HOME/opmn/conf
Mv ons. config ons. config. ori

  • 1
  • 2
  • Next Page

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.