Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: lsnrctl start using rsh
Hi Tina & Ruth,
What is happening is that the remote machine does not have the oracle
environment set properly to run this command. A better way would be to
create a shell script on the remote machine that would include commands to
set the 'local' oracle env, and the lsnrctl start (or whatever) command and
then invoke it via the remote shell call. That should work. I have done it
that way.
Hope this helps..
- Kirti
> -----Original Message-----
> From: Ruth Gramolini [SMTP:rgramolini_at_tax.state.vt.us]
> Sent: Thursday, October 12, 2000 1:57 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: lsnrctl start using rsh
>
> There is not a file called lsnrctl start. I think you would have to go to
> the /bin directory and in a separate command do lsntctl start. I don't
> have
> experience starting the listener remotely but I would think this would
> work.
> Ruth
> ----- Original Message -----
> To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
> Sent: Thursday, October 12, 2000 1:45 PM
>
>
> > All,
> >
> > I have a script which runs on a remote unix box for
> > the purpose of monitoring our 'Monitoring Server'. It
> > checks to make sure that the box pings, and that
> > Oracle processes are up and running, etc. I am able
> > to get my script to remotely re-start OMS if it
> > detects that it is not running. When I attempt to
> > start the intelligent agent, data gatherer or listener
> > processes remotely it fails to start the processes.
> > Here is the command the script uses:
> >
> > rsh apollo "/oracle/product/816/bin/lsnrctl start"
> >
> > Anyone have any ideas of how to do this? According to
> > Technet, there once was a bug which caused a problem
> > with this but it was to be resolved with SQLNET V2.3.
> > I am running on Solaris 2.6, Oracle 8.1.6 and there is
> > no mention of an issue regarding this in TechNet for
> > that release.
> >
> > Your ideas on this would be appreciated.
> >
> > TIA,
> >
> > Tina
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get Yahoo! Mail - Free email you can access from anywhere!
> > http://mail.yahoo.com/
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: Tina Ridgley
> > INET: tlridgley_at_yahoo.com
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> > San Diego, California -- Public Internet access / Mailing Lists
> > --------------------------------------------------------------------
> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You may
> > also send the HELP command for other information (like subscribing).
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
> --
> Author: Ruth Gramolini
> INET: rgramolini_at_tax.state.vt.us
>
> Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
> San Diego, California -- Public Internet access / Mailing Lists
> --------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
Received on Fri Oct 13 2000 - 07:54:19 CDT
![]() |
![]() |