Re: Stopping OMS automatically in UNIX

From: Erik L. Cohen <erik.l.cohen_at_saic.com>
Date: Wed, 04 Apr 2001 13:49:13 GMT
Message-ID: <3acb25cc.3358849_at_news.bellatlantic.net>


Thanks John. That did the trick. Erik.

On Fri, 09 Mar 2001 02:54:58 +0000, John Blackburn <John.D.Blackburn_at_transport.qld.gov.au> wrote:

>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 Wed Apr 04 2001 - 15:49:13 CEST

Original text of this message