LinHES Forums
http://forums.linhes.org/

Mysterious power off issue
http://forums.linhes.org/viewtopic.php?f=21&t=24634
Page 1 of 1

Author:  bobmyth [ Fri Mar 17, 2017 12:43 pm ]
Post subject:  Mysterious power off issue

My system has powered itself off several times in the past. For a while I thought it was the CPU overheat protection, however I finally made some time to look through my log files and found this:
Code:
Mar 17 08:07:28 mythtv sudo: pam_unix(sudo:session): session closed for user root
Mar 17 08:07:28 mythtv sudo:   mythtv : TTY=unknown ; PWD=/etc/sv/mythbackend ; USER=root ; COMMAND=/sbin/poweroff
Mar 17 08:07:28 mythtv sudo: pam_unix(sudo:session): session opened for user root by (uid=0)


I suspect this may be related to the following script:

/usr/LH/bin/mythwelcome-set-alarm.sh

I don't remember configuring this. Anyone have additional information?

Author:  brfransen [ Fri Mar 17, 2017 2:47 pm ]
Post subject:  Re: Mysterious power off issue

That script specifically isn't doing the shutdown but it does set the alarm that if your motherboard supports it will cause it to boot at the time specified. That time will be sometime before the next recording starts.

To disable the shutdown change mythtv-setup > General > Shutdown/Wakeup Options > Idle shutdown timeout. Set that to 0 to disable shutdown.

Author:  bobmyth [ Sat Mar 18, 2017 11:40 pm ]
Post subject:  Re: Mysterious power off issue

Thank you for the response. Mine was set to 40, so I've set it to zero and hopefully it will resolve my issue.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/