Solved

Oracle 11g on OL 6 - Listener not working.

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

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.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Oracle 12c 10 100
Case Statement in SQL Delminted Query 9 56
one-way data "masking" MD5 sql 26 103
oracle query help 18 78
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
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
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

760 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

22 Experts available now in Live!

Get 1:1 Help Now