[mythtv-users] Trouble running mythbackend service

Will Constable willconstable at gmail.com
Wed Jul 5 03:08:40 UTC 2006


I am running a fresh fedora core 5 install and have only upgraded its
standard packages, added nvidia driver, and installed mythtv-suite.  I am
trying to get mythbackend to run as a service, but have a problem.
Chkconfig mythbackend is set to on in runlevel 5, and /sbin/service
mythbackend status yields the message 'mythbackend dead but pid file exists'
or something like that.  If I run the script directly from the /etc/init.d/
folder (./mythbackend start) I get this error:

 

Starting mythbackend: touch: cannot touch '/var/run/mythbackend.pid':
Permission denied

Chown: cannot access 'var/run/mythbackend.pid' No such file or directory

Cannot open logfile /var/log/mythtv/mythbackend.log

Cannot open loogfile; using stdout/stderr

/var/run/mythbackend.pid: Permission denied

Error opening pidfile

 

 

Should there be a pidfile before I start the service?  If I understand
correctly the pid files are created as processes run and deleted as
processes terminate.  If I run the command 'sudo ./mythbackend start'
everything works as it should.  Except mythbackend is running as root, of
course.  Any ideas?

 

Thanks,

Will Constable 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060704/9cc95b4a/attachment.htm 


More information about the mythtv-users mailing list