<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 05/25/2018 06:47 PM, Greg Woods
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAF-=yYN5gNa=cBZQLUuYiK8mqqMjokZtZ6ULtARV=OEhfAKruA@mail.gmail.com">
<div dir="ltr"><br>
<br>
<div class="gmail_quote">
<div dir="ltr">On Fri, May 25, 2018 at 3:51 PM Bill Meek <<a
href="mailto:keemllib@gmail.com" moz-do-not-send="true">keemllib@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"><br>
I'd try these for the record:<br>
<br>
SELECT * FROM settings WHERE value IN
('MasterServerName', 'MasterServerIP', 'BackendServerIP',
'BackendServerIP6');<br>
<br>
grep -i <whateverMasterServerNameIsReturned>
/etc/hosts (or any other place where names are resolved)<br>
</blockquote>
<div><br>
</div>
<div>This is what I see:</div>
<div><br>
</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">+------------------+--------------+----------------------------+</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| value |
data | hostname |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">+------------------+--------------+----------------------------+</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP |
127.0.0.1 | <a href="http://anathem.gregandeva.net"
moz-do-not-send="true">anathem.gregandeva.net</a> |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP |
127.0.0.1 | <a href="http://delenn.gregandeva.net"
moz-do-not-send="true">delenn.gregandeva.net</a> |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP |
127.0.0.1 | <a href="http://elric.gregandeva.net"
moz-do-not-send="true">elric.gregandeva.net</a> |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP |
127.0.0.1 | infohigh |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP |
127.0.0.1 | <a href="http://infohigh.gregandeva.net"
moz-do-not-send="true">infohigh.gregandeva.net</a> |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP |
127.0.0.1 | localhost |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP |
192.168.1.33 | <a href="http://mongoliad.gregandeva.net"
moz-do-not-send="true">mongoliad.gregandeva.net</a> |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP |
127.0.0.1 | odalisque |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP |
127.0.0.1 | quicksilver |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP |
192.168.1.10 | <a
href="http://quicksilver.gregandeva.net"
moz-do-not-send="true">quicksilver.gregandeva.net</a> |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP |
127.0.0.1 | seveneves |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP6 |
::1 | <a href="http://anathem.gregandeva.net"
moz-do-not-send="true">anathem.gregandeva.net</a> |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP6 |
::1 | <a href="http://delenn.gregandeva.net"
moz-do-not-send="true">delenn.gregandeva.net</a> |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP6 |
::1 | <a href="http://elric.gregandeva.net"
moz-do-not-send="true">elric.gregandeva.net</a> |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP6 |
::1 | infohigh |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP6 |
::1 | <a href="http://infohigh.gregandeva.net"
moz-do-not-send="true">infohigh.gregandeva.net</a> |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP6 |
::1 | localhost |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP6 |
::1 | mongoliad |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP6 |
::1 | <a href="http://mongoliad.gregandeva.net"
moz-do-not-send="true">mongoliad.gregandeva.net</a> |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP6 |
::1 | odalisque |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP6 |
::1 | quicksilver |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP6 |
::1 | <a
href="http://quicksilver.gregandeva.net"
moz-do-not-send="true">quicksilver.gregandeva.net</a> |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| BackendServerIP6 |
::1 | seveneves |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">| MasterServerIP |
192.168.1.33 | NULL |</blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">+------------------+--------------+----------------------------+</blockquote>
<div><br>
</div>
</blockquote>
<div><br>
</div>
<div>192.168.1.33 <a href="http://mongoliad.gregandeva.net"
moz-do-not-send="true">mongoliad.gregandeva.net</a> is the
actual backend machine. The other entries in there are for
current or former frontend systems. I obviously can't grep
for "NULL". I tried changing this line so that the
MasterServerIP hostname is set to "<a
href="http://mongoliad.gregandeva.net"
moz-do-not-send="true">mongoliad.gregandeva.net</a>", but
no joy; it is still starting as a slave backend.</div>
<div>I looked in /etc/hosts and the only uncommented entry
there is "127.0.0.1 localhost localhost.localdomain
localhost4 localhost4.localdomain4"</div>
<div><br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
Did you run mythtv-setup as mentioned at the end of the
thread:<br>
<br>
<a
href="http://lists.mythtv.org/pipermail/mythtv-users/2018-May/396286.html"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.mythtv.org/pipermail/mythtv-users/2018-May/396286.html</a></blockquote>
<div><br>
</div>
<div>OK, that one is my bad. It looks like Gmail doesn't
include the last message in the conversation (because it has
a modified subject?), so I didn't see that one. </div>
<div><br>
</div>
<div>In that message, it is suggested to run mythtv-setup as
the mythtv user, which is what I always do anyway. I have
been burned by this one before. When I do this, I see that
the "this server is master backend" button is checked, and
the host name is set to "<a
href="http://mongoliad.gregandeva.net"
moz-do-not-send="true">mongoliad.gregandeva.net</a>".</div>
<div><br>
</div>
<div>I executed the SQL command "insert into settings (value,
data, hostname) values('IPv6Support', 0, NULL):",</div>
<div>but that didn't change anything either. It still starts
as a slave backend and then complains about the protocol
mismatch:<br>
<br>
</div>
<div>2018-05-25 16:22:39.872138 C [15160/15238] ProcessRequest
mainserver.cpp:1614 (HandleVersion) - MainServer:
MainServer::HandleVersion - Client speaks protocol version
88 but we speak 91!</div>
<div><br>
</div>
<div>--Greg</div>
<div><br>
</div>
</div>
</div>
<!--'"--><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://lists.mythtv.org/mailman/listinfo/mythtv-users">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>
<a class="moz-txt-link-freetext" href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a>
MythTV Forums: <a class="moz-txt-link-freetext" href="https://forum.mythtv.org">https://forum.mythtv.org</a>
</pre>
</blockquote>
I see there is no MasterServerName on your database. That would get
set when you check the "this server is master backend" button. I
suspect you have two databases going and it is sometimes using one
and sometimes the other.<br>
<br>
</body>
</html>