<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div style="color: black;">
<p style="margin: 0 0 1em 0; color: black; font-family: sans-serif;">On 3 August 2017 6:47:18 am Ashu Desai <ashu.desai@gmail.com> wrote:</p>
<p style="margin: 0 0 1em 0; color: black; font-family: sans-serif;">> On Wed, Aug 2, 2017 at 3:49 PM, Bill Meek <keemllib@gmail.com> wrote:<br>
><br>
>> On 08/02/2017 03:16 PM, Ashu Desai wrote:<br>
>><br>
>>> On Wed, Aug 2, 2017 at 2:58 PM, Bill Meek <keemllib@gmail.com> wrote:<br>
>>><br>
>>> ...<br>
>>>><br>
>>>> 13:00:20.805027 I  Using localhost value of mythmaster <<<<<-----<br>
>>>><br>
>>>>><br>
>>>>><br>
>>>> ...<br>
>>>><br>
>>>> However, when I look in the DB:<br>
>>>><br>
>>>>> I also did this:<br>
>>>>><br>
>>>>> MariaDB [mythconverg]> select * from settings where value like<br>
>>>>> '%ServerIP';<br>
>>>>> +-----------------+-----------+------------------------+<br>
>>>>> | value           | data      | hostname               |<br>
>>>>> +-----------------+-----------+------------------------+<br>
>>>>> | BackendServerIP | 172.16.10.54 | mythmaster.localdomain | <<<<<-----<br>
>>>>> | MasterServerIP  | 172.16.10.54 | NULL                   |<br>
>>>>> +-----------------+-----------+------------------------+<br>
>>>>><br>
>>>>> localhost is being set to mythmaster, however, in the SQL above,<br>
>>>> the hostname is mythmaster.localdomain.<br>
>>>><br>
>>>> Think of the hostname column as being a profile name.<br>
>>>><br>
>>>><br>
>>> Changed /etc/hosts and made it mythmaster instead of<br>
>>> mythmaster.localdomain<br>
>>><br>
>>> However, the DB still reflects the above even after restarting.<br>
>>><br>
>><br>
>> Changing /etc/hosts won't change the MythTV DB automatically.<br>
>><br>
>> Remember to check <LocalHostName> in config.xml. It overrides the<br>
>> value of the host's name.<br>
>><br>
><br>
> Here's the /root/.mythtv/config.xml file<br>
><br>
> <a href="https://pastebin.com/SDQenT5q">https://pastebin.com/SDQenT5q</a><br>
><br>
>><br>
>> It would be nice to have a fresh log put at <a href="http://pastebin.com">pastebin.com</a> because the<br>
>> email lines are all folded. Your's are in /var/log/mythtv/ with names<br>
>> like: mythbackend.20170802032732.23638.log<br>
>><br>
>><br>
> Mythbackend works if backend IP is 127.0.0.1 --<br>
> <a href="https://pastebin.com/WgQuYYvM">https://pastebin.com/WgQuYYvM</a><br>
></p>
<p style="margin: 0 0 1em 0; color: black;"><br>
</p>
<p style="margin: 0 0 1em 0; color: black;">This "working" one is running as slave, I think your IP addressing is still wrong.</p>
<p style="margin: 0 0 1em 0; color: black;">Aug 02 16:04:16 mythmaster.localdomain mythbackend[4869]: 2017-08-02 16:04:16.375473 E  MythSocket(9ea740:-1): Failed to connect to (127.0.0.1:6543) Connection refused</p>
<p style="margin: 0 0 1em 0; color: black;">Aug 02 16:04:16 mythmaster.localdomain mythbackend[4869]: 2017-08-02 16:04:16.377114 N  MythBackend: Running as a slave backend.<br>
</p>
<p style="margin: 0 0 1em 0; color: black; font-family: sans-serif;"><br>
> <a href="https://pastebin.com/WLWywqh4">https://pastebin.com/WLWywqh4</a><br>
><br>
> mythbackend fails if actual IP -- <a href="https://pastebin.com/EKzai7z9">https://pastebin.com/EKzai7z9</a><br>
></p>
<p style="margin: 0 0 1em 0; color: black;"></p>
<p style="margin: 0 0 1em 0; color: black;">Does this log file end here or did you truncate? Might need to add a dummy capture card.
<br>
</p>
<p style="margin: 0 0 1em 0; color: black; font-family: sans-serif;"><br>
> Here's the interesting part. IF i make the backend IP to 127.0.0.1 - it<br>
> works. Now if i go back in mythtv-setup, change it to the actual IP<br>
><br>
> and do NOT restart mythbackend, let it be - it will work. I tried<br>
> restarting backend few times. First 2 or 3 times it worked fine, then it<br>
> crashes and doesn't like the IP<br>
><br>
> here's the output<br>
><br>
> <a href="https://pastebin.com/bMxWrTwg">https://pastebin.com/bMxWrTwg</a><br>
><br>
This one I think is just systemd stopping / restarting the BE possibly after it gives up on the errors.<br>
</p>
</div>
</body>
</html>