Solved

Oracle 11g on OL 6 - Listener not working.

Posted on 2014-10-29
8
160 Views
Last Modified: 2014-11-06
I am trying to configure the listener for Oracle DB but get the result below when i run the lsnrctl status

TNS-12541: TNS: No listener
TNS-12560: TNS: Protocol adapter error
TNS-00511: No listener
Linux Error: 111: Connection refused

Firewall service is not running. Tnsping give me no listner.

please help.
0
Comment
Question by:GulfIT
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 35

Expert Comment

by:johnsone
ID: 40410543
Is the process running?  Can you do a ps and see?

Depending on which version of ps is in your path, I believe this should work:

ps -fu oracle | grep lsnr | grep -v grep
0
 

Author Comment

by:GulfIT
ID: 40410589
Seems that the process is starting and then stopping after a few seconds. I guess that seems to be the issue.

Please help.
0
 
LVL 7

Expert Comment

by:Stampel
ID: 40410596
what happens if you launch :
lsnrctl start
and then
lsnrctl status

can you also post the result of the following command (after having launched the command above) :
lsof -i:1521

also can you post your listener.ora file ?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:GulfIT
ID: 40410612
COMMAND   PID   USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
tnslsnr 12542 oracle    8u  IPv4  45565      0t0  TCP flexdb.xx.com:ncube-lm (LISTEN) "This exists for about 5 seconds after that goes off"

Linstener.ora

SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (GLOBAL_DBNAME = fctestdb)
      (ORACLE_HOME = /oracle/app/product/11.2.0/db_1)
      (SID_NAME = fctestdb)
    )
  )

LISTENER =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.156.139)(PORT = 1521))
  )

ADR_BASE_LISTENER = /oracle/app
0
 
LVL 7

Expert Comment

by:Stampel
ID: 40410702
is  192.168.156.139 correct address ?
can you try using localhost in place of this address just for testing ?
Also could you post your listener.log ?
0
 
LVL 35

Expert Comment

by:Mark Geerlings
ID: 40410890
Is this a new Oracle install on a new server?  Or, was this working but now it has stopped working?
Is there possibly something else running on this server that uses the same TCP/IP port (1521)?

Did you try changing this port number to a different port number (1522, 1530, 1540, etc.) then re-starting the listener?  Of course if you change this, and that works, you will need to change any/all tnsnames.ora files on your network to this new port number also.
0
 

Accepted Solution

by:
GulfIT earned 0 total points
ID: 40417894
Added SUBCRIBE_FOR_NODE_DOWN_EVENT_LISTNER=OFF and worked.
0
 

Author Closing Comment

by:GulfIT
ID: 40425770
Done
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question