<div dir="ltr"><div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Sun, 23 Dec 2018 at 10:18, Ian Cameron <<a href="mailto:mkbloke@gmail.com">mkbloke@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Sun, 23 Dec 2018 at 10:02, Klaus Becker <<a href="mailto:colonius@free.fr" target="_blank">colonius@free.fr</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
~$ grep -i error /var/log/mythbackend/mythbackend.20181222161923.8138.log<br>
2018-12-22 17:19:27.102117 E [8138/8138] CoreContext serverpool.cpp:435 <br>
(listen) - Failed listening on TCP <a href="http://0.0.0.0:6544" rel="noreferrer" target="_blank">0.0.0.0:6544</a> - Error 8: The bound <br>
address is already in use<br>
2018-12-22 17:19:27.102145 E [8138/8138] CoreContext mediaserver.cpp:90 <br>
(Init) - MediaServer: HttpServer Create Error<br>
2018-12-22 17:19:27.102647 E [8138/8138] CoreContext serverpool.cpp:435 <br>
(listen) - Failed listening on TCP <a href="http://0.0.0.0:6543" rel="noreferrer" target="_blank">0.0.0.0:6543</a> - Error 8: The bound <br>
address is already in use<br>
2018-12-22 17:19:27.102659 C [8138/8138] CoreContext <br>
main_helpers.cpp:700 (run_backend) - Backend exiting, MainServer <br>
initialization error.<br>
<br>
$ grep -i fail /var/log/mythbackend/mythbackend.20181222161923.8138.log<br>
2018-12-22 17:19:27.102117 E [8138/8138] CoreContext serverpool.cpp:435 <br>
(listen) - Failed listening on TCP <a href="http://0.0.0.0:6544" rel="noreferrer" target="_blank">0.0.0.0:6544</a> - Error 8: The bound <br>
address is already in use<br>
2018-12-22 17:19:27.102647 E [8138/8138] CoreContext serverpool.cpp:435 <br>
(listen) - Failed listening on TCP <a href="http://0.0.0.0:6543" rel="noreferrer" target="_blank">0.0.0.0:6543</a> - Error 8: The bound <br>
address is already in use</blockquote><div><br></div><div>From that, it looks very much like you are trying to start the back-end process while there is already one running.</div><div><br></div><div> Try:</div><div><br></div><div>sudo systemctl stop mythbackend</div><div>sudo killall -9 mythbackend</div><div>sudo systemctl start mythbackend</div><div><br></div><div>The first command will stop the process in the proper manner, the second will kill any process where the first command didn't and the third command should start the back-end in the proper manner.  Try to get into the habit of using systemctl to start and stop your daemons so that things like this don't happen.<br></div></div></div></blockquote><div><br></div><div>Also, if you want to add additional parameters for things like logging, you should let us know what distribution and package you're using so you can be advised on where to specify the arguments to mythbackend on starting.  The correct place, for example, for the Debian package I'm using is to edit and uncomment either ARGS="" or EXTRA_ARGS="" in the /etc/default/mythtv-backend file.</div><div><br></div><div>Cheers, Ian</div><div><br></div></div></div></div>