<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">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">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">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">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">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">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">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">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">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">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">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">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">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">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">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"><div></div>
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">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">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>