
mythtv at cvs
Nov 7, 2009, 10:59 AM
Post #1 of 1
(54 views)
Permalink
|
|
Ticket #7516: Lcdserver localhost lookup in Ubuntu
|
|
#7516: Lcdserver localhost lookup in Ubuntu ------------------------------------+--------------------------------------- Reporter: anonymous | Owner: ijr Type: defect | Status: new Priority: minor | Milestone: unknown Component: MythTV - Mythlcdserver | Version: 0.22rc1 Severity: low | Mlocked: 0 ------------------------------------+--------------------------------------- mythfrontend and mythlcdserver can't connect using the default of localhost log from mythfrontend -v network,socket {{{ 2009-10-18 21:57:50.060 Enabled verbose msgs: important general network socket 2009-10-18 21:57:50.085 Starting mythlcdserver 2009-10-18 21:57:50.610 Connecting to lcd server: localhost:6545 (try 1 of 10) 2009-10-18 21:57:50.610 MythSocket(bbc350:23): new socket 2009-10-18 21:57:50.611 MythSocketThread: readyread thread start 2009-10-18 21:57:50.611 MythSocket(bbc350:23): UpRef: 1 2009-10-18 21:57:50.612 MythSocket(bbc350:23): attempting connect() to (0:0:0:0:0:0:0:1:6545) 2009-10-18 21:57:50.612 MythSocket(bbc350:23): connect() failed (InternalError) 2009-10-18 21:57:51.112 Connecting to lcd server: localhost:6545 (try 2 of 10) 2009-10-18 21:57:51.112 MythSocket(bbc350:23): DownRef: 0 2009-10-18 21:57:51.113 MythSocket(bcf730:21): new socket 2009-10-18 21:57:51.113 MythSocket(bcf730:21): UpRef: 1 2009-10-18 21:57:51.113 MythSocket(bcf730:21): attempting connect() to (0:0:0:0:0:0:0:1:6545) 2009-10-18 21:57:51.113 MythSocket(bcf730:21): connect() failed (InternalError) }}} Setting 'LCDServerHost' to 127.0.0.1 in the settings table fixes the problem. It looks like the localhost lookup is returning the ip6 localhost address 0:0:0:0:0:0:0:1 which is then causing the connection to fail. The default hosts file in Ubuntu is :- {{{ 127.0.0.1 localhost 127.0.1.1 <this is set to the host name> # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts }}} -- Ticket URL: <http://svn.mythtv.org/trac/ticket/7516> MythTV <http://www.mythtv.org/> MythTV _______________________________________________ mythtv-commits mailing list mythtv-commits[at]mythtv.org http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
|