This discussion is archived
9 Replies Latest reply: Apr 1, 2013 9:21 AM by 1000008 RSS

Oracle 11g R2 on CentOS 6.3, and Net Configuration Assistant

1000008 Newbie
Currently Being Moderated
This is my first time to install Oracle 11g R2 on Linux.

I made all instructions in Oracle documentation.

But in the installation process, the Net Configuration Manager is failed.

I continued the process, and after it finished, I couldn't connect to the sqlplus.

This is my tnsnames.ora

# tnsnames.ora Network Configuration File: /Oracle/u01/app/oracle/product/11.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.

ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl.localhost)
)
and listener.ora

# listener.ora Network Configuration File: /Oracle/u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
# Generated by Oracle configuration tools.

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost.localdomain)(PORT = 1521))
)
)

ADR_BASE_LISTENER = /Oracle/u01/app/oracle
Output of lsnrctl status

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 29-MAR-2013 02:35:48

Copyright (c) 1991, 2009, Oracle. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused

My Solutions:

I open ./netca to reconfigure the listener again.

But the program told me that the port is in use.

I deleted it and added a new one but the same warning that port is in use

Edited by: 997005 on Mar 29, 2013 9:33 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points