Solved

Oracle 11g on OL 6 - Listener not working.

Posted on 2014-10-29
8
151 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
 

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
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.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
This video explains at a high level with the mandatory Oracle Memory processes are as well as touching on some of the more common optional ones.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

932 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now