[mythtv-users] Web Frontend stopped working yesterday

Janusz S. Bień jsbien at mimuw.edu.pl
Fri Jul 19 16:34:46 UTC 2019


On Fri, Jul 19 2019 at 11:59 -04, Jay Harbeston wrote:

[...]

> I see this in your log, which still looks like another mythbackend is
> running, or alternatively, something you are running on this machine
> is using port 6543:
>
> These next 6 lines I think look ok. 
> Jul 19 17:01:12 VivoPC-D8 mythbackend: mythbackend[1847]: I CoreContext serverpool.cpp:415 (listen) Listening on TCP 0.0.0.0:6544
> Jul 19 17:01:12 VivoPC-D8 mythbackend: mythbackend[1847]: I CoreContext serverpool.cpp:415 (listen) Listening on TCP [::]:6544
> Jul 19 17:01:12 VivoPC-D8 mythbackend: mythbackend[1847]: I CoreContext serverpool.cpp:415 (listen) Listening on TCP 0.0.0.0:6554
> Jul 19 17:01:12 VivoPC-D8 mythbackend: mythbackend[1847]: I CoreContext serverpool.cpp:415 (listen) Listening on TCP [::]:6554
> Jul 19 17:01:12 VivoPC-D8 mythbackend: mythbackend[1847]: N
> CoreContext websocket.cpp:37 (WebSocketServer) WebSocketServer(): Max
> Thread Count 8
> Jul 19 17:01:12 VivoPC-D8 mythbackend: mythbackend[1847]: I CoreContext serverpool.cpp:415 (listen) Listening on TCP 0.0.0.0:6549
>
> —————————   MORE info logs
> Jul 19 17:01:12 VivoPC-D8 mythbackend: mythbackend[1847]: I CoreContext serverpool.cpp:415 (listen) Listening on TCP [::]:6549
> Jul 19 17:01:18 VivoPC-D8 mythbackend: mythbackend[1847]: I
> CoreContext main_helpers.cpp:698 (run_backend) Main::Registering
> HttpStatus Extension
> Jul 19 17:01:18 VivoPC-D8 mythbackend: mythbackend[1847]: I
> CoreContext httpserver.cpp:329 (RegisterExtension) HttpServer:
> Registering HttpStatus extension
>
> ################### This next line is interesting below that I have turned all caps, indicating something has taken over port 6543.
>  
> JUL 19 17:01:18 VIVOPC-D8 MYTHBACKEND: MYTHBACKEND[1847]: E
> CORECONTEXT SERVERPOOL.CPP:428 (LISTEN) FAILED LISTENING ON TCP
> 0.0.0.0:6543 - ERROR 8: THE BOUND ADDRESS IS ALREADY IN USE

If ps says the truth, there is only one backend running:

--8<---------------cut here---------------start------------->8---
ps ax | grep mythbackend
 1295 ?        Ssl    3:04 /usr/bin/mythbackend --logpath /var/log/mythtv --logl
 8222 pts/1    S+     0:00 grep mythbackend
 --8<---------------cut here---------------end--------------->8---

If nmap says the truth, the port 6543 is open and assigned to mythtv
service:

--8<---------------cut here---------------start------------->8---
nmap -p 6543 0.0.0.0
Starting Nmap 7.70 ( https://nmap.org ) at 2019-07-19 18:21 CEST
Nmap scan report for 0.0.0.0
Host is up (0.00013s latency).

PORT     STATE SERVICE
6543/tcp open  mythtv
--8<---------------cut here---------------end--------------->8---

If the message

0.0.0.0:6543 - ERROR 8: THE BOUND ADDRESS IS ALREADY IN USE

is the true, then some other mythtv service (is there any?) is using
it...

> Jul 19 17:01:18 VivoPC-D8 mythbackend: mythbackend[1847]: C
> CoreContext main_helpers.cpp:713 (run_backend) Backend exiting,
> MainServer initialization error.
> Jul 19 17:01:18 VivoPC-D8 mythbackend: mythbackend[1847]: I
> CoreContext bonjourregister.cpp:28 (~BonjourRegister) Bonjour:
> De-registering service '' on ''
>
>
> ##################


Please note that the frontend is working...

> Try another connect, and while doing so, do the following on your mythtv server:
>
> netstat  | grep 6544
>
> It should show a connection between your server and the machine running the web page.

As the port is closed, netstat has nothing to report...

Best regards

Janusz

P.S. Do you think it would be all right to ask for help on the
developers list?

-- 
             ,   
Janusz S. Bien
emeryt (emeritus)
https://sites.google.com/view/jsbien


More information about the mythtv-users mailing list