[mythtv-commits] Ticket #11160: Mythbackend needs to wait for network before starting on fast-booting systems.
MythTV
noreply at mythtv.org
Mon Oct 8 19:16:16 UTC 2012
#11160: Mythbackend needs to wait for network before starting on fast-booting
systems.
------------------------------------+--------------------------------------
Reporter: John <da_audiophile@…> | Type: Bug Report - General
Status: new | Priority: major
Milestone: unknown | Component: MythTV - General
Version: 0.26 | Severity: high
Keywords: | Ticket locked: 0
------------------------------------+--------------------------------------
Since the 0.26 update, mythbackend is much more picky about requiring a
network interface to be up before it starts. I believe that main protocol
server in mythbackend terminates, taking the backend with it, when it does
not have access to the IP addresses it on which it was told to listen. I
have an SSD-based backend that boots pretty quickly. The problem is that
my network isn't ready when mythbackend starts which causes the backend to
detect no network and shutdown.
I can fix this by starting the backend manually several seconds after the
box boots via a simple script that is triggered when X comes up. I know
that this is not a robust and general solution. Perhaps there is a way to
make the backend more robust and tolerant to this somehow? Maybe add a
retry loop or the like?
Here is a snipette from my backend log if I do NOT use the script which
clearly shows the issue:
{{{
...
2012-10-07 15:07:52.606487 C ServerPool: Host is configured to listen on
192.168.0.102, but address is not used on any local network interfaces.
2012-10-07 15:07:52.606648 I Listening on TCP 127.0.0.1:6544
2012-10-07 15:07:52.606712 I Listening on TCP [::1]:6544
2012-10-07 15:07:52.641782 I Added logging to mythlogserver at TCP:35327
2012-10-07 15:07:53.806462 E Bonjour: Error: -65537
2012-10-07 15:07:53.806474 E Bonjour: Failed to register service.
2012-10-07 15:07:53.806485 I Main::Registering HttpStatus Extension
2012-10-07 15:07:53.811393 C Backend exiting, MainServer
...
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11160>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list