[mythtv-users] mythbackend doesn't start

Stroller linux.luser at myrealbox.com
Tue Dec 26 18:14:41 UTC 2006

On 26 Dec 2006, at 16:22, Zlatko V wrote:

>>> Can you post the output of ...
>>   `for foo in /etc/init.d/mythbackend /etc/init.d/functions ; do   
>> grep -n
>> -C 1 -e functions -e daemon $foo ; done`
>> might be more informative.

As it says in the comment:

> 40-# Source function library.
> 41:. /etc/init.d/functions

Read and execute commands from file `/etc/init.d/functions` in the  
current shell context.
See http://www.ss64.com/bash/period.html & http:// 
learnlinux.tsf.org.za/courses/build/shell-scripting/ch10s02.html for  

> 61:         daemon --user ${MBE_USER} ${MBE_LOCATION}${MBE_PROG} -d -l

Presumably daemon is provided as a function by `/etc/init.d/functions`.

> grep: /etc/init.d/functions: No such file or directory

The grep command I asked you to run indicates that  `/etc/init.d/ 
functions` doesn't exist.

Some further homework suggests that all distros should provide a  
"daemon" function, but it may be sourced from different files on  
various distros. See "Point 4" at <http://www.novell.com/ 
coolsolutions/feature/11256.html> and <http://openskills.info/ 

It might be worth seeing if any of the init.d files provided by your  
distro source their helper library from another file elsewhere. I  
might check in with your distro's support forums.


More information about the mythtv-users mailing list