[mythtv] Cannot connect to the mythzmserver

Lennart Sorensen lsorense at csclub.uwaterloo.ca
Sat Dec 20 17:42:02 UTC 2014


On Sat, Dec 20, 2014 at 05:37:21PM +0000, John Pilkington wrote:
> On 20/12/14 15:34, Lennart Sorensen wrote:
> >On Sat, Dec 20, 2014 at 12:51:48PM +0000, John Pilkington wrote:
> >>With my recent 0.28-pre-2422 build (8 Dec) I'm getting a popup about
> >>this when starting the frontend.  I don't use zm and haven't found
> >>anywhere to make zm-specific settings.  An attempt to uninstall
> >>mythzoneminder wanted to remove all of myth.
> >>
> >>I don't think I saw the popup with my previous build from 7 Nov.
> >>
> >>I can dismiss it with no apparent badness, but it's not
> >>user-friendly. Comments?
> >>
> >>Thanks,
> >>
> >>John P
> >>
> >>2014-12-20 12:17:15.429256 I  Using localhost value of hpbox
> >>***********
> >>2014-12-20 12:17:17.213112 I  UDPListener: Enabling
> >>2014-12-20 12:17:17.213773 I  Binding to UDP 127.0.0.1:6948
> >>2014-12-20 12:17:17.213864 I  Binding to UDP 192.168.0.4:6948
> >>2014-12-20 12:17:17.214005 I  Binding to UDP [::1]:6948
> >>2014-12-20 12:17:17.214154 I  Binding to UDP
> >>[fe80::2038:a1ff:feb5:609e%enp0s25]:6948
> >>2014-12-20 12:17:17.214254 I  Binding to UDP 192.168.0.255:6948
> >>2014-12-20 12:17:17.251125 I  UI Screen Resolution: 1024 x 576
> >>2014-12-20 12:17:17.342264 I  Using the Qt painter
> >>************
> >>2014-12-20 12:17:23.057829 I  Connecting to zm server:
> >>localhost:6548 (try 1 of 10)
> >>2014-12-20 12:17:23.058727 E  No address defined for host: localhost
> >>2014-12-20 12:17:23.061389 E  MythSocket(31e54a0:-1): Failed to
> >>connect to (::1:6548) Connection refused
> >>*********
> >>2014-12-20 12:17:27.574048 E  MythSocket(3212000:-1): Failed to
> >>connect to (::1:6548) Connection refused
> >>2014-12-20 12:17:28.075924 E  Unable to initialize plugin 'mythzoneminder'.
> >>2014-12-20 12:17:28.146214 N  Found mainmenu.xml for theme 'MythCenter-wide'
> >
> >Why does your machine not know what 'localhost' means?  Did you break
> >the /etc/hosts entry for localhost?
> 
> [john at HP_Box SRPMS]$ cat /etc/hosts
> 127.0.0.1   localhost localhost.localdomain localhost4
> localhost4.localdomain4
> ::1         localhost localhost.localdomain localhost6
> localhost6.localdomain6

I wonder if localhost resolving to two different things is a problem.

I wonder if it knows how to speak IPv6.  Maybe it doesn't know how to
talk to ::1.

> [john at HP_Box SRPMS]$ hostname
> HP_Box
> [john at HP_Box SRPMS]$
> 
> I supposed it had something to do with the 'hpbox' defined in config.xml

Well it did explicitly say it could not find the address for localhost.
So the hostname shouldn't matter.

-- 
Len Sorensen


More information about the mythtv-dev mailing list