LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 05-05-2005, 09:53 AM   #1
psychguy
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora
Posts: 7

Rep: Reputation: 0
Automatic Restart of a failed Service in Linux


Does anyone know of any software that will monitor services running on a linux machine and attempt to restart a service if it does crash for some reason. Any help would be greatly appreciated.
 
Old 05-05-2005, 08:19 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
I don't know of a generic pkg for this, prob because there is an infinite potential list of services and ways they need checking / starting, not to mention permissions....
Generally, if it's that critical, your best bet is to roll your own process checker, then cron it to run every N minutes....
 
Old 05-06-2005, 07:57 AM   #3
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
I am not sure if Rabbix will restart the service, but it will check and see if a service is running and contact you. I can monitor any UNIX, Linux and Windows machines (I think Mac too).
 
Old 05-06-2005, 08:47 AM   #4
psychguy
LQ Newbie
 
Registered: Feb 2005
Distribution: Fedora
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for you help guys, I Googled Rabbix and couldnt find anything...do you know where I can get the software?

Thanks
 
Old 05-06-2005, 08:54 AM   #5
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,745

Rep: Reputation: 71
Sorry, I had a stupid moment. I ment to type Zabbix, http://www.zabbix.com/index.php
 
Old 05-07-2005, 07:53 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,164

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
You might also be interested in Nagios. I use it at work to monitor services on a large number (more than 100) of systems and it works very well.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to restart a service in slackware? echojihui Slackware 7 08-31-2004 09:03 PM
Automatic restart cmgleipzig Linux - Newbie 6 07-15-2004 12:44 AM
Is it possible to start stop and restart a linux service from a webpage? psychodreams Linux - Newbie 3 04-27-2004 02:24 PM
Automatic Restart Nezar Linux - General 11 09-24-2003 04:21 AM
Automatic restart redhat linux 8.0 poorni Linux - Hardware 1 08-05-2003 02:40 PM


All times are GMT -5. The time now is 07:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration