LinHES Forums http://forum.linhes.org/ |
|
Request for "Auto Restart Backend on Crash" setup http://forum.linhes.org/viewtopic.php?f=11&t=1865 |
Page 1 of 1 |
Author: | Dijital [ Tue Jun 29, 2004 10:54 pm ] |
Post subject: | Request for "Auto Restart Backend on Crash" setup |
Could anyone please tell me how to set something up where the backend will be restarted every time it crashes? -- My backend crashes about once a week (but not a predictable time) and it really sucks to find how this out AFTER all the showes you wanted to record have passed. |
Author: | cesman [ Tue Jun 29, 2004 11:40 pm ] |
Post subject: | |
Please search the mythtv archives. This has been discussed various times with various recommendations on how to set this up. Anything in the log as to why it is crashing? |
Author: | randomhtpcguy [ Sun Jul 16, 2006 11:49 am ] |
Post subject: | status monitoring backend frontend restart |
http://www.mythtv.org/wiki/index.php/St ... ing_How_To |
Author: | nickread [ Sun Jul 16, 2006 5:37 pm ] |
Post subject: | |
Just remember sometimes you *want* to stop the backend (setup etc). What do you mean you never tinker with your box? ![]() |
Author: | randomhtpcguy [ Wed Jul 19, 2006 2:28 pm ] |
Post subject: | |
I followed the link i posted above and monit seems to work pretty well for mythbackend. If you need to run setup you could go to the monit webpage and click the stop button for the backend and then run setup so monit won't restart it automatically. I'm having a little trouble getting it to monitor mythfrontend because unlike the backend there is no pidfile like /var/run/myth/myth-backend.pid for mythfrontend. I think mythfrontend is invoked with knoppmyth-run script instead of an /etc/init.d/mythfrontend script and doesn't have the pid file. Obviously i'm not a guru and couldn't get this working quickly. cool thing is that monit emails you the log when things it monitors crash and it restarts them. It would be cool for myth to use monit and then pop-up a transparent alert that the backend was restarted. Really its usually obvious when i can't reach the database, but when my slave backend or something goes down and the recording device is "unavailable" i often am unaware that it is missing recordings until it is too late. that is why i like the idea of using monit and receiving the log files to my email. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |