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

Home -> Community -> Usenet -> c.d.o.server -> Re: remote shutdown of ORacle

Re: remote shutdown of ORacle

From: <ynotssor_at_my-deja.com>
Date: Tue, 25 Jan 2000 02:58:02 GMT
Message-ID: <86j3fp$guo$1@nnrp1.deja.com>


In article <86i73p$8un$1_at_buty.wanadoo.nl>,   "Corbeau" <kraay_at_dds.nl> wrote:

...
> I want to shutdown a Oracle database remotely by a shell-script with
> the following line
> <..>
> rsh <host> "/etc/init.d/dbora stop"
> <..>
>
> But this gives error messages from the Oracle server:
> MGR-11401: input error, unable to read input line
> MGR-01508: unable to close te current file
>
> Does anyone know why this happens and how can I solve this problem?
...

Depending on what $SHELL is used remotely by the invoking $USER, you may need the "-n" argument to rsh.

Since you haven't stated what OS the two machines are using, I leave the determination to your perusal of "man rsh".

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Mon Jan 24 2000 - 20:58:02 CST

Original text of this message

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