[mythtv-users] mythbackend not starting on mythbuntu ubuntu 13.10
Larry Finger
Larry.Finger at lwfinger.net
Sun Feb 9 16:35:59 UTC 2014
On 02/09/2014 08:34 AM, Chris Lewis wrote:
> Thanks for the pointer.
>
> Next problem is to try and tackle 0 byte recordings but that's what whole other
> thread for another day.
>
> Chris
>
> Get free online storage http://db.tt/rUaqYGYA
>
> On 9 Feb 2014 14:31, "Bill Meek" <keemllib at gmail.com
> <mailto:keemllib at gmail.com>> wrote:
>
> On 02/09/2014 05:54 AM, Chris Lewis wrote:
>
> Actually never mind.I have replaced the entire file with the one in the
> link above and it seems to be working now!
>
> Chris
>
>
> On 9 February 2014 11:40, Chris Lewis <chrislewis915 at gmail.com
> <mailto:chrislewis915 at gmail.com>> wrote:
>
> OK i have added comments to the file /etc/init/mythtv-backend.conf as
> below.
>
> # MythTV Backend service
>
> description "MythTV Backend"
> author "Mario Limonciello <superm1 at ubuntu.com
> <mailto:superm1 at ubuntu.com>>"
>
> echo "job called" >> /home/chris/backend-startup.__log
>
> start on (local-filesystems and net-device-up IFACE!=lo and started
> udev-finish)
> stop on runlevel [016]
>
> echo "start on working" >> /home/chris/backend-startup.__log
>
> #expect fork
> kill timeout 10
> respawn
> respawn limit 2 3600
>
> echo "backend pre-start script begins" >>
> /home/chris/backend-startup.__log
>
> pre-start script
> [ -x /usr/sbin/mysqld ] || exit 0
> for i in `seq 1 30` ; do
> /usr/bin/mysqladmin --defaults-file=/etc/mysql/__debian.cnf
> ping &&
> exit 0
> sleep 5
> done
> end script
>
> echo "script begins" >> /home/chris/backend-startup.__log
>
> script
> ulimit -c unlimited
>
> test -f /etc/default/locale && . /etc/default/locale || true
> ARGS="--syslog local7"
> sleep 5
> test -f /etc/default/mythtv-backend && .
> /etc/default/mythtv-backend || true
> LANG=$LANG exec /usr/bin/mythbackend --user mythtv $ARGS
> $EXTRA_ARGS
> end script
>
>
> Good to hear you got it working, but for the archive, the echo (or
> any other shell commands) must be *inside* of the scripts. The above
> will always fail.
While you are at it, please learn how to *NOT* top post.
Larry
More information about the mythtv-users
mailing list