<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0in; line-height: 100%">Hi Stephen and
Bill!</p>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<pre class="western" style="margin-left: 0.39in; margin-right: 0.39in"><font color="#000000"><font face="moz-fixed"><font style="font-size: 9pt" size="2"> cat <i>/home/mythtv/</i>.mythtv/config.xml</font></font></font>
<font color="#000000"><font face="moz-fixed"><font style="font-size: 9pt" size="2"><span lang="en-US"> I suspect that the value of <Host> is an IP address. For a master backend, it should be localhost.</span></font></font></font>
<font face="moz-fixed"><font style="font-size: 9pt" size="2"><span lang="en-US">No, I would disagree with that. If you want the backend to be accessible to an external frontend, you normally want the address in config.xml to be the external address of the PC. It does work if the address in backend PC's config.xml files is localhost, but then you can not just copy the config.xml file to another PC and have it work there when you tell mythfrontend to use it. I always get caught by that if I use localhost in config.xml. And if the database is supposed to be accessible from the PC's external IP address,</span></font></font>
<font face="moz-fixed"><font style="font-size: 9pt" size="2"><span lang="en-US">connecting to it that way on the backend PC is a good check that it actually is externally accessible.</span></font></font>
</pre>
<dl>
<dd>
<table width="629" cellspacing="0" cellpadding="4">
<colgroup><col width="619"> </colgroup><tbody>
<tr>
<td style="border: 1px solid #000000; padding: 0.04in"
width="619" valign="top">
<p>FWIW I decided to check my config.xml’s just in case
something was altered. Have five – Backend 1 and 2 I
think had only two, maybe three:</p>
<p><br>
</p>
<p>barry@Backend-3:~$ find / -iname config.xml
2>/dev/null</p>
<p>/etc/mythtv/config.xml</p>
<p>/home/barry/.mythtv/config.xml</p>
<p>/home/mythtv/.mythtv/config.xml</p>
<p>/usr/share/doc/mythtv-backend/contrib/config_files/config.xml</p>
<p>/usr/share/mythtv/config.xml</p>
<p>barry@Backend-3:~$ </p>
<p><br>
</p>
<p>So:</p>
<p>barry@Backend-3:~$ cat /etc/mythtv/config.xml</p>
<p><font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Configuration></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Database></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><PingHost>1</PingHost></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Host>192.168.0.3</Host></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><UserName>mythtv</UserName></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Password>Z******S</Password></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><DatabaseName>mythconverg</DatabaseName></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Port>3306</Port></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"></Database></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><WakeOnLAN></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Enabled>0</Enabled></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><SQLReconnectWaitTime>0</SQLReconnectWaitTime></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><SQLConnectRetry>5</SQLConnectRetry></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Command>echo
'WOLsqlServerCommand not set'</Command></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"></WakeOnLAN></font></font></p>
<p><font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"></Configuration></font></font></p>
<p><br>
</p>
<p>barry@Backend-3:~$ cat /home/barry/.mythtv/config.xml</p>
<p>is the same with this added line near the end:</p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"></WakeOnLAN></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><LocalHostName></LocalHostName></font></font></p>
<p><font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"></Configuration></font></font></p>
<p><br>
</p>
<p>In past versions (used by Backend 1 and 2 here)
assigning a name to the Backend’s built-in Frontend
caused lots of problems and so should be left blank
per Curtis Gedakc and others.</p>
<p><br>
</p>
<p>barry@Backend-3:~$ cat
/home/mythtv/.mythtv/config.xml</p>
<p>Eyeballing appears to duplicate
/etc/mythtv/config.xml</p>
<p><br>
</p>
<p>barry@Backend-3:~$ cat
/usr/share/doc/mythtv-backend/contrib/config_files/config.xml</p>
<p>Appears to be the template: </p>
<p><font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Configuration></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><LocalHostName>my-unique-identifier-goes-here</LocalHostName></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Database></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><PingHost>1</PingHost></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Host>127.0.0.1</Host></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><UserName>mythtv</UserName></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Password>mythtv</Password></font></font></p>
<p>etc.</p>
<p><br>
</p>
<p>Now this one I’m questioning, partially because of in
what directory it is and the contents:</p>
<p>barry@Backend-3:~$ cat /usr/share/mythtv/config.xml</p>
<p><font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Configuration></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><LocalHostName>my-unique-identifier-goes-here</LocalHostName></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Database></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><PingHost>1</PingHost></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Host>127.0.0.1</Host></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><UserName>mythtv</UserName></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Password>mythtv</Password></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><DatabaseName>mythconverg</DatabaseName></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Port>3306</Port></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"></Database></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><WakeOnLAN></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Enabled>0</Enabled></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><SQLReconnectWaitTime>0</SQLReconnectWaitTime></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><SQLConnectRetry>5</SQLConnectRetry></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"><Command>echo
'WOLsqlServerCommand not set'</Command></font></font></p>
<p> <font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"></WakeOnLAN></font></font></p>
<p><font face="DejaVu Sans Mono, monospace"><font
style="font-size: 10pt" size="2"></Configuration></font></font></p>
<p><br>
</p>
<p>It seems to be ignored, or overwritten by one of
config’s above. Just being in /usr/share/mythtv seems
like it should have the proper/user-configured fields.
</p>
<p><br>
</p>
<p>LIS the main reason for me checking the config.xml’s
was to make sure they were still correct.</p>
<p><br>
</p>
<p>TIA!</p>
<p>Barry </p>
</td>
</tr>
</tbody>
</table>
</dd>
</dl>
<p style="margin-bottom: 0in; line-height: 100%"><br>
</p>
<br>
</body>
</html>