[mythtv-users] Mythbackend started as process looks for database at wrong location(Solved)

Nick Morrott knowledgejunkie at gmail.com
Sun Jun 13 17:32:23 UTC 2010


On 13 June 2010 18:20, John Nissley <jnissley at nissley.org> wrote:
> I have a mythtv setup with two fe/be and two other fe only boxes.
>
> I have a need to move the master backend from one backend server to the
> other but am having some problems doing so.
>
> snip --------------------------------------------------------------------
>
> Noting like writing to the user list to make you find the problem.  It
> appears that the log file does not fully tell the truth.  I found a
> mysql.txt file in the / directory and that one had the incorrect IP address
> for the database.  I correct that and now it starts fine. I guess log files
> can not always fully be trusted.

The issue you are having is typically due to $HOME not being set when
mythbackend is started during the init process. This can also lead to
the MythTV config files being placed in /.mythtv/, rather than in
/$USER/.mythtv/. When you have a shell and start mythbackend as a
regular process, $HOME is defined and MythTV will look in
/$USER/.mythtv/ as expected.

If the log output is not showing the correct location of the config
file, this needs to be fixed. When I looked in to this some years ago
I patched the Fedora backend init script distributed with the MythTV
source (based on that provided with the atrpms.net binaries) to ensure
$HOME was configured. Perhaps things have changed since?

Cheers,
Nick

-- 
Nick Morrott

MythTV Official wiki: http://mythtv.org/wiki/
MythTV users list archive: http://www.gossamer-threads.com/lists/mythtv/users

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


More information about the mythtv-users mailing list