Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: remote shutdown of ORacle
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
![]() |
![]() |