[mythtv-users] ./mythconverg/callsignnetworkmap.frm

Don dlw3 at tds.net
Thu Mar 24 15:32:02 UTC 2005


Graham Dunn wrote:

>On Thu, Mar 24, 2005 at 06:49:25AM -0800, Don wrote:
>
>  
>
>>No, I do not want to make things complicated.
>>Yes, I very much want a working mythtv.
>>The only reason I asked the question regarding KnoppMyth was because you 
>>suggest it.
>>    
>>
>
>Before I would tell you to install knoppmyth, please answer:
>
>1) Does /var/log/mythtv/mythbackend.log exist / have anything in it?
>
>2) What does /etc/init.d/mythbackend contain?
>
>3) Have you run the database setup sql script as detailed in
>http://www.mythtv.org/docs/mythtv-HOWTO-6.html#ss6.2 ?
>
>Graham
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>  
>


Have you run the database setup sql script as detailed in
http://www.mythtv.org/docs/mythtv-HOWTO-6.html#ss6.2 ?

Yes.

Does /var/log/mythtv/mythbackend.log exist / have anything in it?

It does exist. It is empty.

What does /etc/init.d/mythbackend contain?

#!/bin/bash
#
# Startup script for mythbackend
#
# chkconfig: - 86 14
# description: mythbackend.
# processname: mythbackend
# pidfile: /var/run/mythbackend.pid
# config:

# Source function library.
. /etc/rc.d/init.d/functions

if [ -f /etc/mythtv/mythbackend ]; then
        . /etc/mythtv/mythbackend
fi

## Defaults, override them in /etc/mythtv/mythbackend
: ${MYTHTV_HOME=/var/lib/mythtv}

binary=/usr/bin/mythbackend
prog=mythbackend
RETVAL=0
OPTIONS="$OPTIONS --daemon --logfile /var/log/mythtv/$prog.log --pidfile 
/var/run/$prog.pid"

start() {
  gprintf "Starting %s: " "$prog"
  touch /var/run/mythbackend.pid; chown mythtv:mythtv 
/var/run/mythbackend.pid
  # Does not work on Red Hat, do to to missing audio/video groups.
#  cd $MYTHTV_HOME && daemon --user mythtv $binary $OPTIONS
  cd $MYTHTV_HOME && daemon $binary $OPTIONS
  RETVAL=$?
  echo
  [ $RETVAL = 0 ] && touch /var/lock/subsys/$prog
  return $RETVAL
}

stop() {
  gprintf "Stopping %s: " "$prog"
  killproc $binary
  RETVAL=$?
  echo
  [ $RETVAL = 0 ] && rm -f /var/lock/subsys/$prog /var/run/$prog.pid
}

# See how we were called.
case "$1" in
  start)
    start
    ;;
  stop)
    stop
    ;;
  restart)
    stop
    start
    ;;
  status)
    status $prog
    ;;
  *)
    gprintf "Usage: %s {start|stop|status|restart}\n" "$prog"
    exit 1
esac

exit $RETVAL



More information about the mythtv-users mailing list