Solved

Cannot change current_listener on linux Oracle10g server

Posted on 2008-10-08
3
586 Views
Last Modified: 2013-12-18
Hello

I'm trying to change the current_listener on our linux oracle10g server. This is what i do
LSNRCTL>l show current_listener
Current listener is LISTENER
LSNRCTL>set current_listener LISTENER_S2
Current listener is LISTENER_S2
LSNRCTL>exit
$lsnrctl
LSNRCTL>show current_listener
Current listener is LISTENER

It changes when i set it but it doesn't save it. I've tryied from lsnrctl to save_config but the result it the same.

Thank you.
Teo


0
Comment
Question by:temmelv
  • 2
3 Comments
 
LVL 73

Accepted Solution

by:
sdstuber earned 500 total points
Comment Utility
set current_listener  doesn't change the processes running it only changes which listener the lsnrctl program will modify for unclarified commands.

It simply changes which listener that lsnrctl will run commands for.

so,  if you do...

$lsnrctl
LSNRCTL>     <<<  at this point nothing happens, the current listener is LISTENER
LSNRCTL>start    <<<<-  this will start a listener called LISTENER
LSNRCTL>set current_listener LISTENER_S2  <<<<-  this changes which listener will be operated on
LSNRCTL>start   <<<<<-  this will start a listener called LISTENER_S2
LSNRCTL>exit

you will now have 2 listeners running   LISTENER  and LISTENER_S2

$ lsnrctl stop LISTENER    <<<< this will stop the listener called LISTENER
$ lsnrctl stop LISTENER_S2   <<< this will stop the listener called LISTENER_S2

lsnrctl always defaults to LISTENER as the current_listener

you can specify actions by including the listener you want with the command to override the default

$ lsnrctl start LISTENER_S2  <<< this will start the LISTENER_S2 listener




0
 

Author Closing Comment

by:temmelv
Comment Utility
Thank you that clarified it
0
 
LVL 73

Expert Comment

by:sdstuber
Comment Utility
you're welcome,  but why only a B?  if you needed additional information, just ask,
please don't assign a penalty grade with giving the volunteers (not just me) a chance.
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

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…
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, 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 information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…

762 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

13 Experts available now in Live!

Get 1:1 Help Now