Opened 10 years ago

Closed 10 years ago

#9781 closed Bug Report - General (Fixed)

Backend Won't Run on System Without IPV6 After Patch

Reported by: b.taber@… Owned by:
Priority: minor Milestone: unknown
Component: MythTV - General Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no


With the new IPv6 capability patch (8bf5157fdb844dc72e65bfc419e343b6764b58ba) a slave backend fails to connect to the master if the system does not have IPv6 capability. The system had the ipv6 module blacklisted and therefore was unable to run IPv6 (ie., the module was not loaded.) Re-enabling the ipv6 module allows the backend to run again with this patch.

2011-05-17 09:56:42.657 mythbackend version: exported [v0.25pre-1981-g8bf5157] 2011-05-17 09:56:42.657 Using runtime prefix = /usr 2011-05-17 09:56:42.657 Using configuration directory = /root/.mythtv 2011-05-17 09:56:42.659 Using localhost value of brumar.home.lan 2011-05-17 09:56:42.669 New DB connection, total: 1 2011-05-17 09:56:42.695 Connected to database 'mythconverg' at host: 2011-05-17 09:56:42.703 Closing DB connection named 'DBManager0' 2011-05-17 09:56:42.724 Connected to database 'mythconverg' at host: 2011-05-17 09:56:42.732 Current locale EN_US 2011-05-17 09:56:42.732 Reading locale defaults from /usr/share/mythtvlocales/en_us.xml 2011-05-17 09:56:42.819 Current MythTV Schema Version (DBSchemaVer): 1273 2011-05-17 09:56:42.822 Loading en_us translation for module mythfrontend 2011-05-17 09:56:42.838 Using protocol version 65 2011-05-17 09:56:42.842 Backend is running in America/New? York time zone. 2011-05-17 09:56:42.850 MythBackend?: Running as a slave backend. 2011-05-17 09:56:42.865 New DB connection, total: 2 2011-05-17 09:56:42.883 Connected to database 'mythconverg' at host: 2011-05-17 09:56:42.985 New DB connection, total: 3 2011-05-17 09:56:43.003 Connected to database 'mythconverg' at host: 2011-05-17 09:56:43.973 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000 2011-05-17 09:56:43.988 MediaServer::HttpServer? Create Error 2011-05-17 09:56:43.989 Enabled verbose msgs: important general 2011-05-17 09:56:44.002 Failed to bind port 6543. Exiting. 2011-05-17 09:56:44.002 Backend exiting, MainServer? initialization error.

ifconfig reports the inet6 addr: line is missing confirming the lack of IPv6 on the system.

Attachments (1)

autodetect_v6.diff (6.6 KB) - added by greg 10 years ago.
Patch to etect if IPv6 support is in place

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by greg

Attachment: autodetect_v6.diff added

Patch to etect if IPv6 support is in place

comment:1 Changed 10 years ago by greg

The attached patch (autodetect_v6.diff) should fix this by getting myth to check to see if IPv6 support appears to be inplace and picking between "::" and "" for listening based on that

comment:2 Changed 10 years ago by b.taber@…

The autodetect IPv6 patch appears to be properly detecting the presence and absence of IPv6. Thanks.

comment:3 Changed 10 years ago by greg

Resolution: Fixed
Status: newclosed


Note: See TracTickets for help on using tickets.