[mythtv-users] Bug in MythFE (MythCoreContext) re server connection address ?

Mike Perkins mikep at randomtraveller.org.uk
Sat Oct 8 11:08:59 UTC 2011


On 08/10/11 05:16, Robert McNamara wrote:
> On Fri, Oct 7, 2011 at 9:01 PM, linux guy<linuxguy123 at gmail.com>  wrote:
>
>> <snip>2011-10-07 21:46:34.180 New DB connection, total: 2
>> 2011-10-07 21:46:34.182 Connected to database 'mythconverg' at host: server
>
>
>> 2011-10-07 21:46:36.120 Found mainmenu.xml for theme 'MythCenter-wide'
>> 2011-10-07 21:46:36.151 MythCoreContext: Connecting to backend server:
>> 127.0.0.1:6543 (try 1 of 1)<----------------- WHAT ?  Why isn't this
>> server ?
>
> Mythtv frontends connect to the database, and from there get the IP
> address for the master backend.  Your frontend diligently connected to
> the DB you told it to, and pulled out the IP you configured on your
> backend for the Myth backend server... which is currently set to
> 127.0.0.1.
>
> Go back into mythtv-setup on your backend and set the IP addresses to
> something externally accessible (NOT HOSTNAMES, and not 127.0.0.1 as
> you currently configured) in step one.
>
> So, not a bug.  A misconfiguration.
>
Not to mention:

The server ip is 192.168.1.13 (server)
The host ip is 192.168.1.122 (dragon)
Both of these addresses are assigned statically.

And:

/etc/hosts
===============================================
127.0.0.1       dragon.localdomain      dragon
::1             dragon6.localdomain6    dragon6
192.168.1.13    server.localdomain      server
===============================================

Your /etc/hosts is wrong. 'dragon' should be set to 192.168.1.122 *on both 
machines*.

Also check that 'server' address is 192.168.1.13 *on both machines*.

-- 

Mike Perkins


More information about the mythtv-users mailing list