[mythtv-users] 0.26 Scheduler stops working

Michael T. Dean mtdean at thirdcontact.com
Tue May 21 13:07:59 UTC 2013


On 05/21/2013 08:43 AM, Brian Long wrote:
> I got an email from my monitor scripts on the mythtv backend saying I
> had a scheduler snafu.  This is what I found:
>> mythbackend --testsched
...
> 2013-05-21 08:20:18.217370 W  Scheduler: Listings source
> 'Digital-Free' is defined, but is not attached to a card input.

...

> I ran systemctl restart mythbackend.service (which took a long time)
> and now my schedule is back to normal.  This is the second time this
> has happened (last time was April 27).  Are there known issues with
> the scheduler crapping out like this or am I alone?  I'm wondering
> what I should check for in the logs.
>
> Thanks for any assistance.

This seems to happen to users who have broken Input Connections 
configurations.  Usually it's caused by things like 
defined-but-not-connected capture cards or video sources and possibly 
even "shadow channels" (having channels ).  Note, also, that the error 
above may not occur when things seem to be working.  The problem likely 
comes about as a type of race condition that depends on exactly which 
data MySQL returns first.

These issues often occur when the user does something wrong during Input 
Connection configuration (configuration of capture cards, video sources, 
input connections, and channels) and the "fixes" it by redoing the 
configuration properly--but without clearing out the garbage from the 
incorrect approach--later.  It may also be caused by "adding to" an 
existing configuration at a later date (depending on how exactly you add 
to it)--whether adding capture cards, video sources, input connections, 
or channels.

Can you try deleting your input connections configuration ("Delete all 
capture cards" (not "Delete all capture cards on <hostname>"--even if 
you only have one host), then "Delete all video sources") and then 
reconfigure in a single stage and see if you experience the issue, again?

Mike


More information about the mythtv-users mailing list