Solved

Oracle 11g on OL 6 - Listener not working.

Posted on 2014-10-29
8
154 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
8 Comments
 
LVL 34

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Subquery in Oracle: Sub queries are one of advance queries in oracle. Types of advance queries: •      Sub Queries •      Hierarchical Queries •      Set Operators Sub queries are know as the query called from another query or another subquery. It can …
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

829 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