[mythtv-users] Brand new install - Mythbackend doesn't start

Mark Perkins perkins1724 at hotmail.com
Thu Aug 3 03:55:09 UTC 2017



On 03/08/17 13:02, Ashu Desai wrote:


On Wed, Aug 2, 2017 at 8:33 PM, Mark Perkins <perkins1724 at hotmail.com<mailto:perkins1724 at hotmail.com>> wrote:


On 03/08/17 09:57, Ashu Desai wrote:





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<http://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.

How do I address this? this is a brand new install - so all i have done is just install the myth packages and done mythtv-setup. I haven't tried making any slave backend.
mythtv-setup, general, make sure both the Local Backend and Master Backend IP address fields are the same and are 172.16.10.54 (assuming that is the static assigned IP address for your machine).
If the two are different it will assume it is a slave.



Both had same IP - it didn't work.
So I put 127.0.0.1 for the Local Backend, and 172.16.10.54as Master backend  (still same machine)



As I understand it the logic for starting as a slave is a simple comparison of the local backend address and the master backend address fields. If they are different in any way (even if 127.0.0.1 in one and localhost in the other) it will start as a slave.

If it is 'not working' with 172.16.10.54 in both master and local BE fields then need to troubleshoot what other bad config exists rather than keep changing back to localhost / 127.0.0.1 and masking the problem / creating further problems.

What do you get in the log file (clean pastebin from startup to shutdown) when you have 172.16.10.54 in both local and master BE fields?
Is mysql listening on more than localhost (sudo netstat -peanut | grep 3306)?
Is your mythbackend.service file starting the BE as user root or user mythtv?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170803/56db77bc/attachment.html>


More information about the mythtv-users mailing list