User Tools

Site Tools


computers:server:mythbuntu1204

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computers:server:mythbuntu1204 [2012/09/09 02:53] – [Filename Symbolic Links] davidcomputers:server:mythbuntu1204 [2012/09/16 18:10] (current) – [Backend Card Hang / Crash] david
Line 201: Line 201:
 ==== Backend Card Hang / Crash ==== ==== Backend Card Hang / Crash ====
  
-Use an hourly cron job to check for this error.  If you see it, reboot!+Use an hourly cron job to check for this error.  If you see it, reboot!  Here is my **cron.hourly** script **mythtv_check_for_crashed_tuner**:
  
-  dmesg | grep saa7164_api_i2c_write | wc -l+<code bash> 
 +#!/bin/bash 
 +
 + 
 +SAA7164ERRORS=$(/bin/dmesg | /bin/grep saa7164_api_i2c_write | /usr/bin/wc -l
 + 
 +if [ $SAA7164ERRORS -ne 0 ]; then 
 +  MYDATE=$(/bin/date) 
 +  echo $MYDATE : Rebooting Now Due to saa7164 card crash >> /home/mythbot/mythbot_reboot_log.txt 
 +  /sbin/reboot 
 +fi 
 +</code>
 ====== Frontend ====== ====== Frontend ======
  
computers/server/mythbuntu1204.1347159180.txt.gz · Last modified: 2012/09/09 02:53 by david