<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
I have a mythtv setup with two fe/be and two other fe only boxes.<br>
<br>
I have a need to move the master backend from one backend server to the
other but am having some problems doing so.<br>
<br>
I have moved the database to the new server and shut down mysql on the
old Master Backend server. When I start the new Master backend with
"mythbackend &" it finds the new database server location correctly
but when I try to start it with "service mythbackend start" it is still
looking at the old database server location. The logs tell me it is
looking at /root/.mythtv for the config files and I have delete,
copied, added the files to that location with the correct parameters
multiple times but I still have the same result. I have even run
mythtv-setup as the mythtv and root user from the new Master Backend
server but that still does not fix the problem.<br>
<br>
I am using the init.d file from this location
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<a href="http://www.mythtv.org/wiki/Fedora_init.d_mythbackend">http://www.mythtv.org/wiki/Fedora_init.d_mythbackend</a><br>
I have been using this file for many months without problem until I
tried to move my Master Backend.<br>
<br>
Master mythbackend log (My new database server is 192.168.10.7)<br>
2010-06-13 09:57:07.535 mythbackend version: trunk [25099]
<a class="moz-txt-link-abbreviated" href="http://www.mythtv.org">www.mythtv.org</a><br>
2010-06-13 09:57:07.566 Using runtime prefix = /usr/local<br>
2010-06-13 09:57:07.576 Using configuration directory = /root/.mythtv<br>
2010-06-13 09:57:07.585 Using localhost value of family<br>
2010-06-13 09:57:07.593 Testing network connectivity to '192.168.10.6'<br>
2010-06-13 09:57:07.616 New DB connection, total: 1<br>
2010-06-13 09:57:07.618 Unable to connect to database!<br>
2010-06-13 09:57:07.626 Driver error was [1/2003]:<br>
QMYSQL: Unable to connect<br>
Database error was:<br>
Can't connect to MySQL server on '192.168.10.6' (111)<br>
<br>
................................................................................<br>
2010-06-13 09:57:10.195 UPnPautoconf() - No UPnP backends found<br>
2010-06-13 09:57:10.207 No UPnP backends found<br>
<br>
No UPnP backends found<br>
<br>
Would you like to configure the database connection now? [no]<br>
[console is not interactive, using default 'no']<br>
2010-06-13 09:57:10.257 Deleting UPnP client...<br>
2010-06-13 09:57:10.905 Failed to init MythContext.<br>
<br>
Keep in mind that config.xml and mysql.txt have both been changed to
have the new database location of 192.168.10.7.<br>
<br>
Thanks for the assistance.<br>
</body>
</html>