[ATrpms-users] Mythbackend will not start after upgrade to Mythtv ver 174

Jos Hoekstra joshoekstra at gmx.net
Mon Feb 25 14:27:53 CET 2008


O&M Ugarcina schreef op 25-2-2008 14:15:
> Anthony Messina wrote:
>> On Monday 25 February 2008 06:50:10 am Anthony Messina wrote:
>>   
>>> you don't need to.  just comment out the following line
>>> in /etc/init.d/mythbackend:
>>> daemon --user mythtv $binary $OPTIONS
>>>     
>>
>> the above works, but skip this part:
>>
>>   
>>> and add a $ before HOME in the "export HOME" just a few lines above that.
>>>     
>>
>> it doesn't fix the error about /var/lib/mythtv during backend startup
>>
>>   
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> atrpms-users mailing list
>> atrpms-users at atrpms.net
>> http://lists.atrpms.net/mailman/listinfo/atrpms-users
> Hello Anthony ,
> 
> I have reverted the change to export HOME  now it reads like this :
> 
> 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
> }
> 
> 
> And when doing a restart on mythbackend I get :
> 
> [root at localhost init.d]# service mythbackend restart
> Stopping mythbackend:                                      [  OK  ]
> Starting mythbackend: /etc/init.d/mythbackend: line 30: export: 
> `/home/mythtv': not a valid identifier
>                                                            [  OK  ]
> [root at localhost init.d]# service mythbackend status
> mythbackend (pid 4026) is running...
> [root at localhost init.d]#
> 
> 
> It looks much better now , any suggestion on how to fix the remaining 
> issue ? I guess it could wait until Axel re-issues the update ?
> 
> Much appreciate it
> 
> Milorad
> 
> 
>

This should be right:
    cd $MYTHTV_HOME && daemon $binary $OPTIONS

That's the way it is on .173........

Regards,

Jos



More information about the atrpms-users mailing list