[mythtv-users] Automatic mythfilldatabase runs to Schedules Direct seem to be frequently failing

Phil Bridges gravityhammer at gmail.com
Thu Feb 20 20:02:58 UTC 2014


On Thu, Feb 20, 2014 at 2:52 PM, Ian Evans <dheianevans at gmail.com> wrote:

> On Thu, Feb 20, 2014 at 10:17 AM, R. G. Newbury <newbury at mandamus.org>wrote:
>
>> On 02/18/2014 11:42 PM, Ian Evans wrote:
>>
>>> On Mon, Feb 17, 2014 at 6:08 PM, Ian Evans <dheianevans at gmail.com
>>> <mailto:dheianevans at gmail.com>> wrote:
>>>
>>>     I was looking at the wrong thing. I've created a script and will see
>>>     how it goes. Thanks.
>>>
>>> [snip]
>>>
>>> Myth says the last run was 21:02. The run was unsuccessful.There were no
>>> entries in the mythfilldatabase log. Is that due to the fact that I'm
>>> calling it from a script?
>>>
>>> Is there a log that should be showing me "Running mythfillwithping.sh"?
>>>
>>> Just now, I ran the script manually and it did the pings and
>>> successfully grabbed new schedules. Just seems I'm having issues with
>>> auto runs, wrapper script or no wrapper script.
>>>
>>
>> You probably need to chown/chmod the wrapper script (and possibly mfdb)
>> to allow the mythtv 'user' to run the script.
>>
>> Also check and/or disable selinux/apparmour,  as least to discover if
>> that is the problem. Selinux can cause amazing problems with running a
>> script or writing to a file, without producing ANY error messages.
>>
>> I now disable selinux on the kernel boot line and in /etc/selinux/config
>> on the first reboot from an install!
>>
>
> It was already chown'd by mythtv. Not sure if the chmod is right:
>
> -rwxr-xr-x 1 mythtv mythtv     119 Feb 19 14:00 mythfillwithping.sh
>
> How would I check selinux/apparmor? Don't see any logs and have never
> dealt with them before.
>
> The real head scratcher, as I said before, is why after three yrs is this
> happening? In terms of internet connection/modem/etc, nothing has changed.
>
>
>
I noticed last night that I had only 6 days of schedule data.   The last
MFDB log:

2014-02-19 21:00:15.091697 I [19998/19999] Logger logging.cpp:474
(initialTimeout) - Added logging to mythlogserver at TCP:35327
2014-02-19 21:00:15.220457 I [19998/19998] CoreContext filldata.cpp:569
(Run) - Updating source #1 (Cable - No Box) with grabber schedulesdirect1
2014-02-19 21:00:15.220933 I [19998/19998] CoreContext filldata.cpp:583
(Run) - Found 12 channels for source 1 which use grabber
2014-02-19 21:00:15.220964 I [19998/19998] CoreContext filldata.cpp:180
(GrabDDData) - This DataDirect listings source is shared by 2 MythTV lineups
2014-02-19 21:00:15.220967 N [19998/19998] CoreContext filldata.cpp:189
(GrabDDData) - We should keep data around after this one
2014-02-19 21:00:15.225094 I [19998/19998] CoreContext filldata.cpp:212
(GrabDDData) - Retrieving datadirect data.
2014-02-19 21:00:15.225097 I [19998/19998] CoreContext filldata.cpp:215
(GrabDDData) - Grabbing ALL available data.
2014-02-19 21:00:15.225123 I [19998/19998] CoreContext datadirect.cpp:1155
(GrabData) - DataDirect: Grabbing listing data
2014-02-19 21:00:15.225237 I [19998/19998] CoreContext datadirect.cpp:1017
(DDPost) - Downloading DataDirect feed
2014-02-19 21:04:19.778255 E [19998/19998] CoreContext datadirect.cpp:1184
(GrabData) - DataDirect: Failed to get data: Download error
2014-02-19 21:04:19.778267 E [19998/19998] CoreContext filldata.cpp:218
(GrabDDData) - Encountered error in grabbing data.
2014-02-19 21:04:20.128901 I [19998/19998] CoreContext filldata.cpp:569
(Run) - Updating source #3 (Cable - Box) with grabber schedulesdirect1
2014-02-19 21:04:20.129413 I [19998/19998] CoreContext filldata.cpp:583
(Run) - Found 179 channels for source 3 which use grabber
2014-02-19 21:04:20.129422 I [19998/19998] CoreContext filldata.cpp:180
(GrabDDData) - This DataDirect listings source is shared by 2 MythTV lineups
2014-02-19 21:04:20.129425 N [19998/19998] CoreContext filldata.cpp:184
(GrabDDData) - We should use cached data for this one
2014-02-19 21:04:20.130564 I [19998/19998] CoreContext filldata.cpp:212
(GrabDDData) - Retrieving datadirect data.
2014-02-19 21:04:20.130567 I [19998/19998] CoreContext filldata.cpp:215
(GrabDDData) - Grabbing ALL available data.
2014-02-19 21:04:20.130574 I [19998/19998] CoreContext datadirect.cpp:1155
(GrabData) - DataDirect: Grabbing listing data
2014-02-19 21:04:20.130629 I [19998/19998] CoreContext datadirect.cpp:1017
(DDPost) - Downloading DataDirect feed
2014-02-19 21:05:32.357794 E [19998/19998] CoreContext datadirect.cpp:1184
(GrabData) - DataDirect: Failed to get data: Download error
2014-02-19 21:05:32.357810 E [19998/19998] CoreContext filldata.cpp:218
(GrabDDData) - Encountered error in grabbing data.
2014-02-19 21:05:32.459034 E [19998/19998] CoreContext main.cpp:448 (main)
- Failed to fetch some program info


Running it manually worked fine.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140220/858d8139/attachment.html>


More information about the mythtv-users mailing list