[mythtv-users] Auto-started Mythbackend = Remote Mythfrontend connection failure

Karl Newman newmank1 at asme.org
Thu Nov 15 23:40:55 UTC 2012


On Thu, Nov 15, 2012 at 2:42 PM, Darethehair <darethehair at gmail.com> wrote:

>  This one is extremely subtle, and all my sleuthing skills have not helped
> me so far
>
> Running 0.25 on a fresh LMDE (Linux Mint Debian Edition) server. Local
> Backend/frontend work fine, and remote frontend also now works fine.
> Noticed that install has set up automatic start for mysql/mythtv-backend
> (verified by 'chkconfig') and scripts in '/etc/init.d'.
>
> However, upon rebooting, noticed that the remote frontend was no longer
> able to connect to the backend, with non-helpful messages:
>
>  Code:
>
> I  MythCoreContext: Connecting to backend server: 192.168.1.101:6543 (try 1 of 1)
> E  Connection to master server timed out.
> 			Either the server is down or the master server settings
> 			in mythtv-settings does not contain the proper IP address
>
>
>
>
>
>
>
>
>
> Oddly, a remote 'mysql' connect still works, right owner is running the
> processes, correct ports are open (verified by 'nmap'), so what is the
> problem?
>
> If I then *manually* restart mythbackend via the command line:
>
>  sudo /etc/init.d/mythtv-backend restart
>
>  ...then the remove frontend starts working again!
>
> I have done a lot of Googling, but the problems I see only have to do with
> *failures* of an auto-started backend -- in my case, the backend starts
> up (mostly) fine.
>
> Why would an auto-started backend not work with a remote frontend, but a
> manually-started one does? If this some subtle timing issue?
>
> Help would be appreciated!
>
>
To diagnose a timing issue, could you add a delay (60 seconds?) to the
init.d script? The thing that comes to mind is a possible networking issue
(binding to the wrong interface or something?)

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121115/8546271a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3492 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121115/8546271a/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 3458 bytes
Desc: not available
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121115/8546271a/attachment-0001.png>


More information about the mythtv-users mailing list