[mythtv-users] Nearly 100% install of MYTHYV...

Nick knowledgejunkie at gmail.com
Mon Jan 16 00:55:50 UTC 2006


On 15/01/06, Jerry McBride <mcbrides9 at comcast.net> wrote:
> On Sunday 15 January 2006 17:46, James C. Dastrup wrote:
> > On my slave backend, which does not run mysql, the script also failed.
> > Not sure if this is the same situation you are in, but it is very easy to
> > create your own init script, since you've already discovered that
> > mythbackend runs fine from a command line.  The Gentoo install docs a
> > pretty clear on how to create your own.
> >
>
> Well.... here's what I figured out... if I try to start the backend server
> through the gentoo init scripts, it'll die each and every time I try.
>
> However, starting it from /etc/conf.d/local.start works perfectly....
>
> What the?

Hi all,

When I've seem MythTV failing to start properly using init scripts
I've found that sometimes there is a /.mythtv folder with an
incorrectly setup mysql.txt file. During init, root's home directory
can be / in addition to /root, both of which can contain a .mythtv
folder containing the DB details. Fixing up the contents of the
/.mythtv/mysql.txt file fixed the DB connection details which had been
stopping the mythbackend from starting.

Starting the process when the system had fully booted (when the user's
environment was going to be /root or /home/$MYTHBACKEND_USER) would be
fine because the mysql.txt files for these users were correct.

Nick


More information about the mythtv-users mailing list