[mythtv-users] optimize_mythdb.pl Fails

Tom Dexter digitalaudiorock at gmail.com
Sat Jul 26 14:40:48 UTC 2008


On Fri, Jul 25, 2008 at 8:51 AM, moodyjunk at frontiernet.net
<moodyjunk at frontiernet.net> wrote:
> After wrestling with cpan to get optimize_mythdb.pl running at all
> (install perl-cpan via yum, then within cpan install Test::More,
> Net::UPnP, and Net::UPnP::QueryResponse) I still get the following
> error:
>
>
> No config found; attempting to find mythbackend via UPnP.
> No backends found.  Please copy /root/.mythtv/config.xml from a
> working MythTV installation instead.
> Compilation failed in require at
> /usr/share/doc/mythtv-docs-0.21/contrib/optimize_mythdb.pl line 15.
> BEGIN failed--compilation aborted at
> /usr/share/doc/mythtv-docs-0.21/contrib/optimize_mythdb.pl line 15.
>
>
> Any ideas?
>

Is this by any chance happening when you run it from a cron?  If so
make sure you're HOME isn't set to /.   That won;t work even if
there's a .mythtv/config.xml there.

Tom


More information about the mythtv-users mailing list