The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Script to check mysqld is running?
Once in a blue moon, my server goes nuts, and when it recovers, mysqld is down. Is there a script I could run every hour in cron that could check it and start it if need be? Just in case I'm not around when it happens.
Something including this I guess: /etc/rc.d/init.d/mysqld status If it is running I'd expect to see something like mysqld (pid 5409) is running... |
#2
|
||||
|
||||
This article and script will do what you want http://www.motionlab.co.uk/blog/moni...cript/2011/03/
It's a cron script |
#3
|
|||
|
|||
Ah cheers. I also found "monit" which I'm trying first, but battling with the set up at the mo.
Thanks. |
#4
|
||||
|
||||
with the one in that link you just set a server cron job to run the script.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|