[mythtv-users] 0.23-fixes, mythshutdown --status returncode 254
Christian
CvB at kruemel.org
Tue Nov 2 07:11:13 UTC 2010
> I'd try modifying the script cron calls and adding something
> like: -v most -l /tmp/mythshutdown-cron.log and then do
> the same from the command line, to a different file, obviously.
Thanks, I did that (except that mythshutdown's l parameter means
something different, but I just redirected screen output into the log
file. It actually helped, as when run from cron, mythshutdown still said
2010-11-02 08:04:20.448 (old)Settings::ReadSettings(settings.txt) - No
such file
2010-11-02 08:04:20.448 Using runtime prefix = /usr
2010-11-02 08:04:20.448 Using configuration directory = /.mythtv
2010-11-02 08:04:20.449 Cannot locate your home directory. Please set
the environment variable HOME
mythshutdown: Could not initialize myth context. Exiting.
That's strange, because an echo $HOME in the calling bash script
returned the right value for HOME.
Nevertheless, I fixed this by adding another
export HOME
to the cron script. I can't quite understand why, but am glad that it's
working. Thanks again!
> ... MYTH_PROTO_VERSION 63 3875641D
> It would be interesting to see the MYTH_PROTO_VERSION from
> the above.
MYTH_PROTO_VERSION 23056
Cheers, Christian
More information about the mythtv-users
mailing list