<div dir="ltr"><div>I have had this before if the backend is on an external ip and the ip is not yet available when the frontend starts (for what ever reason, kids pulled the cord etc)<br><br></div>I usually just manually edit the config files in ~/.mythtv to use localhost instead of the ip<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 17 July 2013 10:06, Paulgir <span dir="ltr"><<a href="mailto:paulgir@gmail.com" target="_blank">paulgir@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
I have been getting FE start failures,when booting the system, where the desktop ends up at a Language selection screen.<br>
To get out of that I hit esc which takes me to a Database setup screen with a message that mythtv failed to connect to the local database ,was the address correct? etc.Hitting esc again takes me to the xfce desktop and the front end automatically restarts.<br>

The system is a combined BE/FE and this failure does not always occur.The BE never fails to start and record any scheduled programmes.<br>
This hasn't been much of a hassle ,as hitting esc restarts the FE.<br>
<br>
in FE log I get this:<br>
<br>
Jul 17 09:16:13 myth mythlogserver: mythfrontend[1494]: N CoreContext mythcontext.cpp:493 (LoadDatabaseSettings) Empty LocalHostName.<br>
Jul 17 09:16:13 myth mythlogserver: mythfrontend[1494]: I CoreContext mythcontext.cpp:501 (LoadDatabaseSettings) Using localhost value of myth<br>
Jul 17 09:16:13 myth mythlogserver: mythfrontend[1494]: I Logger logging.cpp:306 (run) Added logging to the console<br>
Jul 17 09:16:13 myth mythlogserver: mythfrontend[1494]: E CoreContext mythdbcon.cpp:216 (OpenDatabase) Unable to connect to database!<br>
Jul 17 09:16:13 myth mythlogserver: mythfrontend[1494]: E CoreContext mythdbcon.cpp:217 (OpenDatabase) Driver error was [1/2002]:#012QMYSQL: Unable to connect#012Database error was:#012Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)<br>

<br>
I think it might be timing problem but am not sure.<br>
<br>
Paul<br>
<br>
______________________________<u></u>_________________<br>
mythtvnz mailing list<br>
<a href="mailto:mythtvnz@lists.linuxnut.co.nz" target="_blank">mythtvnz@lists.linuxnut.co.nz</a><br>
<a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz" target="_blank">http://lists.ourshack.com/<u></u>mailman/listinfo/mythtvnz</a><br>
Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" target="_blank">http://www.gossamer-threads.<u></u>com/lists/mythtv/mythtvnz/</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>"Weekends don't count unless you spend them doing something completely pointless. " - Calvin
</div>