[mythtv-users] Shutdown Issue - Need Help
Jeff Hatfield
hatfield.jeff at gmail.com
Wed Nov 28 21:54:14 UTC 2012
From: Bill Meek <keemllib at gmail.com>
To: mythtv-users at mythtv.org
Cc:
Date: Tue, 27 Nov 2012 14:36:05 -0600
Subject: Re: [mythtv-users] Shutdown Issue - Need Help
On 11/27/2012 02:13 PM, Jeff Hatfield wrote:
...
> When It doesn’t work - The problem comes in once the MythTv backend has
> been used. Once it has recorded something, or I’ve used the frontend to
> watch a show, it will never shutdown again until I reboot. It’s as if once
> the backend has been used to do something there is something loaded that
> keeps it from being idle.
>
...
> Any suggestions or troubleshooting tips are much appreciated.
>>Hi;
>>When the backend is in the "It doesn't work" mode, type:
>> mythshutdown --check -v general --loglevel info
>>The last line(s) could help, and might look similar to this:
>> 2012-11-27 14:25:28.489279 I Mythshutdown: --status returned: 16
>>2012-11-27 14:25:28.489325 I Mythshutdown: --check returned: 1
>>The return value must be 0 for shutdown to happen.
>>Starting the backend with the -v idle,system could give you some
clues if the above doesn't help.
>>--
>>Bill
Bill - thanks for the tips - it was very helpful to see the output of the
command (see below), but unfortunately, I still can't see a reason it's not
shutting down after the backend records something.
I'll try your other suggestion about Starting the backend with the -v
idle,system tonight and see what that does.
mythshutdown --check -v general --loglevel info
When it's recording this is the output from the check
2012-11-28 19:12:33.577653 N isRecording: Attempting to connect to master
server...
2012-11-28 19:12:33.581842 I MythCoreContext: Connecting to backend
server: 10.0.0.2:6543 (try 1 of 1)
2012-11-28 19:12:33.583654 I Using protocol version 72
2012-11-28 19:12:33.588050 N Recording in progress...
2012-11-28 19:12:33.677928 I Mythshutdown: --status returned: 8
2012-11-28 19:12:33.677963 N Not OK to shutdown
2012-11-28 19:12:33.677982 I Mythshutdown: --check returned: 1
As soon as it's done recording
2012-11-28 19:36:12.045205 N Commercial Detection in progress...
2012-11-28 19:36:12.145499 N isRecording: Attempting to connect to master
server...
2012-11-28 19:36:12.150087 I MythCoreContext: Connecting to backend
server: 10.0.0.2:6543 (try 1 of 1)
2012-11-28 19:36:12.151844 I Using protocol version 72
2012-11-28 19:36:12.167073 N Has queued or pending jobs
2012-11-28 19:36:12.245775 I Mythshutdown: --status returned: 34
2012-11-28 19:36:12.245808 N Not OK to shutdown
2012-11-28 19:36:12.245822 I Mythshutdown: --check returned: 1
As soon as it's done with flagging commercials, etc. - There were no shows
scheduled to record for over 24 hours, so I just let it sit all night and
it never shut down.
2012-11-28 19:51:30.592032 N isRecording: Attempting to connect to master
server...
2012-11-28 19:51:30.596256 I MythCoreContext: Connecting to backend
server: 10.0.0.2:6543 (try 1 of 1)
2012-11-28 19:51:30.598138 I Using protocol version 72
2012-11-28 19:51:30.692320 I Mythshutdown: --status returned: 0
2012-11-28 19:51:30.692351 N OK to shutdown
2012-11-28 19:51:30.692370 I Mythshutdown: --check returned: 0
The next day I restarted the machine, got the mythshutdown check info
below, and 20 min later it shutdown just the way it was supposed to. I'm
stumped.
2012-11-29 05:40:58.798808 N isRecording: Attempting to connect to master
server...
2012-11-29 05:40:58.800741 I MythCoreContext: Connecting to backend
server: 10.0.0.2:6543 (try 1 of 1)
2012-11-29 05:40:58.801567 I Using protocol version 72
2012-11-29 05:40:58.899071 I Mythshutdown: --status returned: 0
2012-11-29 05:40:58.899092 N OK to shutdown
2012-11-29 05:40:58.899112 I Mythshutdown: --check returned: 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121129/d6d6c5e7/attachment.html>
More information about the mythtv-users
mailing list