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: lsnrctl start using rsh

RE: lsnrctl start using rsh

From: <ddorr.cs_at_clearstream.com>
Date: Fri, 13 Oct 2000 14:25:48 +0200
Message-Id: <10648.119162@fatcity.com>


I'd rather think it's an ENV settings prob : when you use rsh, you do not source your .profile, so your oracle ENV variables are not set.

I would embed the lsnrctl call in a shell script like this one :

#!/usr/bin/ksh

. $HOME/.profile

$ORACLE_HOME/bin/lsnrctl start

and call this script thru rsh.

> ----------
> From: Ruth Gramolini[SMTP:rgramolini_at_tax.state.vt.us]
> Reply To: ORACLE-L_at_fatcity.com
> Sent: Thursday, October 12, 2000 20:56
> 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:25:48 CDT

Original text of this message

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