Oracle Database Listener Suspension

Source: Internet
Author: User

1. The client cannot connect to the database.

2. Check that the database instance status is OPEN and alert_SID.log is correct.

3. The following information is displayed when you view the Database Listener:

$ Lsnrctl status

LSNRCTL for IBM/AIX assume System/6000: Version 10.2.0.1.0-Production on 05-DEC-

09:13:49 2011

 

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

 

Connecting to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = testdb) (PORT = 1568 )))

If the information of the listener instance cannot be queried normally, it will remain unchanged. It seems to be suspended.

Lsnrctl stop and lsnrctl start cannot be executed normally, like lsnrctl status.

Solution:

Process for killing lsnrdbms iN OS

Query:

$ Ps-ef | grep lsnr

Oraoms 598058 1 0 Oct 08-28:38/home/oraoms/OraHome_1/bin/tn

Slsnr LISTENER-inherit

Oraoms 970884 1790128 0 09:19:21 pts/0 grep lsnr

Oraoms 1814580 598058 0 07:26:15-/home/oraoms/OraHome_1/bin/tn

Slsnr LISTENER-inherit

$

 

Kill process:

$ Killed 1814580

$ Ps-ef | grep lsnr

Oraoms 598058 1 1 Oct 08-28:38/home/oraoms/OraHome_1/bin/tn

Slsnr LISTENER-inherit

Oraoms 1007764 1790128 0 09:19:42 pts/0 grep lsnr

$ Killed 598058

$ Ps-ef | grep lsnr

Oraoms 598060 1790128 0 09:20:00 pts/0 grep lsnr

 

$ Lsnrctl status

 

LSNRCTL for IBM/AIX assume System/6000: Version 10.2.0.1.0-Production on 05-DEC-

09:20:04 2011

 

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

 

Connecting to (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP) (HOST = testdb) (PORT = 1568 )))

TNS-12541: TNS: no listener

TNS-12560: TNS: protocol adapter error

TNS-00511: No listener

IBM/aix risc System/6000 Error: 79: Connection refused

$

You can solve this problem by starting the listener again.

$ Lsnrctl start

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.