MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Checkstat.sh - does not remove 'mv_failed' > SOLUTION



******    message to minivend-users from Budi Rianto <brianto@interdesain.com>     ******

Hi Lyn, Joachim, All,

I have the same problem as Lyn's in running checkstat.sh.
Using Joachim's solution, it seems working.
...but, checkstat.sh will stop MV and then restart it again even when MV is
up and running perfectly.
Just like a plain restart script. 
Is there any other workarounds, please?
Putting this script in crontab for every 10 minutes checking seems not a
good idea, since it will restart MV everytime it is runned.
Thanks in advance.

Budi.
P.S. Using MV3.12 with SunOS 5.6


At 09:11 PM 5/14/99 +0000, you wrote:
>******    message to minivend-users from "Lyn St George" <lyn@zolotek.com>
    ******
>
>On Fri, 14 May 1999 09:53:19 +0200, jojo wrote:
>
>Hi Joachim
>
>It works! Many thanks indeed - this is a big help and 
>much appreciated. 
>
>
>>******    message to minivend-users from jojo
<hans-joachim.leidinger@home.gelsen-net.de>     ******
>>
>>Hello Lyn St George,
>>
>>i have the same result like you! If you wish to restart minivend after
>>./stop, you can edit the checkstat.sh file and change the line
>>
>>if test ! -f $MVENDHOME/bin/mv_failed
>>
>>to
>>
>>#	if test ! -f $MVENDHOME/bin/mv_failed
>>
>>and insert a line like 
>>
>>	if test $MVENDHOME/bin/mv_failed
>>
>>after #	if test ! -f $MVENDHOME/bin/mv_failed
>>
>>I hope it help you!
>>
>>Joachim
>>
>>
>>Lyn St George wrote:
>>> 
>>> ******    message to minivend-users from "Lyn St George"
<lyn@zolotek.com>     ******
>>> 
>>> To clarify: cd mvend/bin. Issue ./stop and ./checkstat.sh.
>>> Minivend restarts, and generates a file mv_failed. All
>>> well and good so far.
>>> 
>>> Then, for the SECOND time, issue ./stop and ./checkstat.sh,
>>> and nothing happens. Minivend does_not_restart.
>>> 
>>> Manually remove mv_failed, then issue ./checkstat.sh,
>>> and Minivend will restart. The script is meant to remove
>>> mv_failed, but does not. Without this file being removed,
>>> the script cannot proceed to the end where it issues
>>> the ./restart, and so everything is dead in the water.
>>> 
>>> This happens on 3 systems. RH5.2 + MV3.12.
>>> RH4.2 + MV3.12, RH4.2 + MV3.11.
>
>
>
>-
>To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
>email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
>Archive of past messages: http://www.minivend.com/minivend/minivend-list
> 

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: