[ -x /etc/init.d/mythtv-status ] && /etc/init.d/mythtv-status reload > /dev/null
Replicating it from the commandline worked:
# mythtv-status > /dev/null
No config found; attempting to find mythbackend via UPnP.
After playing around a bit, I figured out it was coming from the MythTV Perl module:
# perl -e "require MythTV"
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 -e line 1.
Copying ~/.mythtv/config.xml from the mythtv account to the root account solved the problem.
2 comments:
The myth tv perl module uses the MYTHCONFDIR environment variable to find the myth config, and defaults t the homedir of the current user. I put a line in /etc/environment like
MYTHCONFDIR=/home/mythtv/.mythtv/
and restarted cron (may not have been required, but seemed a good idea anyway). No more messages, and it stays current even if you reconfigure myth. :)
Danny - thanks for the tip.
Post a Comment