[mythtv-users] ugraded to 0.29, cannot connect to backend

Jonatan Lindblad mythtv at comhem.se
Sun May 27 15:17:51 UTC 2018


Den 2018-05-26 kl. 00:47, skrev Greg Woods:
> 
> 
> On Fri, May 25, 2018 at 3:51 PM Bill Meek <keemllib at gmail.com <mailto: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 <http://anathem.gregandeva.net>     |
> 
>         | BackendServerIP  | 127.0.0.1    | delenn.gregandeva.net <http://delenn.gregandeva.net>      |
> 
>         | BackendServerIP  | 127.0.0.1    | elric.gregandeva.net <http://elric.gregandeva.net>       |
> 
>         | BackendServerIP  | 127.0.0.1    | infohigh                   |
> 
>         | BackendServerIP  | 127.0.0.1    | infohigh.gregandeva.net <http://infohigh.gregandeva.net>    |
> 
>         | BackendServerIP  | 127.0.0.1    | localhost                  |
> 
>         | BackendServerIP  | 192.168.1.33 | mongoliad.gregandeva.net <http://mongoliad.gregandeva.net>   |
> 
>         | BackendServerIP  | 127.0.0.1    | odalisque                  |
> 
>         | BackendServerIP  | 127.0.0.1    | quicksilver                |
> 
>         | BackendServerIP  | 192.168.1.10 | quicksilver.gregandeva.net <http://quicksilver.gregandeva.net> |
> 
>         | BackendServerIP  | 127.0.0.1    | seveneves                  |
> 
>         | BackendServerIP6 | ::1          | anathem.gregandeva.net <http://anathem.gregandeva.net>     |
> 
>         | BackendServerIP6 | ::1          | delenn.gregandeva.net <http://delenn.gregandeva.net>      |
> 
>         | BackendServerIP6 | ::1          | elric.gregandeva.net <http://elric.gregandeva.net>       |
> 
>         | BackendServerIP6 | ::1          | infohigh                   |
> 
>         | BackendServerIP6 | ::1          | infohigh.gregandeva.net <http://infohigh.gregandeva.net>    |
> 
>         | BackendServerIP6 | ::1          | localhost                  |
> 
>         | BackendServerIP6 | ::1          | mongoliad                  |
> 
>         | BackendServerIP6 | ::1          | mongoliad.gregandeva.net <http://mongoliad.gregandeva.net>   |
> 
>         | BackendServerIP6 | ::1          | odalisque                  |
> 
>         | BackendServerIP6 | ::1          | quicksilver                |
> 
>         | BackendServerIP6 | ::1          | quicksilver.gregandeva.net <http://quicksilver.gregandeva.net> |
> 
>         | BackendServerIP6 | ::1          | seveneves                  |
> 
>         | MasterServerIP   | 192.168.1.33 | NULL                       |
> 
>         +------------------+--------------+----------------------------+
> 
> 
> 
> 192.168.1.33 mongoliad.gregandeva.net <http://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 <http://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 <http://mongoliad.gregandeva.net>".

And you don't get an "Exit?" dialog when you leave that screen?  If you do, press "Save then exit".  If you don't, try and toggle it off and on again.

-- 
Jonatan


More information about the mythtv-users mailing list