﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
9820	Upgraded to 'master', lost IPV4 connectivity	Ian Clark <mrrooster@…>	Raymond Wagner	"Hi All,

Just upgraded to the latest 'master' build, or more specifically:

2011-05-31 18:06:35.643 mythbackend version: master
[v0.25pre-2076-g4d772e0] www.mythtv.org

And upon reboot the frontend couldn't connect to the backend.

A quick prod around with netstat showed the backend was listening on
an IP6 address, but not an IP4 address, disabling ipv6 on the next
reboot seems to have solved the issue.

Is this intentional? (and if so, what do I need to reconfigure to make
it all work proper like.), or if not, should I file a bug report?

-------------------------

 Any chance you can provide the output of running the backend with -v sockets with IPv6 enabled, as well as the output of ifconfig, and netstat -antu ?

 If you could pop that into a ticket in trac I'll see what I can track down.

-------------------------

{{{
ian@pvr:~$ sudo netstat -pl | grep 6543
[sudo] password for ian:
tcp6       0      0 [::]:6543               [::]:*                  LISTEN      1632/mythbackend
ian@pvr:~$ sudo netstat -pl | grep backend
tcp6       0      0 [::]:6543               [::]:*                  LISTEN      1632/mythbackend
tcp6       0      0 [::]:6544               [::]:*                  LISTEN      1632/mythbackend
udp        0      0 255.255.255.255:1900    *:*                                 1632/mythbackend
udp        0      0 *:1900                  *:*                                 1632/mythbackend
ian@pvr:~$ sudo ifconfig
eth3      Link encap:Ethernet  HWaddr 00:c0:49:59:2b:de
          inet addr:192.168.0.121  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::2c0:49ff:fe59:2bde/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:603 errors:0 dropped:0 overruns:0 frame:0
          TX packets:734 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:61255 (59.8 KiB)  TX bytes:144266 (140.8 KiB)
          Interrupt:18 Base address:0x2c00

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1012 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1012 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:508234 (496.3 KiB)  TX bytes:508234 (496.3 KiB)

ian@pvr:~$ sudo netstat -antu
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:6000            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:4949            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
tcp        0      0 192.168.0.121:445       0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:445           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN
tcp        0      0 192.168.0.121:139       0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:139           0.0.0.0:*               LISTEN
tcp        0     18 192.168.0.121:4949      192.168.0.254:55884     ESTABLISHED
tcp        0     48 192.168.0.121:22        192.168.0.254:55885     ESTABLISHED
tcp        0      0 192.168.0.121:37355     192.168.0.254:445       ESTABLISHED
tcp6       0      0 :::6543                 :::*                    LISTEN
tcp6       0      0 :::6544                 :::*                    LISTEN
tcp6       0      0 :::6000                 :::*                    LISTEN
tcp6       0      0 :::6546                 :::*                    LISTEN
tcp6       0      0 :::6547                 :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
tcp6       0      0 ::1:50560               ::1:6544                TIME_WAIT
tcp6       0      0 ::1:50558               ::1:6544                TIME_WAIT
tcp6       0      0 ::1:50565               ::1:6544                TIME_WAIT
tcp6       0      0 ::1:50564               ::1:6544                TIME_WAIT
udp        0      0 0.0.0.0:53721           0.0.0.0:*
udp        0      0 255.255.255.255:1900    0.0.0.0:*
udp        0      0 0.0.0.0:1900            0.0.0.0:*
udp        0      0 255.255.255.255:1900    0.0.0.0:*
udp        0      0 0.0.0.0:1900            0.0.0.0:*
udp        0      0 192.168.0.255:137       0.0.0.0:*
udp        0      0 192.168.0.121:137       0.0.0.0:*
udp        0      0 0.0.0.0:137             0.0.0.0:*
udp        0      0 192.168.0.255:138       0.0.0.0:*
udp        0      0 192.168.0.121:138       0.0.0.0:*
udp        0      0 0.0.0.0:138             0.0.0.0:*
udp6       0      0 :::6948                 :::*
ian@pvr:~$
}}}

the log is quite large, so I've attached it.

Cheers,

Ian
"	Bug Report - General	closed	minor	0.25	MythTV - General	Master Head	medium	Fixed			0
