Setup a automatic server reboot on when a particular service fails

Posted by user1179459 on Server Fault See other posts from Server Fault or by user1179459
Published on 2012-11-25T09:10:37Z Indexed on 2012/11/25 11:06 UTC
Read the original article Hit count: 248

Filed under:
|
|

I am running linux based server (centos 6.0) with cpanle and WHM,

I have critical website running with a chat server which uses a openfire as the chat server backend server, i have monitored last few weeks this service crashes quite often, i have no way of knowing that, and i have to wait till the next day to restart the server. (and this can only be fixed by using server reboot as its got to do with some java memory problem)

is there a way i can setup a monitoring service to the server and if this service goes down server itself will reboot ?

is this something possible or is there a better way to overcome this problem ?

© Server Fault or respective owner

Related posts about linux

Related posts about apache2