<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12px"><div id="yiv8406757410"><div id="yui_3_16_0_1_1420151494672_2955"><div id="yui_3_16_0_1_1420151494672_2954" style="color:#000;background-color:#fff;font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12px;"><br clear="none"><div id="yiv8406757410yui_3_16_0_1_1420150366031_3717" style="font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:12px;"><blockquote id="yiv8406757410yui_3_16_0_1_1420150366031_3716" style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;margin-top:5px;padding-left:5px;"><div class="yiv8406757410y_msg_container" id="yiv8406757410yui_3_16_0_1_1420150366031_3715"><br clear="none">In Ubuntu 14.04, the correct way to start mythbackend is:<br clear="none"><br clear="none">  sudo start mythtv-backend<br clear="none"><br clear="none"><div id="yiv8406757410yui_3_16_0_1_1420150366031_3741">(or just "start mythtv-backend" from a root prompt).</div><div id="yiv8406757410yui_3_16_0_1_1420150366031_3740"><br clear="none"></div><div dir="ltr" id="yiv8406757410yui_3_16_0_1_1420150366031_3753">SV >> just tried sudo start mythtv-backend</div><div dir="ltr" id="yiv8406757410yui_3_16_0_1_1420150366031_3908">            terminal replies with:<br clear="none"></div><div dir="ltr" id="yiv8406757410yui_3_16_0_1_1420150366031_4166">            mythtv-backend start/running, process 3220<br class="yiv8406757410" style="" clear="none">            but if I ps -ae |grep myth i can see that mythbackend is not running</div><div dir="ltr" id="yiv8406757410yui_3_16_0_1_1420150366031_4168">            also if I ps -ae there is no preocess 3220 <br clear="none"></div><br clear="none">Upstart jobs are controlled from files in /etc/init.  In this case,<br clear="none">the file you need to look at is:<div class="qtdSeparateBR"><br><br></div><div class="yiv8406757410yqt5261469323" id="yiv8406757410yqtfd15802"><br clear="none"><br clear="none"><div id="yiv8406757410yui_3_16_0_1_1420150366031_4534">  /etc/init/mythtv-backend</div><div id="yiv8406757410yui_3_16_0_1_1420150366031_4914"><br clear="none"></div><div dir="ltr" id="yiv8406757410yui_3_16_0_1_1420150366031_5293">SV>>this file does not exist in my install<br clear="none"></div></div><br clear="none"><br clear="none">and unless you have made any changes to things, it should<br clear="none">automatically start on boot, as do all the Upstart jobs in /etc/init.<br clear="none">All the setup for MythTV should just work in Mythbuntu 14.04 and it<br clear="none">normally does, unless your networking setup is non-standard (like<br clear="none">mine).  So you should take a look at the log file:<br clear="none"><br clear="none"><div id="yiv8406757410yui_3_16_0_1_1420150366031_10840">  /var/log/mythtv/mythbackend.log</div><div id="yiv8406757410yui_3_16_0_1_1420150366031_10846"><br clear="none"></div><div dir="ltr" id="yiv8406757410yui_3_16_0_1_1420150366031_10845">SV>> this is likely the problem <br clear="none"></div><div dir="ltr" id="yiv8406757410yui_3_16_0_1_1420150366031_10841">            Jan  2 11:23:12 MythBE mythbackend: mythbackend[3566]: E CoreContext mythdbcon.cpp:216 (OpenDatabase) Unable to connect to database!<br class="yiv8406757410" style="" clear="none">            Jan  2 11:23:12 MythBE mythbackend: mythbackend[3566]: E CoreContext mythdbcon.cpp:217 (OpenDatabase) Driver error was [1/1045]:#012QMYSQL: Unable to             connect#012Database error was:#012Access denied for user 'mythtv'@'localhost' (using password: YES)</div><div dir="ltr" id="yiv8406757410yui_3_16_0_1_1420150366031_10848">        <br clear="none"></div><div id="yui_3_16_0_1_1420151494672_2956" dir="ltr"><div id="yui_3_16_0_1_1420151494672_2966">SV>> when i first installed mythtv I couldn't get qccess to the database so I used the following instructions to reset the mythconverg password.</div><pre id="yui_3_16_0_1_1420151494672_3335" style="" class="">mysql -u root -p
set password for 'mythtv'@'%' = password('mythtv');
set password for 'mythtv'@'localhost' = password('mythtv');
connect mythconverg;
grant all privileges on *.* to 'mythtv'@'%' with grant option;
grant all privileges on *.* to 'mythtv'@'localhost' with grant option;
flush privileges;
exit;<br><br>I then changed the password in mythtv backend setup, but I didn't change it in the file /home/mythtv/.mythtv/config.xml.<br>Now that I have edited /home/mythtv/.mythtv/config.xml the backend is starting on boot. <br></pre><div style="" class="" dir="ltr" id="yui_3_16_0_1_1420151494672_2965"><br style="" class=""></div></div><div class="yiv8406757410yqt4579934845" id="yiv8406757410yqtfd43216"><br clear="none">and see if there is anything there to tell you why it does not run on<br clear="none">boot or with a "start mythtv-backend" command.  Permissions or<br clear="none">networking problems seem the most likely things.<br clear="none"><br clear="none">Also, did you edit the /etc/mythtv/config.xml file to put in the<br clear="none">correct database password that matches your restored database?  In<br clear="none">your old setup, that may still be in the /etc/config.txt file, but in<br clear="none">later MythTV versions, it has all moved into config.xml.<br clear="none"><div id="yiv8406757410yui_3_16_0_1_1420150366031_3906"><br clear="none"></div><div id="yiv8406757410yui_3_16_0_1_1420150366031_3739"><div id="yui_3_16_0_1_1420151494672_5111" dir="ltr">SV>> Thanks for your help..</div><div id="yui_3_16_0_1_1420151494672_4195" dir="ltr"><br></div><div id="yui_3_16_0_1_1420151494672_4194" style="" class="" dir="ltr"><br style="" class="" clear="none"></div></div></div></div><div class="yiv8406757410yqt4579934845" id="yiv8406757410yqtfd51505"> </div></blockquote><div class="yiv8406757410yqt4579934845" id="yiv8406757410yqtfd22892">  </div></div><div class="yiv8406757410yqt4579934845" id="yiv8406757410yqtfd60133"><div id="yui_3_16_0_1_1420151494672_4185" class="yiv8406757410qtdSeparateBR"><br clear="none"><br clear="none"></div><div class="yiv8406757410yahoo_quoted" id="yiv8406757410yui_3_16_0_1_1420150366031_3719" style="display: block;"><div id="yiv8406757410yui_3_16_0_1_1420150366031_3718" style="font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12px;"> </div>   </div> </div></div></div></div></div></body></html>