Heh, no problem... Glad to help because this exact same problem was giving me nothing but trouble and for weeks I was starting mythbackend manually so I decided I should do something about it.<br><br>
<div><span class="gmail_quote">On 1/16/06, <b class="gmail_sendername">Jerry McBride</b> &lt;<a href="mailto:mcbrides9@comcast.net">mcbrides9@comcast.net</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Monday 16 January 2006 01:28, Steve wrote:<br>&gt; I had this exact same problem with my backend and I simply changed my init
<br>&gt; script around a bit to look like this, try it out for yourself:<br>&gt;<br><br>I took your script, emaild it to my son at home, he twiddled with it a tad bit<br>and...<br><br>IT WORKS!<br><br>Kinda.... :')<br><br>
I took your script and had to morph it a bit to:<br><br>#!/sbin/runscript<br><br>depend() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; need net<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; use mysql<br>}<br><br>start() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [[ -z &quot;${MYTH_VERBOSE}&quot; ]] &amp;&amp; MYTH_VERBOSE=&quot;none&quot;
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; QTDIR=/usr/qt/3<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; #fixes for bug #101308<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unset DISPLAY<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unset SESSION_MANAGER<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; # Work around any strange permissions that may be on these files.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; chown -R mythtv /var/log/mythtv/
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ebegin &quot;Starting MythTV Backend&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /usr/bin/mythbackend -l /var/log/mythtv/mythbackend.log<br>-p /var/run/mythbackend.pid -v all -d<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eend $?<br>}<br><br>stop () {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ebegin &quot;Stopping MythTV Backend&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; killall -2 mythbackend<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rm&nbsp;&nbsp;/var/run/mythbackend.pid<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; eend $?<br>}<br><br># end of script<br><br><br>When I get home tonight, I'm going to try to add the start-and-stop stuff<br>backinto it ad see how that effects it. Better still, I'm going to find out
<br>why this works so well...<br><br>Thank you a million, Steve.<br>_______________________________________________<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br></blockquote></div><br>