[mythtv-users] ugraded to 0.29, cannot connect to backend
Greg Woods
greg at gregandeva.net
Fri May 25 22:47:21 UTC 2018
On Fri, May 25, 2018 at 3:51 PM Bill Meek <keemllib at gmail.com> wrote:
>
> I'd try these for the record:
>
> SELECT * FROM settings WHERE value IN ('MasterServerName',
> 'MasterServerIP', 'BackendServerIP', 'BackendServerIP6');
>
> grep -i <whateverMasterServerNameIsReturned> /etc/hosts (or any other
> place where names are resolved)
>
This is what I see:
+------------------+--------------+----------------------------+
>
> | value | data | hostname |
>
> +------------------+--------------+----------------------------+
>
> | BackendServerIP | 127.0.0.1 | anathem.gregandeva.net |
>
> | BackendServerIP | 127.0.0.1 | delenn.gregandeva.net |
>
> | BackendServerIP | 127.0.0.1 | elric.gregandeva.net |
>
> | BackendServerIP | 127.0.0.1 | infohigh |
>
> | BackendServerIP | 127.0.0.1 | infohigh.gregandeva.net |
>
> | BackendServerIP | 127.0.0.1 | localhost |
>
> | BackendServerIP | 192.168.1.33 | mongoliad.gregandeva.net |
>
> | BackendServerIP | 127.0.0.1 | odalisque |
>
> | BackendServerIP | 127.0.0.1 | quicksilver |
>
> | BackendServerIP | 192.168.1.10 | quicksilver.gregandeva.net |
>
> | BackendServerIP | 127.0.0.1 | seveneves |
>
> | BackendServerIP6 | ::1 | anathem.gregandeva.net |
>
> | BackendServerIP6 | ::1 | delenn.gregandeva.net |
>
> | BackendServerIP6 | ::1 | elric.gregandeva.net |
>
> | BackendServerIP6 | ::1 | infohigh |
>
> | BackendServerIP6 | ::1 | infohigh.gregandeva.net |
>
> | BackendServerIP6 | ::1 | localhost |
>
> | BackendServerIP6 | ::1 | mongoliad |
>
> | BackendServerIP6 | ::1 | mongoliad.gregandeva.net |
>
> | BackendServerIP6 | ::1 | odalisque |
>
> | BackendServerIP6 | ::1 | quicksilver |
>
> | BackendServerIP6 | ::1 | quicksilver.gregandeva.net |
>
> | BackendServerIP6 | ::1 | seveneves |
>
> | MasterServerIP | 192.168.1.33 | NULL |
>
> +------------------+--------------+----------------------------+
>
>
>
192.168.1.33 mongoliad.gregandeva.net 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 "mongoliad.gregandeva.net", but no joy;
it is still starting as a slave backend.
I looked in /etc/hosts and the only uncommented entry there is "127.0.0.1
localhost localhost.localdomain localhost4 localhost4.localdomain4"
> Did you run mythtv-setup as mentioned at the end of the thread:
>
> http://lists.mythtv.org/pipermail/mythtv-users/2018-May/396286.html
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.
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 "mongoliad.gregandeva.net".
I executed the SQL command "insert into settings (value, data, hostname)
values('IPv6Support', 0, NULL):",
but that didn't change anything either. It still starts as a slave backend
and then complains about the protocol mismatch:
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!
--Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20180525/65c534f4/attachment.html>
More information about the mythtv-users
mailing list