[mythtv-users] Starting Slave backend

Axel Thimm Axel.Thimm at ATrpms.net
Sun Jul 22 13:12:12 UTC 2007

On Mon, Jul 16, 2007 at 08:19:00AM +0100, Nick Morrott wrote:
> On 15/07/07, Mitch Gore <mitchell.gore at gmail.com> wrote:
> > I just set up a new slave backend.  Some how my mysql on that box got hosed
> > and is not working.  So i figured if i made it a slaveBE it would be fine
> > since its not using the local db.  When i start mythbackend as root from
> > terminal it works fine.  but when i start the BE as a service it crashes.
> > when i check to logs its because it is trying to connect to the local mysql.
> >  how do i stop this?
> >
> >
> > I have my /root/.mythtv/mysql.txt set correctly.
> Mitch,
> I'm guessing you're using atrpms.net binaries on Fedora? I've been
> doing a fair amount of work on the Fedora init and config scripts, and
> this is one of the more frequent issues I've seen users have when
> running mythbackend as a service, rather than from a terminal prompt.

Patches are welcome, but

o they need to provide backwards compatibility to the previous rpms,
  of course
o need to default to running mythtv backend under root on Red Hat like
  setups (including Fedora) due to the distros' console permissions
  policy and the need for certain rt capabilities.


> I just checked the mythbackend initscript which you will be using if
> you are using the atrpms.net release of MythTV. This starts the
> mythbackend program as a daemon but without the '--user' option, which
> means that (at least as I understand things) $HOME is not set (it will
> default to /) - which is why users find MythTV config files off the /
> folder. When running mythbackend from a terminal, $HOME is correctly
> set and config files are read from and written too the expected
> location for that user (/root/.mythtv/ for root, and
> /home/user/.mythtv/ for regular users).
> I have some further refinements which will hopefully be commited soon
> by skamithi on ticket http://cvs.mythtv.org/trac/ticket/3573.

Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20070722/5d4d3729/attachment.pgp 

More information about the mythtv-users mailing list