Anthony Messina wrote:
On Monday 25 February 2008 06:45:41 am Paulo Cavalcanti wrote:
  
On Mon, Feb 25, 2008 at 9:34 AM, O&M Ugarcina <[EMAIL PROTECTED]> wrote:
    
Hello Axel,

I just took the latest myth update ver 174 on my FC 8 box . After
completing the update with yum I restarted the machine . The machine
seemed to come back ok until I tried to use it . I noticed that
Mythbackend was down and when trying to restart it I got the following :
      
I have already reported this problem to Axel.

Go back to 173, and you will be fine.
    

you don't need to.  just comment out the following line 
in /etc/init.d/mythbackend:
daemon --user mythtv $binary $OPTIONS

and add a $ before HOME in the "export HOME" just a few lines above that.

  

_______________________________________________ atrpms-users mailing list atrpms-users@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-users

Thanks Anthony ,


Much appreciate the help . I can not go back to 173 too hard . So I have made the changes in the /etc/init.d/mythbackend . This is a section from file :

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

.......


 here is what I get now :

[EMAIL PROTECTED] init.d]# service mythbackend restart
Stopping mythbackend:                                      [  OK  ]
Starting mythbackend: /etc/init.d/mythbackend: line 30: export: `/home/mythtv': not a valid identifier
/etc/init.d/mythbackend: line 32: export: `/home/mythtv': not a valid identifier
                                                           [  OK  ]
[EMAIL PROTECTED] init.d]# service mythbackend status
mythbackend (pid 3906) is running...
[EMAIL PROTECTED] init.d]#

Best Regards
Milorad

_______________________________________________
atrpms-users mailing list
atrpms-users@atrpms.net
http://lists.atrpms.net/mailman/listinfo/atrpms-users

Reply via email to