[mythtv-users] mythfilldatabase fails to run automatically from within myth but runs ok from bash prompt

Nick Morrott knowledgejunkie at gmail.com
Mon Mar 26 02:54:49 UTC 2007


On 26/03/07, Viktor Avramov <drvik at bigpond.net.au> wrote:
>
>
> Hi there... wondering if someone can point me in the right direction...
> mythfilldatabase segfaulted during it's run overnight... here is the snippet
> from the log
>
>
>
> > 2007-03-26 04:50:03.012 New DB connection, total: 1
>
> > 2007-03-26 04:50:03.051 Connected to database 'mythconverg' at host:
>
> > localhost 2007-03-26 04:50:03.066 mythfilldatabase: Listings Download
>
> > Started 2007-03-26 04:50:03.068 New DB connection, total: 2
>
> > 2007-03-26 04:50:03.070 Connected to database 'mythconverg' at host:
>
> > localhost 2007-03-26 04:50:03.134 Updating source #1 (DigitalTV) with
>
> > grabber tv_grab_au 2007-03-26 04:50:03.145 Found 12 channels for source 1
>
> > which use grabber 2007-03-26 04:50:03.194 Failed to run tv_grab_au
>
> > --capabilities

Looking at the code (mythfilldatabase/filldata.cpp) I think this error
means that mythfilldatabase not being able to run the grabber at all,
rather than being able to run the grabber, but it not supporting the
--capabilities argument. If the grabber was successfully started, but
--capabilities did not work, you would instead see the error
"--capabilities failed or we timed out waiting".

Do you have >1 copy of the grabber on your sytem, and is it in the
path of the mythbackend user (that starts mythfilldatabase when run
automatically)?

> > mythtv at bigfoot /var/log/mythtv $ /usr/bin/mythfilldatabase --refresh-all
>
> > --no-delete

As the grabber works for user mythtv, I would compare the paths and
ensure that tv_grab_au is in the path of the mythbackend user (root?),
and the appropriate grabber config files (usually *.xmltv) are in
their required location for that user.

Nick
-- 
MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users

"An investment in knowledge always pays the best interest." - Benjamin Franklin


More information about the mythtv-users mailing list