Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Mythwelcome not shutting down after DailyWakeupEndPeriod1

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


bbennetts at blueyonder

Sep 22, 2006, 3:56 AM

Post #1 of 3 (626 views)
Permalink
Mythwelcome not shutting down after DailyWakeupEndPeriod1

Hey all,

I have MythFillEnabled set and the min and max hours set to the wee hours of
the morning. If my combined FE-BE machine is left on overnight the fill runs
fine.

Since I have a combined FE-BE I use mythwelcome and I have tried setting the
start and end periods so the machine will wake up and for the database fill
and then shutdown, however the shut down does not seem to be working - the
machine just sits there with a 'Mythtv is Idle' status.

when outside of the wakeup period mythshutdown -v all -s returns :

2006-09-22 11:46:49.113 Mythshutdown: --status
2006-09-22 11:46:49.147 MSqlQuery: SELECT data FROM settings WHERE value =
'MythShutdownLock' AND hostname IS NULL;
2006-09-22 11:46:49.148 MSqlQuery: SELECT data FROM settings WHERE value =
'DailyWakeupStartPeriod1' AND hostname IS NULL;
2006-09-22 11:46:49.149 MSqlQuery: SELECT data FROM settings WHERE value =
'DailyWakeupEndPeriod1' AND hostname IS NULL;
2006-09-22 11:46:49.149 MSqlQuery: SELECT data FROM settings WHERE value =
'DailyWakeupStartPeriod2' AND hostname IS NULL;
2006-09-22 11:46:49.150 MSqlQuery: SELECT data FROM settings WHERE value =
'DailyWakeupEndPeriod2' AND hostname IS NULL;
2006-09-22 11:46:49.151 Mythshutdown: --status returned: 0

and idleTimeoutSecs is set to 15, which implies from the test in
updateStatusMessage() line 635 :

<snip>
if (m_statusList.count() == 0)
{
if (m_bWillShutdown && m_secondsToShutdown != -1)
<snip>

that m_secondsToShutdown == -1, because a SHUTDOWN_COUNTDOWN is not being
received. Now , in my log I have the worrying line :

2006-09-22 10:40:51.188 Seem to be woken up by USER

Which makes me think that mythtv thinks its been envoked by a user and so will
not automagically shutdown (I think I've seen some code implying it blocks
this on user startup).

Mythtv version is Gentoo 0.20_p11244

Any ideas?

Thanks in advance,

Bryan.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


philledwards at gmail

Sep 22, 2006, 4:59 AM

Post #2 of 3 (548 views)
Permalink
Re: Mythwelcome not shutting down after DailyWakeupEndPeriod1 [In reply to]

> I have MythFillEnabled set and the min and max hours set to the wee hours of
> the morning. If my combined FE-BE machine is left on overnight the fill runs
> fine.
>
> Since I have a combined FE-BE I use mythwelcome and I have tried setting the
> start and end periods so the machine will wake up and for the database fill
> and then shutdown, however the shut down does not seem to be working - the
> machine just sits there with a 'Mythtv is Idle' status.
> Which makes me think that mythtv thinks its been envoked by a user and so will
> not automagically shutdown (I think I've seen some code implying it blocks
> this on user startup).

Sorry if this is bleedin' obvious, but you have exited out from the
front end back to the mythwelcome screen have you?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


lofty69 at gmail

Sep 22, 2006, 5:04 AM

Post #3 of 3 (557 views)
Permalink
Re: Mythwelcome not shutting down after DailyWakeupEndPeriod1 [In reply to]

On 22/09/06, Phill Edwards <philledwards [at] gmail> wrote:
>
> > I have MythFillEnabled set and the min and max hours set to the wee
> hours of
> > the morning. If my combined FE-BE machine is left on overnight the fill
> runs
> > fine.
> >
> > Since I have a combined FE-BE I use mythwelcome and I have tried setting
> the
> > start and end periods so the machine will wake up and for the database
> fill
> > and then shutdown, however the shut down does not seem to be working -
> the
> > machine just sits there with a 'Mythtv is Idle' status.
> > Which makes me think that mythtv thinks its been envoked by a user and
> so will
> > not automagically shutdown (I think I've seen some code implying it
> blocks
> > this on user startup).
>
> Sorry if this is bleedin' obvious, but you have exited out from the
> front end back to the mythwelcome screen have you?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

have you check that block shutdown before clients connects is not enabled.
If you are only booting up this machine so that it can grab listings then
this will need to be unchecked...

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.