[mythtv-users] Brand new install - Mythbackend doesn't start
Mark Perkins
perkins1724 at hotmail.com
Wed Aug 2 23:54:47 UTC 2017
On 3 August 2017 6:47:18 am Ashu Desai <ashu.desai at gmail.com> wrote:
> On Wed, Aug 2, 2017 at 3:49 PM, Bill Meek <keemllib at gmail.com> wrote:
>
>> On 08/02/2017 03:16 PM, Ashu Desai wrote:
>>
>>> On Wed, Aug 2, 2017 at 2:58 PM, Bill Meek <keemllib at gmail.com> wrote:
>>>
>>> ...
>>>>
>>>> 13:00:20.805027 I Using localhost value of mythmaster <<<<<-----
>>>>
>>>>>
>>>>>
>>>> ...
>>>>
>>>> However, when I look in the DB:
>>>>
>>>>> I also did this:
>>>>>
>>>>> MariaDB [mythconverg]> select * from settings where value like
>>>>> '%ServerIP';
>>>>> +-----------------+-----------+------------------------+
>>>>> | value | data | hostname |
>>>>> +-----------------+-----------+------------------------+
>>>>> | BackendServerIP | 172.16.10.54 | mythmaster.localdomain | <<<<<-----
>>>>> | MasterServerIP | 172.16.10.54 | NULL |
>>>>> +-----------------+-----------+------------------------+
>>>>>
>>>>> localhost is being set to mythmaster, however, in the SQL above,
>>>> the hostname is mythmaster.localdomain.
>>>>
>>>> Think of the hostname column as being a profile name.
>>>>
>>>>
>>> Changed /etc/hosts and made it mythmaster instead of
>>> mythmaster.localdomain
>>>
>>> However, the DB still reflects the above even after restarting.
>>>
>>
>> Changing /etc/hosts won't change the MythTV DB automatically.
>>
>> Remember to check <LocalHostName> in config.xml. It overrides the
>> value of the host's name.
>>
>
> Here's the /root/.mythtv/config.xml file
>
> https://pastebin.com/SDQenT5q
>
>>
>> It would be nice to have a fresh log put at pastebin.com<http://pastebin.com> because the
>> email lines are all folded. Your's are in /var/log/mythtv/ with names
>> like: mythbackend.20170802032732.23638.log
>>
>>
> Mythbackend works if backend IP is 127.0.0.1 --
> https://pastebin.com/WgQuYYvM
>
This "working" one is running as slave, I think your IP addressing is still wrong.
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
Aug 02 16:04:16 mythmaster.localdomain mythbackend[4869]: 2017-08-02 16:04:16.377114 N MythBackend: Running as a slave backend.
> https://pastebin.com/WLWywqh4
>
> mythbackend fails if actual IP -- https://pastebin.com/EKzai7z9
>
Does this log file end here or did you truncate? Might need to add a dummy capture card.
> Here's the interesting part. IF i make the backend IP to 127.0.0.1 - it
> works. Now if i go back in mythtv-setup, change it to the actual IP
>
> and do NOT restart mythbackend, let it be - it will work. I tried
> restarting backend few times. First 2 or 3 times it worked fine, then it
> crashes and doesn't like the IP
>
> here's the output
>
> https://pastebin.com/bMxWrTwg
>
This one I think is just systemd stopping / restarting the BE possibly after it gives up on the errors.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170802/1b870f8c/attachment.html>
More information about the mythtv-users
mailing list