Skip to main content

Thread: Why does my system restart?


hi

have ubuntu 9.10 machine, on startup mythwelcome runs.

if leave timeout count down 120 0 system shuts down.

if press 'm' 'shutdown now' system reboots!

have checked these commands:
in mythtv-setup: shutdown command sudo shutdown -h now
in mythfrontend: shutdown command sudo shutdown -h now
in mythwelcome --setup: shutdown command sudo shutdown -h now

confused why reboots?!

if user mythtv runs
code:
 sudo shutdown -h now
system shuts down should.

mythbackend.log (cleared rebooted till auto restart (should auto shutdown))
code:
2009-12-16 16:47:35.812 mythbackend version: branches/release-0-22-fixes [22594] www.mythtv.org 2009-12-16 16:47:36.039 using runtime prefix = /usr 2009-12-16 16:47:36.122 using configuration directory = /home/mythtv/.mythtv 2009-12-16 16:47:36.284 empty localhostname. 2009-12-16 16:47:36.380 using localhost value of chimera 2009-12-16 16:47:36.553 new db connection, total: 1 2009-12-16 16:47:36.773 connected database 'mythconverg' @ host: localhost 2009-12-16 16:47:36.824 closing db connection named 'dbmanager0' 2009-12-16 16:47:36.917 connected database 'mythconverg' @ host: localhost 2009-12-16 16:47:37.559 current mythtv schema version (dbschemaver): 1244 2009-12-16 16:47:39.223 mythbackend: starting master server. 2009-12-16 16:47:39.454 new db connection, total: 2 2009-12-16 16:47:39.508 connected database 'mythconverg' @ host: localhost 2009-12-16 16:47:39.839 new db connection, total: 3 2009-12-16 16:47:40.023 connected database 'mythconverg' @ host: localhost 2009-12-16 16:47:40.836 new db scheduler connection 2009-12-16 16:47:40.950 connected database 'mythconverg' @ host: localhost 2009-12-16 16:47:41.427 mediaserver:: loopback address specified - 127.0.0.1. disabling upnp 2009-12-16 16:47:41.573 main::registering httpstatus extension 2009-12-16 16:47:41.698 enabled verbose msgs:  important general 2009-12-16 16:47:41.955 autoexpire: calcparams(): max required free space: 1.0 gb w/freq: 15 min 2009-12-16 16:47:44.140 reschedule requested id -1. 2009-12-16 16:47:44.931 scheduled 2 items in 0.8 = 0.45 match + 0.34 place 2009-12-16 16:47:45.017 seem woken user 2009-12-16 16:47:46.064 i'm idle now... shutdown occur in 120 seconds. 2009-12-16 16:47:47.015 mainserver::ann monitor 2009-12-16 16:47:47.087 adding: chimera client (events: 0) 2009-12-16 16:47:47.130 mainserver::ann monitor 2009-12-16 16:47:47.197 adding: chimera client (events: 1) 2009-12-16 16:49:01.504 autoexpire: calcparams(): max required free space: 1.0 gb w/freq: 15 min ssh: ok shutdown mpd: ok shutdown failed 0 checks shutting down.... 2009-12-16 16:49:50.493 checkshutdownserver returned - ok shutdown 2009-12-16 16:49:50.671 running command set next scheduled wakeup time :-                                                 sudo sh -c "/usr/bin/setwakeup.sh 1260991280" 2009-12-16 16:49:52.103 running command shutdown computer :-                                                 sudo shutdown -h now
thanks
chris

i fixed incase needs know:

changed 3 shutdown command values to:
code:
 /home/mythtv/mythscript/shutdownpc.sh
shutdownpc.sh
code:
#!/bin/bash    sudo shutdown -h    exit 0
not sure why worked did!


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Why does my system restart?


Ubuntu

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'