<p><span lang="EN-US">I’ve been
using MythTv for several years and finally ran into a problem I can’t figure
out via the list archives/wiki page/google/etc. so I’m making my first post to
this list hoping someone can spot something in my setup that may be causing the
problem.</span></p>

<p><span lang="EN-US">*My Problem*</span></p>

<p><span lang="EN-US">I’m trying
to get the MythTv shutdown to work consistently.<span>  </span></span></p>

<p><span lang="EN-US">When it
works - If I reboot my backend and leave it sit there waiting for a login, it
will look at the schedule and if nothing is scheduled to record in the next 20
minutes it will shutdown and wakeup to record at the scheduled time just like it’s
supposed to.<span>  </span></span></p>

<p><span lang="EN-US">When It
doesn’t work - The problem comes in once the MythTv backend has been used.<span>  </span>Once it has recorded something, or I’ve used
the frontend to watch a show, it will never shutdown again until I reboot.<span>  </span>It’s as if once the backend has been used to
do something there is something loaded that keeps it from being idle. </span></p>

<p><span lang="EN-US">I’ve looked
in the Backend log but nothing jumps out at me (probably because I don’t know
what I’m looking for </span><span style="font-family:Wingdings" lang="EN-US"><span>:-)</span></span><span lang="EN-US"></span></p>

<p><span lang="EN-US">*My
Configuration*</span></p>

<p><span lang="EN-US">- The machine
is a combination FE/BE/desktop running Ubuntu 12.04 32 bit.</span></p>

<p><span lang="EN-US">- MythTv is
version 25+fixes using the MythBuntu repository.</span></p>

<p><span lang="EN-US">*Myth BE
config*</span></p>

<p><span lang="EN-US">- EIT
transport timout (mins): 2</span></p>

<p><span lang="EN-US">- Backend
idle before EIT crawl (secs): 1280</span></p>

<p><span lang="EN-US">- Startup
command: (blank – it seems to start up just fine)</span></p>

<p><span lang="EN-US">- Block
Shutdown before client connected: (unchecked)</span></p>

<p><span lang="EN-US">- Idle
shutdown timeout (secs): 1200</span></p>

<p><span lang="EN-US">- Maximum
wait for recording (mins): 20</span></p>

<p><span lang="EN-US">- Startup
before recording (secs): 600</span></p>

<p><span lang="EN-US">- Wakeup time
format: time_t</span></p>

<p><span lang="EN-US">- Command to
set wakeup time: sudo /usr/bin/setwakeup.sh 4time</span></p>

<p><span lang="EN-US">- Server halt
command: sudo shutdown –P now</span></p>

<p><span lang="EN-US">- Pre-shutdown-check
command: (blank – once I get the shutdown working reliably I’ll put something
in here)</span></p>

<p><span lang="EN-US"> </span></p>

<p><span lang="EN-US">Any suggestions
or troubleshooting tips are much appreciated.</span></p>

<p><span lang="EN-US"> </span></p>

<p><span lang="EN-US"> </span></p>

Thanks,<br>Jeff<br>