?
Solved

Oracle 11g on OL 6 - Listener not working.

Posted on 2014-10-29
8
Medium Priority
?
163 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

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 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
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 shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Suggested Courses

777 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