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 "Lyn St George" <lyn@zolotek.com>     ******

On Sat, 15 May 1999 12:12:54 +0000, Budi Rianto wrote:

Well I spoke too soon - again - about this. You're right, this just 
restarts MV every time it runs. I've been trying the other 'check' 
script in mvend/bin, but it turns out that this also has a fault.

It can either run as just ./check, when it stays resident and 
checks every 60 seconds, or ./check -o, when it should just 
run once. This seemed OK on my system, but only because 
I don't have a 'webmaster' email set up. In fact, the first time 
./check -o runs from crontab it stays resident, and the next 
iteration from crontab finds this process and emails "another 
check process is running" every time crontab fires off ./check -o.
Killing the offending process does no good, because the 
next iteration simply stays resident again.

I didn't know about Ryan Hertz' script which Joachim 
mentioned, but I'll try that next. 


>******    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
>
Lyn St George
lyn@zolotek.com		http://www.career-plus.com

-
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: