Re: Stopping OMS automatically in UNIX
Date: Fri, 09 Mar 2001 02:54:58 +0000
Message-ID: <3AA84601.87839152_at_transport.qld.gov.au>
when I type oemctrl by itself, it gives me it's usage:
stims:/u01/home/oracle/admin/prod/pfile>oemctrl Usage: oemctrl start oms
oemctrl stop oms <EM Username>/<EM Password> oemctrl status oms <EM Username>/<EM Password>[_at_<OMS-hostname>] oemctrl start eventhandler <EM Username> <EM password> <OMS host>
so all you need to do is type
oemctrl stop oms <EM Username>/<EM Password>
and that should stop the OMS without prompting for username and password.
Cheers,
John.
"Erik L. Cohen" wrote:
> Hi all:
>
> When our Digital UNIX box crashes or is re-booted, the OMS does not
> come down clean and leaves a bunch of java related process hanging out
> there. This causes a problem when we want to restart the OMS.
>
> Does anyone have a line command syntax that allows the
> oemctrl stop oms
> command to be processed without the user/pw promt to occur?
> Actually we want to be able to pass the userid/pw in the line command,
> not to bypass the security.
>
> We want to put this in a shell script to be executed automatically
> upon re-boot.
>
> Any assistance would be greatly appreciated.
>
> Erik.
Received on Fri Mar 09 2001 - 03:54:58 CET