Solution to Oracle 11gR2 listener startup error in CentOS7

Source: Internet
Author: User

Solution to Oracle 11gR2 listener startup error in CentOS7

An error occurred while starting the Oracle listener:

[Oracle @ localhost ~] $ Lsnrctl start

LSNRCTL for Linux: Version 11.2.0.1.0-Production on 12-APR-2016 00:27:54

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

Starting/data/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...

TNS-12537: TNS: connection closed
TNS-12560: TNS: protocol adapter error
TNS-00507: Connection closed
Linux Error: 29: Illegal seek
[Oracle @ localhost ~] $ Cat/etc/hosts
127.0.0.1 localhost. localdomain localhost4 localhost4.localdomain4 odb-sonny
: 1 localhost. localdomain localhost6 localhost6.localdomain6

According to the network speed Query Information, 127.0.0.1 localhost needs to be added to the etc/hosts for testing ~~

Then I tried a bunch of methods ~~

Finally, change localhost in listerner. ora to the IP address of the local machine ~~

[Oracle @ localhost ~] $ Cat/data/oracle/product/11.2.0/db_1/network/admin/listener. ora
# Listener. ora Network Configuration File:/data/oracle/product/11.2.0/db_1/network/admin/listener. ora
# Generated by Oracle configuration tools.

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP) (HOST = 192.168.232.133) (PORT = 1521 ))
)
)

ADR_BASE_LISTENER =/data/oracle
[Oracle @ localhost ~] $

Related Article

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.