[mythtv-users] 'service mythbackend start' fails on slave backend

Nick Morrott knowledgejunkie at gmail.com
Thu Sep 27 04:37:14 UTC 2007

On 27/09/2007, Andrew Robinson <awrobinson-ml at nc.rr.com> wrote:
> I am trying to setup a slave backend and I have narrowed my problem down
> to this. When I start mythbackend from a command line like
> '/etc/init.d/mythbackend start', mythbackend starts up and connects to
> the database just fine. However, when I use the 'service' command, ie,
> 'service mythbackend start', mythbackend fails to connect to the
> database on the master backend. Apparently when I use the 'service'
> command, I do not get the environment required. I will keep on trying to
> track this down. While I do, has anyone else encountered this and
> figured out a solution? I am running Fedora 7 on the slave backend.

This is very much likely due to a bad $HOME variable. Which version of
MythTV are you running, and how many copies of the mysql.txt do you
have on your system? (You may have MythTV directories in /, /root and
/home/mythtv. You need to ensure all mysql.txt contain the correct
information for accessing the database.

Current trunk builds should handle this issue properly, as you define
your backend user in the config file, and the startup script handles
it appropriately.

Nick Morrott

MythTV Official wiki:
MythTV users list archive:

"An investment in knowledge always pays the best interest." - Benjamin Franklin

More information about the mythtv-users mailing list