<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> mythtv-users <mythtv-users-bounces@mythtv.org> on behalf of Barry Martin <barry3martin@gmail.com><br>
<b>Sent:</b> 09 July 2016 00:54<br>
<b>To:</b> mythtv-users<br>
<b>Subject:</b> [mythtv-users] MythBE1 Backend Failed</font>
<div> </div>
</div>
<div><br>
Hi Folks!<br>
<br>
Yes, same newbie who just received help getting his Frontend to consistently locate and latch on the the Backend.  (Well that sounds a little strange!!) Subject was "FrontEnd will connect if it feels like it".<br>
<br>
Was trying to work on an unrelated and so far unasked problem where I am unable to record from a specific station/substations.  Was testing with "Watch Live TV" and I thought the Frontend had locked up due to no signal but that might have been when the Backend
 failed.  Have tried rebooting, both reboot and power off for several minutes.  MCC > MySQL > Lanuch MythTV Setup goes to the language screen.<br>
<br>
Can't copy the screen but where it paused is "Can't connect to MySQL Server on 'MythBE1' (111)"<br>
<br>
<br>
In case the MythFrontend log does any good:<br>
<br>
<a href="mailto:barry@Lenovo-M58">barry@Lenovo-M58</a>:~$ pastebinit '/media/barry/ADATA UFD/MythBE_01'
<br>
<a href="http://paste.ubuntu.com/18841136/">http://paste.ubuntu.com/18841136/</a><br>
<br>
<br>
Hopefully this makes sense -- I'm a little freaked out right now!<br>
Barry </div>
<div>---------------------------------</div>
<div>Barry,</div>
<div> are you sure that you backend is alive and kicking when frontend starts?</div>
<div>Try a delay in the frontend script which waits for backend like this:</div>
<div><br>
</div>
<div>
<div>#!/bin/bash</div>
<div><span style="font-size: 12pt;">for kip in 1 5 5 5 5 5 5 </span><br>
</div>
<div>do</div>
<div>    sleep $kip</div>
<div>    REPLY=$(curl -s 192.168.2.99:6544/Myth/GetHostName | grep String | wc -l) </div>
<div>    echo reply is $REPLY</div>
<div>    if [ $REPLY -eq 1 ]; then</div>
<div>        echo " backend running"</div>
<div>        exit</div>
<div>    fi</div>
<div>done</div>
<div><br>
</div>
<div><br>
</div>
<div>The echos are for testing purposes - remove them when it is working.</div>
<div>Phil</div>
<div><br>
</div>
<br>
</div>
<div><br>
</div>
<div>  </div>
</div>
</div>
</body>
</html>