View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Jun 29, 2004 10:54 pm 
Offline
Joined: Sun Nov 23, 2003 1:18 pm
Posts: 21
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 29, 2004 11:40 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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?

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
PostPosted: Sun Jul 16, 2006 11:49 am 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
http://www.mythtv.org/wiki/index.php/St ... ing_How_To


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 16, 2006 5:37 pm 
Offline
Joined: Tue Nov 22, 2005 7:57 pm
Posts: 295
Location: Auckland, New Zealand
Just remember sometimes you *want* to stop the backend (setup etc). What do you mean you never tinker with your box? :-)

_________________
HP VL400 (PIII 866), Skystar2 2.6D, PVR350, Nvidia FX5200, 384MB, 200GB, KnoppMyth R5.5


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 19, 2006 2:28 pm 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
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.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu