[mythtv-users] Web Frontend stopped working yesterday

Janusz S. Bień jsbien at mimuw.edu.pl
Fri Jul 12 05:36:53 UTC 2019


Some additional information:

On Fri, Jul 12 2019 at  7:24 +02, Janusz S. Bień wrote:
> Hi!
>
> That's happened again after reboot to Windows and back (no other possibly
> relevant action on my side).

[...]

> Is the output of 'systemctl status mythtv-backend' of any use? The backend
> is running, the frontend works and the output is
>
> systemctl status mythtv-backend
> ● mythtv-backend.service - LSB: Start/Stop the MythTV server.
>    Loaded: loaded (/etc/init.d/mythtv-backend; generated)
>    Active: inactive (dead) since Fri 2019-07-12 06:48:05 CEST; 17min ago
>
>
> Before starting today's experiments the output was
>
> systemctl status mythtv-backend
> ● mythtv-backend.service - LSB: Start/Stop the MythTV server.
>    Loaded: loaded (/etc/init.d/mythtv-backend; generated)
>    Active: active (exited) since Thu 2019-07-11 21:24:43 CEST; 9h ago
>      Docs: man:systemd-sysv-generator(8)
>   Process: 1218 ExecStart=/etc/init.d/mythtv-backend start (code=exited, status=0/SUCCESS)
>
> Jul 11 21:24:49 VivoPC-D8 mythbackend[1676]: mythbackend[1676]: I CoreContext serverpool.cpp:415 (listen) Listening on TCP [::]:6554
> Jul 11 21:24:49 VivoPC-D8 mythbackend[1676]: mythbackend[1676]: I CoreContext serverpool.cpp:415 (listen) Listening on TCP 0.0.0.0:6549
> Jul 11 21:24:49 VivoPC-D8 mythbackend[1676]: mythbackend[1676]: I CoreContext serverpool.cpp:415 (listen) Listening on TCP [::]:6549
> Jul 11 21:24:52 VivoPC-D8 mythbackend[1676]: mythbackend[1676]: I Scheduler scheduler.cpp:2357 (HandleReschedule) Reschedule req…dulerInit
> Jul 11 21:24:53 VivoPC-D8 mythbackend[1676]: mythbackend[1676]: I Scheduler scheduler.cpp:2473 (HandleReschedule) Scheduled 0 it….01 place
> Jul 11 21:24:53 VivoPC-D8 mythbackend[1676]: mythbackend[1676]: I Scheduler scheduler.cpp:2540 (HandleRunSchedulerStartup) Sched…p by USER
> Jul 11 21:24:56 VivoPC-D8 mythbackend[1676]: mythbackend[1676]: I CoreContext main_helpers.cpp:698 (run_backend) Main::Registeri…Extension
> Jul 11 21:24:56 VivoPC-D8 mythbackend[1676]: mythbackend[1676]: E CoreContext serverpool.cpp:428 (listen) Failed listening on TC…dy in use
> Jul 11 21:24:56 VivoPC-D8 mythbackend[1676]: mythbackend[1676]: C CoreContext main_helpers.cpp:713 (run_backend) Backend exiting…on error.
> Jul 11 21:24:56 VivoPC-D8 mythbackend[1676]: mythbackend[1676]: I CoreContext bonjourregister.cpp:28 (~BonjourRegister) Bonjour:… '' on ''

Now after reboot the output is

systemctl -l status mythtv-backend
● mythtv-backend.service - LSB: Start/Stop the MythTV server.
   Loaded: loaded (/etc/init.d/mythtv-backend; generated)
   Active: active (running) since Fri 2019-07-12 07:28:45 CEST; 4min 1s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 1223 ExecStart=/etc/init.d/mythtv-backend start (code=exited, status=0/SUCCESS)
    Tasks: 22 (limit: 4915)
   Memory: 52.9M
   CGroup: /system.slice/mythtv-backend.service
           └─1657 /usr/bin/mythbackend --daemon --pidfile /var/run/mythtv/mythbackend.pid --syslog local6

Jul 12 07:29:55 VivoPC-D8 mythutil[2533]: mythutil[2533]: N CoreContext mythcorecontext.cpp:1780 (InitLocale) Setting QT default locale to en_PL
Jul 12 07:29:55 VivoPC-D8 mythutil[2533]: mythutil[2533]: I CoreContext mythcorecontext.cpp:1813 (SaveLocaleDefaults) Current locale en_PL
Jul 12 07:29:55 VivoPC-D8 mythutil[2533]: mythutil[2533]: E CoreContext mythlocale.cpp:110 (LoadDefaultsFromXML) No locale defaults file for en_PL, skipping
Jul 12 07:29:55 VivoPC-D8 mythutil[2533]: mythutil[2533]: E CoreContext musicmetadata.cpp:361 (updateStreamList) MusicMetadata: looks like we are already updating the radio streams list
Jul 12 07:29:56 VivoPC-D8 mythbackend[1657]: mythbackend[1657]: E HouseKeeping backendhousekeeper.cpp:509 (DoRun) Update Radio Streams command '/usr/bin/mythutil' failed
Jul 12 07:29:56 VivoPC-D8 mythbackend[1657]: mythbackend[1657]: I HouseKeeping housekeeper.cpp:156 (Run) HouseKeeperTask 'UpdateRadioStreams' Failed.
Jul 12 07:30:11 VivoPC-D8 mythbackend[1657]: mythbackend[1657]: N Expire autoexpire.cpp:261 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
Jul 12 07:32:42 VivoPC-D8 mythbackend[1657]: mythbackend[1657]: I TVRecEvent tv_rec.cpp:3680 (TuningFrequency) TVRec[13]: TuningFrequency
Jul 12 07:32:42 VivoPC-D8 mythbackend[1657]: mythbackend[1657]: I TVRecEvent recorders/hdhrstreamhandler.cpp:378 (Connect) HDHRSH[13](1231D9B7): Added 2 devices from 1231D9B7
Jul 12 07:32:42 VivoPC-D8 mythbackend[1657]: mythbackend[1657]: I TVRecEvent recorders/hdhrstreamhandler.cpp:396 (Connect) HDHRSH[13](1231D9B7): Connected to device(1231D9B7-0)


>
>
> Please note [::]:6554. The IP6 address the culprit of my problems?
>
>> Check that only one instance of the back-end is running at a given
>> time via ps -ef output information.
>
> ps -ef| grep mythtv
> mythtv    1219     1  3 Jul11 ?        00:22:21 /usr/bin/mythbackend --logpath /var/log/mythtv --loglevel crit
> root     21070 18102  0 07:09 pts/1    00:00:00 grep mythtv
>
>
>> Check that nothing else is using port 6544 via netstat -anp output information.
>
> netstat -anp | grep 6544
> unix  3      [ ]         STREAM     CONNECTED     36544    2192/dbus-daemon     
>
>
> The backend is not listening at 6444...
>
> netstat -anp 
> Active Internet connections (servers and established)
> ...
> tcp        0      0 0.0.0.0:6543            0.0.0.0:*               LISTEN      1219/mythbackend    
> ...
> tcp        0      0 192.168.0.181:45244     192.168.0.195:65001     ESTABLISHED 1219/mythbackend    
> ...
> tcp6       0      0 :::6543                 :::*                    LISTEN      1219/mythbackend    
> ...
>
> How to interpret this output?
>
>
>> Enable logging on the back-end and start looking through the logs
>> generated to see if the cause of the problem can be found there.
>
> Which loglevel do you suggest?
>
> Best regards
>
> Janusz

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


More information about the mythtv-users mailing list