[mythtv-users] Frequent mythfilldatabase download errors

Dan Wilga mythtv-users2 at dwilga-linux1.amherst.edu
Mon Dec 1 14:54:51 UTC 2014


On 11/21/14 1:28 PM, R. G. Newbury wrote:
> On 21/11/14 09:12 AM, Dan Wilga wrote:
>> On 11/20/14 4:57 PM, Bill Meek wrote:
>>> On 11/20/2014 12:25 PM, Dan Wilga wrote:
>>>> The other night I realized that some regularly-scheduled programs
>>>> weren't going to be recorded. I quickly discovered the problem: MFD
>>>> had been
>>>> failing to download listings for one of my sources.
>>>>
>>>> I manually ran it from the commandline, and confirmed that it wasn't
>>>> working. About 10 minutes later I tried the exact same commandline
>>>> and it
>>>> DID work. It's been failing again for the last few days when run
>>>> automatically.
>>>
>> Of course, I tried it just now and it worked fine. I'll try again the
>> next time I see a failure in the logs.
>
> I ran into something like this about a year ago. It turned out to be a 
> sleepy DNS system, graciously not provided by my cableco.
>
> Write a little wrapper script for you mfdb call.
> Put "ping -c 3 'somewhere-else-in-the-world.com'"
> as the first line.
>
> Use an address outside your ISP/ cableco's network structure. What 
> seems to happen, is that the cablemodem goes to sleep when not 
> 'roused' recently. It took long enough to wake up, that the mfdb call 
> failed.
>
> Don't know if that is your problem, but the fact that it will not work 
> on its own, but does when you try it manually *a short time later* is 
> very suspicious.
>
Weird. I did manage to capture a log when it failed, and the problem was 
indeed "Host dd.schedulesdirect.org not found". This is the first time 
I've run into this, but I'm beginning to think you're right, Geoff. I'll 
try your suggestion of using a wrapper.


More information about the mythtv-users mailing list