On 9/24/07, <b class="gmail_sendername">MartinG</b> &lt;<a href="mailto:gronslet@gmail.com">gronslet@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi list!<br><br>I have a question regarding Mythwelcome.<br>The short version:<br><br>&lt;snip to make it even shorter ;-) &gt;<br><br>Any help appreciated!<br></blockquote></div><br>Martin,<br><br>If I understand the situation correctly, to summarize:
<br>1) You have a BE (which may also be an FE) and a separate FE<br>2) Manual testing of alarm-script.sh on the BE is ok<br>3) You have configured MythWelcome on the FE<br>4) Attempts to let MythWelcome shutdown both the FE and the BE result in errors on the BE, including this snippet:
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Backend log reads (/var/log/mythtv/mythbackend.log):<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2007-09-23 12:24:05.858 I&#39;m idle now... shutdown will occur in 180 seconds.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  ...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2007-09-23 12:26:45.077 20 secs left to system shutdown!
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2007-09-23 12:26:55.091 10 secs left to system shutdown!<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Broadcast message from root (Sun Sep 23 12:27:05 2007):<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The system is going down for system halt NOW!<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sh: /usr/bin/nvram-wakeup: No such file or directory
<br><br>Your problem appears to be that you overlooked setting up MythWelcome on the BE.&nbsp; I expect you&#39;ll find that when you run<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # mythwelcome -s<br>on the BE that the setting for nvram-wakeup command is still /usr/bin/nvram-wakeup and needs to be changed to /home/mythtv/.mythtv/alarm-
script.sh.&nbsp; Don&#39;t forget you have two separate systems being shut down and each needs to be told how to do it.<br><br>While you&#39;re at it, consider what you want the system to do when it wakes up.&nbsp; As you have them currently configured, when the BE wakes up it won&#39;t shut down until someone runs mythfrontend (on either box) manually because:
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; On the FE you have:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Automatically start: No<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; And on the BE you have:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Block shutdown before client connected: checked<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (and since I suspect you didn&#39;t configure MythWelcome on it, the default for Automatically start: is NO, anyway)
<br><br>I set my system up to *not* &quot;Block shutdown before client connected&quot; because I have my system waking up to do recordings at all hours of the day and night and to run mythfilldatabase and I want it to go back to sleep without requiring my attention.&nbsp; If you tried going the other way and set &quot;Automatically start&quot; to yes, you&#39;re still stuck because it won&#39;t shut down while a front end session is running.
<br><br>HTH,<br>Craig.<br>