[mythtv-users] branches/release-0-24-fixes [27071] has broken shutdown & wakeup behavior!

Douglas Peale Douglas_Peale at comcast.net
Wed Nov 3 00:21:28 UTC 2010


Todays update has broken the shutdown & wakeup behavior. Two things I see that are obviously wrong, my user script for testing
if it is safe to shut down is no longer being run, and when it does run "sudo shutdown -h now" nothing happens. I have verified
that the settings in the mythtvsetup are the same as they were (this was working yesterday).

My setup can be found here: http://www.mythtv.org/wiki/Using_ACPI_%26_MythTV_to_run_other_applications (yes I created this page)

Backend log:
2010-11-02 17:06:11.698 mythbackend version: branches/release-0-24-fixes [27071] www.mythtv.org
2010-11-02 17:06:12.530 Using runtime prefix = /usr
2010-11-02 17:06:12.551 Using configuration directory = /home/mythtv/.mythtv
2010-11-02 17:06:12.568 Empty LocalHostName.
2010-11-02 17:06:12.588 Using localhost value of Compromise
2010-11-02 17:06:12.604 New DB connection, total: 1
2010-11-02 17:06:12.631 Connected to database 'mythconverg' at host: localhost
2010-11-02 17:06:12.662 Closing DB connection named 'DBManager0'
2010-11-02 17:06:12.668 Connected to database 'mythconverg' at host: localhost
2010-11-02 17:06:12.709 Current locale en_US
2010-11-02 17:06:12.749 Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
2010-11-02 17:06:12.761 Current MythTV Schema Version (DBSchemaVer): 1264
2010-11-02 17:06:12.780 ThreadPool:HTTP: Initial 1, Max 5, Timeout 60000
2010-11-02 17:06:12.804 Enabling Upnpmedia rebuild thread.
2010-11-02 17:06:14.020 MythBackend: Starting up as the master server.
2010-11-02 17:06:14.030 New DB connection, total: 2
2010-11-02 17:06:14.048 Connected to database 'mythconverg' at host: localhost
2010-11-02 17:06:14.087 New DB connection, total: 3
2010-11-02 17:06:14.099 Connected to database 'mythconverg' at host: localhost
2010-11-02 17:06:14.887 New DB scheduler connection
2010-11-02 17:06:14.899 Connected to database 'mythconverg' at host: localhost
2010-11-02 17:06:14.920 Scheduler, Warning: Listings source 'Analog' is defined, but is not attached to a card input.
2010-11-02 17:06:14.939 Scheduler, Warning: Listings source 'Composite' is defined, but is not attached to a card input.
2010-11-02 17:06:14.959 Scheduler, Warning: Listings source 'S-Video' is defined, but is not attached to a card input.
2010-11-02 17:06:14.978 Main::Registering HttpStatus Extension
2010-11-02 17:06:14.999 Enabled verbose msgs:  important general
2010-11-02 17:06:15.021 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2010-11-02 17:06:17.979 Reschedule requested for id -1.
2010-11-02 17:06:18.436 Scheduled 155 items in 0.5 = 0.02 match + 0.44 place
2010-11-02 17:06:18.450 Seem to be woken up by USER
2010-11-02 17:06:19.470 I'm idle now... shutdown will occur in 180 seconds.
2010-11-02 17:06:22.819 UPnpMedia: BuildMediaMap VIDEO scan starting in :/var/lib/mythtv/videos:
2010-11-02 17:06:22.828 UPnpMedia: BuildMediaMap Done. Found 0 objects
2010-11-02 17:06:24.468 MainServer::ANN Monitor
2010-11-02 17:06:24.479 adding: Compromise as a client (events: 2)
2010-11-02 17:07:34.982 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2010-11-02 17:09:18.531 Launching:
2010-11-02 17:09:18.543 PID 3353: launched
2010-11-02 17:09:18.544 Starting reaper thread
2010-11-02 17:09:18.668 PID 3353: exited: status=0, result=0
2010-11-02 17:09:18.679 CheckShutdownServer returned - OK to shutdown
2010-11-02 17:09:18.691 Running the command to set the next scheduled wakeup time :-
						sudo sh -c "/usr/bin/setwakeup.sh 1288751400"
2010-11-02 17:09:18.722 Launching:
2010-11-02 17:09:18.733 PID 3355: launched
2010-11-02 17:09:18.779 PID 3355: exited: status=0, result=0
2010-11-02 17:09:18.798 Running the command to shutdown this computer :-
						sudo shutdown -h now
2010-11-02 17:09:18.818 Launching:
2010-11-02 17:09:18.838 PID 3358: launched
2010-11-02 17:09:18.897 PID 3358: exited: status=0, result=0
2010-11-02 17:10:18.922 Waited more than 60 seconds for shutdown to complete - resetting idle time
2010-11-02 17:10:20.928 I'm idle now... shutdown will occur in 180 seconds.
2010-11-02 17:13:19.983 Launching:
2010-11-02 17:13:19.988 PID 3455: launched
2010-11-02 17:13:20.066 PID 3455: exited: status=0, result=0
2010-11-02 17:13:20.077 CheckShutdownServer returned - OK to shutdown
2010-11-02 17:13:20.087 Running the command to set the next scheduled wakeup time :-
						sudo sh -c "/usr/bin/setwakeup.sh 1288751400"
2010-11-02 17:13:20.109 Launching:
2010-11-02 17:13:20.139 PID 3456: launched
2010-11-02 17:13:20.277 PID 3456: exited: status=0, result=0
2010-11-02 17:13:20.289 Running the command to shutdown this computer :-
						sudo shutdown -h now
2010-11-02 17:13:20.298 Launching: sudo shutdown -h now
2010-11-02 17:13:20.319 PID 3457: launched
sh: 2010-11-02: not found
2010-11-02 17:13:20.389 PID 3457: exited: status=32512, result=127
2010-11-02 17:13:20.400 ServerHaltCommand failed, shutdown aborted
2010-11-02 17:13:22.409 I'm idle now... shutdown will occur in 180 seconds.


More information about the mythtv-users mailing list