mythbuntu-bugs team mailing list archive
-
mythbuntu-bugs team
-
Mailing list archive
-
Message #02348
[Bug 594956] Re: /usr/bin/mythshutdown --shutdown not working
Followed http://www.gossamer-threads.com/lists/mythtv/dev/317005
and added "env_keep=HOME" to the end of my Defaults line in the sudoers
file.
Looks like a solution - 10 reboots so far and no issues with shutdowns.
--
/usr/bin/mythshutdown --shutdown not working
https://bugs.launchpad.net/bugs/594956
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to Mythbuntu.
Status in Mythbuntu, Ubuntu derivative focused upon MythTV: New
Bug description:
Dear Team,
yet another bug on my system - fresh install of 10.04, using mythwelcome on a combined Backend/Frontend.
Once or twice a day mythshutdown is not able to shutdown the system after a recording. mythwelcome,
shutdown command is set to "sudo /usr/bin/mythshutdown --shutdown".
Manually calling this command on a console results sometimes in the following output:
--- snip ---
os@mythtv-livingroom:~$ sudo /usr/bin/mythshutdown --shutdown
Cannot login to database?
Would you like to configure the database connection now? [no]
[console is not interactive, using default ´no´]
mythshutdown: Could not initialize myth context, Exiting.
--- snip ---
Database and backend use a private IP address (192.168.), not loopback device as the backend serves
other frontends as well. The network cable runs to a switch. Network chipset is a r8149.
I have no idea/clue what this error is about, but it prevents mythwelcome/mythshutdown to shutdown the
system back thus eating power forever.
This error happens only ever 5-8 time - in all other cases mythwelcome shuts down the system as requested.
Any tips?
References