Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #7516: Lcdserver localhost lookup in Ubuntu

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Nov 7, 2009, 10:59 AM

Post #1 of 3 (429 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
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 2, 2010, 4:34 AM

Post #2 of 3 (227 views)
Permalink
Re: Ticket #7516: Lcdserver localhost lookup in Ubuntu [In reply to]

#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
------------------------------------+---------------------------------------

Comment(by paulh):

(In [23915]) Work around a bug for Ubuntu users not being able to connect
to mythlcdserver
because the default host setting 'locahost' is being resolved to an ip6
address. Refs #7516, #7600.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7516#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Apr 2, 2010, 4:38 AM

Post #3 of 3 (229 views)
Permalink
Re: Ticket #7516: Lcdserver localhost lookup in Ubuntu [In reply to]

#7516: Lcdserver localhost lookup in Ubuntu
------------------------------------+---------------------------------------
Reporter: anonymous | Owner: ijr
Type: defect | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - Mythlcdserver | Version: 0.22rc1
Severity: low | Resolution: fixed
Mlocked: 0 |
------------------------------------+---------------------------------------
Changes (by paulh):

* status: new => closed
* resolution: => fixed


Comment:

(In [23916]) Backport r23915 from trunk.

Work around a bug for Ubuntu users not being able to connect to
mythlcdserver
because the default host setting 'locahost' is being resolved to an ip6
address. Fixes #7516, #7600.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/7516#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.