Solved

Cannot change current_listener on linux Oracle10g server

Posted on 2008-10-08
3
594 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 74

Accepted Solution

by:
sdstuber earned 500 total points
ID: 22668655
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
ID: 31504142
Thank you that clarified it
0
 
LVL 74

Expert Comment

by:sdstuber
ID: 22669836
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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sort a spool into file output in oracle 1 44
SQL Developer 6 60
form builder not starting 3 55
format dd/mm/yyyy parameter 16 30
Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

840 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