[mythtv-users] Web Frontend stopped working yesterday

David Hampton mythtv at love2code.net
Fri Jul 19 17:54:26 UTC 2019


On Fri, 2019-07-19 at 18:34 +0200, Janusz S. Bień wrote:
> 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...

Try the command: sudo netstat -tapn | grep 6543

That will tell you what process pid/name has the port open.

David




More information about the mythtv-users mailing list