[mythtv-users] frontend connects to localhost not what mysql specifies

Nick knowledgejunkie at gmail.com
Sat Oct 29 16:21:22 EDT 2005


On 29/10/05, Paul McKellar <socialmoth.blog at gmail.com> wrote:
> In short, my remote frontend connect to mysql but do not use the ip
> information contained.
>
> ---
>
> i have two frontends and they both do the same thing.  i can't watch
> tv or watch recorded videos because it asks if the ip is correct in
> the setup program.  I set the ip in the setup program to 192.168.1.4
> and looked in mythconverg.settings and found as such.
>
> mysql> select * from settings where data = "192.168.1.4";
> +-----------------+-------------+----------+
> | value           | data        | hostname |
> +-----------------+-------------+----------+
> | MasterServerIP  | 192.168.1.4 | tvbox    |
> | BackendServerIP | 192.168.1.4 | tvbox    |
> +-----------------+-------------+----------+
> 2 rows in set (0.03 sec)
>
> the ip is actually 1.4  as shown here:
>
> root at tvbox:~# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:50:8D:34:0C:25
>           inet addr:192.168.1.4  Bcast:255.255.255.255  Mask:255.255.255.0
>
> the frontends are mac and knoppmyth on x86.  the mac prints out this.
> knoppmyth shows the error but i haven't run it front a terminal to
> find what error it shows.
>
> 2005-10-29 15:31:26.434 Connecting to backend server: localhost:6543
> (try 1 of 5)
> Connection timed out.
>
> Both frontends are obviously connecting to the backend to get mysql
> information including programing guide info.  There is a third
> frontend running on the backend which works perfectly.  And it shows
> itself connecting to the right ip.  or 192.168.1.4  in the consol when
> run.  Why would the local frontend get a different ip that the remote
> frontend.  I've rebooted all machines involved and deleted ~/.mythtv/
> on the remote frontends but not the local frontends because they work
> : )

Can you clarify whether each machine has a different IP address and
that each has access to the mythconverg database (which I understand
is on the master backend machine). Each machine will obviously need a
different IP address and access to the database from that address.

Nick


More information about the mythtv-users mailing list