Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'd like to use supervise to monitor httpd, mysqld and hudson processes on Centos 5. When any of these processes go down I'd like to use a tool to automatically restart them.

I've read and heard about supervise, but couldn't find a way to install it on centos.

Can anyone help me with that? Any other tools are also good, as long as they can be easily installed on centos 5 and allow me to automatically restart httpd, mysqld, hudson.

Thanks for your help!

share|improve this question
    
You mean like init? –  Ignacio Vazquez-Abrams Dec 30 '10 at 11:29
    
I don't know. Does init support auto-restarting crashed services? If yes, please share how? –  solsol Dec 30 '10 at 11:55

2 Answers 2

Maybe it can be worth to try out runit

It is compatible with daemontools and has rpm packages available. The install instructions are http://smarden.org/runit/install.html (if you compile from source instead)

You can stick to daemontools if you want http://cr.yp.to/daemontools/install.html

Tell the error messages if you get stuck with the install process.

share|improve this answer

You might also need to consider monit, it automatically restarts stopped services.

http://mmonit.com/monit/

http://www.howtoforge.com/server_monitoring_monit_munin

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.