Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to remotely start/stop oracle listener service?

Re: How to remotely start/stop oracle listener service?

From: karl craven <karl_craven_at_yahoo.com>
Date: Thu, 7 Dec 2000 23:59:32 -0800 (PST)
Message-Id: <10703.123981@fatcity.com>


muru,
i can help you out on one part of your quest in shutting down a listener on a host.

there are a couple of proviso's though and they are:

  1. you know the host name
  2. you know the listeners name if not using default

shutting down the listener:

this works fr the unix world at least and im sure you would follow the same process to achieve the same in the nt world.

  1. make a copy of the listener.ora file into a directory of you choice
  2. modify your TNS_ADMIN variable to reflect this
  3. edit the listener.ora file and modify the HOST= to the system that you wish to connect to
  4. run the lsnrctl executable and it will connect to that host

now you can run all of the normal commands the most useful being services, status etc so that you can see the actual sids being serviced on that system.

obviously 'shutdown' is one of them.

however, you can not utilise the 'startup' option as oracle tries to create socket files on your host for the host that you are working against.

sorry can't give you the full solution.

the previous suggestion using rsh/ssh is about the only other way that i can think you could achieve this but most definately go with the ssh option as rsh allows snooping for passwords in the clear etc.

hth
karl

Received on Fri Dec 08 2000 - 01:59:32 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US