This does not appear to be the issue.  Both links are there and they point to the correct place.  They are S24mythtv-backend, not S99*.  I assume this represents some kind of ordering?  I don't see anything with a higher number that should be required.
<br><br>--<br>Mike<br><br><div><span class="gmail_quote">On 11/9/06, <b class="gmail_sendername">Glyn Davies</b> &lt;<a href="mailto:agdavies@gmail.com">agdavies@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Probably a silly question, but have you got an appropriate soft link<br>in /etc/rc3.d and/or /etc/rc5.d?<br><br>Something like...<br>$ ls -l /etc/rc3.d/S99mythtv<br>lrwxrwxrwx 1 root root 16 Jul&nbsp;&nbsp;2&nbsp;&nbsp;2005 /etc/rc3.d/S99mythtv -&gt; ../init.d/mythtv*
<br><br>(I'm no Ubuntu user, so my apologies if these dirs don't apply on that distro.)<br><br>On 09/11/06, Mario Limonciello &lt;<a href="mailto:mario.mailing@gmail.com">mario.mailing@gmail.com</a>&gt; wrote:<br>&gt; Michael,
<br>&gt;<br>&gt; I think I mis-interpreted your first post.&nbsp;&nbsp;The backend will run from the<br>&gt; init script if you run it by sudo like this right?:<br>&gt;<br>&gt; &gt; sudo /etc/init.d/mythtv-backend start<br>&gt; &gt;
<br>&gt;<br>&gt; If so, then we need to investigate why it won't run from startup init<br>&gt; scripts by default.&nbsp;&nbsp;(You have a different startup problem then what i've<br>&gt; noticed on the forums)<br>&gt;<br>&gt; For controlling /dev/ttyS0,
<br>&gt; add mythtv to the &quot;dialout&quot; group.&nbsp;&nbsp;I will notate this to be added to the<br>&gt; guide under serial control.&nbsp;&nbsp;I'll also try to remember that feisty packages<br>&gt; should do this by default.<br>&gt;<br>
&gt; About ivtv control, myth is able to control the devices after these two<br>&gt; commands, correct?&nbsp;&nbsp;If so, then try adding to /etc/default/mythtv-backend<br>&gt; some verbosity switches (probably video related switches) and starting the
<br>&gt; backend to see if it tells you when it tries to set the channel and input.<br>&gt;<br>&gt;<br>&gt; Regards,<br>&gt;<br>&gt; Mario<br>&gt;<br>&gt;<br>&gt; On 11/9/06, Michael Tiller &lt;<a href="mailto:michael.tiller@gmail.com">
michael.tiller@gmail.com</a>&gt; wrote:<br>&gt; &gt; Mario,<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp; Thanks for the response.&nbsp;&nbsp;I did not use mythtv as my first user.&nbsp;&nbsp;In<br>&gt; fact, I used your guide (which I think is quite good) which is how I knew
<br>&gt; not to do this. :-)<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp; Note that I have no trouble starting it manually (via sudo).&nbsp;&nbsp;I have<br>&gt; added three lines which I've highlighted in red.&nbsp;&nbsp;When I get home I'll try<br>&gt; taking them out and see if they make a difference but if the script is run
<br>&gt; as root I can't see why it would make a difference.<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp; I dont know what the lines:<br>&gt; &gt;<br>&gt; &gt; # Default-Start:&nbsp;&nbsp;&nbsp;&nbsp; 24<br>&gt; &gt; # Default-Stop:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S<br>&gt; &gt; ...mean but I'm assuming they are fine as configured.
<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp; Note that everything in red is a hack so I'm working on trying to<br>&gt; eliminate the need for them.&nbsp;&nbsp;I know that somehow udev is responsible for<br>&gt; the permissions on ttyS0 but I have yet to figure out how to specify a rule
<br>&gt; so it gets the permissions right.&nbsp;&nbsp;The other two things Myth should do for<br>&gt; me but does not seem to?!?<br>&gt; &gt;<br>&gt; &gt;&nbsp;&nbsp; Thanks for any ideas.<br>&gt; &gt;<br>&gt; &gt; --<br>&gt; &gt; Mike<br>&gt; &gt;
<br>&gt; &gt; #! /bin/sh<br>&gt; &gt; ### BEGIN INIT INFO<br>&gt; &gt; # Provides:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mythtv-backend<br>&gt; &gt; # Required-Start:&nbsp;&nbsp;&nbsp;&nbsp;$local_fs<br>&gt; &gt; # Required-Stop:&nbsp;&nbsp;&nbsp;&nbsp; $local_fs<br>&gt; &gt; # Default-Start:&nbsp;&nbsp;&nbsp;&nbsp; 24
<br>&gt; &gt; # Default-Stop:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S<br>&gt; &gt; # Short-Description: Start/Stop the MythTV server.<br>&gt; &gt; ### END INIT INFO<br>&gt; &gt;<br>&gt; &gt;<br>&gt; PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
<br>&gt; &gt; DAEMON=/usr/bin/mythbackend<br>&gt; &gt; NAME=&quot;mythbackend&quot;<br>&gt; &gt; DESC=&quot;MythTV server&quot;<br>&gt; &gt;<br>&gt; &gt; # Add this to make sure we can<br>&gt; &gt; # change channels<br>&gt; &gt; chmod a+rw /dev/ttyS0
<br>&gt; &gt;<br>&gt; &gt; test -x $DAEMON || exit 0<br>&gt; &gt;<br>&gt; &gt; set -e<br>&gt; &gt;<br>&gt; &gt; USER=mythtv<br>&gt; &gt; RUNDIR=/var/run/mythtv<br>&gt; &gt; ARGS=&quot;--daemon --logfile /var/log/mythtv/mythbackend.log --pidfile
<br>&gt; $RUNDIR/$NAME<br>&gt; &gt; .pid&quot;<br>&gt; &gt; EXTRA_ARGS=&quot;&quot;<br>&gt; &gt; NICE=0<br>&gt; &gt;<br>&gt; &gt; if [ -f /etc/default/mythtv-backend ]; then<br>&gt; &gt;&nbsp;&nbsp; . /etc/default/mythtv-backend<br>
&gt; &gt; fi<br>&gt; &gt;<br>&gt; &gt; ARGS=&quot;$ARGS $EXTRA_ARGS&quot;<br>&gt; &gt;<br>&gt; &gt; mkdir -p $RUNDIR<br>&gt; &gt; chown -R $USER $RUNDIR<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; case &quot;$1&quot; in<br>&gt; &gt;&nbsp;&nbsp; start)
<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if test -e $RUNDIR/$NAME.pid ; then<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo &quot;mythbackend already running, use restart instead.&quot;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; else<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo -n &quot;Starting $DESC: $NAME&quot;
<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ivtvctl --set-input 0<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ivtv-tune -c 3<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; start-stop-daemon --start --pidfile $RUNDIR/$NAME.pid \<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --chuid $USER --nicelevel $NICE --exec $DAEMON --
<br>&gt; $ARGS<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echo &quot;.&quot;<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fi<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ;;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; On 11/9/06, Mario Limonciello &lt; 
<a href="mailto:mario.mailing@gmail.com">mario.mailing@gmail.com</a>&gt; wrote:<br>&gt; &gt; &gt; Mike,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Recently, I have seen a few posts similar that people can't get the<br>&gt; backend to launch from myth init scripts in Ubuntu.&nbsp;&nbsp;I'm trying to find
<br>&gt; something common between them but have yet to.&nbsp;&nbsp;I personally have 2 ubuntu<br>&gt; backends, and haven't come up with any problems with either init script.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; By some weird chance, when you did your ubuntu install - your &quot;first&quot;
<br>&gt; user - did you use mythtv?&nbsp;&nbsp;Your not supposed to as this user is created<br>&gt; when you install myth and is used for myth.&nbsp;&nbsp;If that is what you did, then<br>&gt; I've got some ideas what we can do.<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; If this isn't what you did, then we need to walk through the init script<br>&gt; and find where the trouble is.&nbsp;&nbsp;What guide did you follow for installation?<br>&gt; Did you follow a guide?<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; Regards,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Mario<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On 11/9/06, Michael Tiller &lt;<a href="mailto:michael.tiller@gmail.com">michael.tiller@gmail.com
</a> &gt; wrote:<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; I've nearly got my new Ubuntu based MythTV 0.20 system into a robust<br>&gt; state.&nbsp;&nbsp;I've just got two little things left that I'm having trouble with<br>&gt; and hopefully somebody here can point me to a solution.
<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; The first issue is that when I reboot, it does not start the backend.<br>&gt; There is a script in /etc/init.d called &quot;mythtv-backend&quot; that was installed<br>&gt; when I installed MythTV from the repositories.&nbsp;&nbsp;However, it does not appear
<br>&gt; to get run?!?&nbsp;&nbsp;If I remove /var/log/mythbackend.log and then touch it and<br>&gt; chown it to get it to a &quot;0 size&quot; state and then reboot it remains empty.<br>&gt; Any idea what is going on there?&nbsp;&nbsp;Is there anything I have to do to (apart
<br>&gt; from putting the file in /etc/init.d) that I have to do to get the system to<br>&gt; invoke it (I know how this is done in FC but I'm fairly new to Ubuntu,<br>&gt; sorry).<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; As a side note, is this script run as root?&nbsp;&nbsp;I assume so.&nbsp;&nbsp;I ask
<br>&gt; because I need to do a few things as root inside this script to get the<br>&gt; system properly set up.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Actually that leads to another question...I'm having to run ivtvctl
<br>&gt; and ivtv-tune in /etc/init.d/mythtv-backend.&nbsp;&nbsp;This is because even though I<br>&gt; have specified to use the tuner input and what the tuner channel should be<br>&gt; set to, the backend doesn't seem to apply these properly.&nbsp;&nbsp;Any ideas on what
<br>&gt; might be going on?<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; The last issue is that, once I get the backend up and running, the<br>&gt; first time I go to &quot;WatchTV&quot; it just comes back to the menu after showing a
<br>&gt; blank screen for a few seconds.&nbsp;&nbsp;The second time I go to watch TV, it works<br>&gt; (and from then on).&nbsp;&nbsp;Any ideas?&nbsp;&nbsp;I suspect a similar thing might happen for<br>&gt; the first attempted recording (if nobody has watched TV) which could cause
<br>&gt; me to miss recordings.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; Thanks for any pointers.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; --<br>&gt; &gt; &gt; &gt; Mike<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;
<br>&gt; &gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; &gt; mythtv-users mailing list<br>&gt; &gt; &gt; &gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>&gt; &gt; &gt; &gt;
<br>&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; _______________________________________________<br>&gt; &gt; &gt; mythtv-users mailing list<br>&gt; &gt; &gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>&gt; &gt; &gt; 
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; _______________________________________________
<br>&gt; &gt; mythtv-users mailing list<br>&gt; &gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>&gt; &gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; mythtv-users mailing list<br>&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org
</a><br>&gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>&gt;<br>&gt;<br>&gt;<br><br><br>--<br>Glyn Davies<br><a href="http://www.glyndavies.org">
www.glyndavies.org</a><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>