[mythtv-users] empty records

Klaus Becker colonius at free.fr
Sun Dec 23 10:01:19 UTC 2018



Le 21/12/2018 à 23:59, Bill Meek a écrit :
> On 12/21/18 3:50 PM, Klaus Becker wrote:
>>
>> I have no mythtv logs in /var/log. I suppose they should be there, but 
>> they are not.
> 
> Check how the backend is started. The type of logging (even none) is 
> optional.
> mythbackend --help will tell you what's available (-q, --syslog, 
> --systemd-journal,
> --logpath) once you find the backend's command line, you can figure out 
> where the
> logs live.


I did:

# mkdir /var/log/mythbackend/
$ mythbackend --logpath /var/log/mythbackend/

and now I have a logfile in this directory..

This night, I wanted to record 3 episodes on the same channel (RTL2). 
Each episode is just after the preceding episode.

The 1rst one is quite small (less than 20 min insteadof nearly 2 hours), 
the 2 following episodes are displayed by the frontend, but the size of 
the recorded file is 0 and frontend tells me that the episode is not 
available.

I can watch RTL2.

While recording the 1rst episode, I saw a message on the screen. I had 
not the time to read it, I just saw that mythtv told me that something 
was too much or to big.

Here is the logfile from this morning:



2018-12-22 17:19:23.238212 C [8138/8138] thread_unknown 
mythcommandlineparser.cpp:2619 (ConfigureLogging) - mythbackend version: 
  [v29.1] www.mythtv.org
2018-12-22 17:19:23.238239 C [8138/8138] thread_unknown 
mythcommandlineparser.cpp:2621 (ConfigureLogging) - Qt version: compile: 
5.11.2, runtime: 5.11.2
2018-12-22 17:19:23.238241 N [8138/8138] thread_unknown 
mythcommandlineparser.cpp:2623 (ConfigureLogging) - Enabled verbose 
msgs:  general
2018-12-22 17:19:23.238306 N [8138/8138] thread_unknown logging.cpp:927 
(logStart) - Setting Log Level to LOG_INFO
2018-12-22 17:19:23.249599 I [8138/8142] Logger logging.cpp:313 (run) - 
Added logging to the console
2018-12-22 17:19:23.250671 I [8138/8138] thread_unknown 
signalhandling.cpp:194 (SetHandlerPrivate) - Setup Interrompre handler
2018-12-22 17:19:23.250693 I [8138/8138] thread_unknown 
signalhandling.cpp:194 (SetHandlerPrivate) - Setup Complété handler
2018-12-22 17:19:23.250720 I [8138/8138] thread_unknown 
signalhandling.cpp:194 (SetHandlerPrivate) - Setup Erreur de 
segmentation handler
2018-12-22 17:19:23.250743 I [8138/8138] thread_unknown 
signalhandling.cpp:194 (SetHandlerPrivate) - Setup Abandon handler
2018-12-22 17:19:23.250757 I [8138/8138] thread_unknown 
signalhandling.cpp:194 (SetHandlerPrivate) - Setup Erreur du bus handler
2018-12-22 17:19:23.250779 I [8138/8138] thread_unknown 
signalhandling.cpp:194 (SetHandlerPrivate) - Setup Exception en point 
flottant handler
2018-12-22 17:19:23.250795 I [8138/8138] thread_unknown 
signalhandling.cpp:194 (SetHandlerPrivate) - Setup Instruction non 
permise handler
2018-12-22 17:19:23.250839 I [8138/8138] thread_unknown 
signalhandling.cpp:194 (SetHandlerPrivate) - Setup Signal de temps-Réel 
0 handler
2018-12-22 17:19:23.250865 I [8138/8138] thread_unknown 
signalhandling.cpp:194 (SetHandlerPrivate) - Setup Fin de la connexion 
(raccroché) handler
2018-12-22 17:19:23.251101 N [8138/8138] thread_unknown mythdirs.cpp:195 
(InitializeMythDirs) - Using runtime prefix = /usr
2018-12-22 17:19:23.251108 N [8138/8138] thread_unknown mythdirs.cpp:197 
(InitializeMythDirs) - Using configuration directory = /root/.mythtv
2018-12-22 17:19:23.251280 I [8138/8138] CoreContext 
mythcorecontext.cpp:271 (Init) - Assumed character encoding: fr_FR.UTF-8
2018-12-22 17:19:23.251940 N [8138/8138] CoreContext mythcontext.cpp:599 
(LoadDatabaseSettings) - Empty LocalHostName.
2018-12-22 17:19:23.251953 I [8138/8138] CoreContext mythcontext.cpp:607 
(LoadDatabaseSettings) - Using localhost value of 1stein
2018-12-22 17:19:23.252041 I [8138/8138] CoreContext mythcontext.cpp:852 
(TestDBconnection) - Start up testing connections. DB 127.0.0.1, BE , 
attempt 0, status dbAwake
2018-12-22 17:19:23.350571 I [8138/8141] LogForward 
loggingserver.cpp:146 (FileLogger) - Added logging to 
/var/log/mythbackend/mythbackend.20181222161923.8138.log
2018-12-22 17:19:23.774076 N [8138/8138] CoreContext 
mythcorecontext.cpp:1768 (InitLocale) - Setting QT default locale to fr_FR
2018-12-22 17:19:23.774086 I [8138/8138] CoreContext 
mythcorecontext.cpp:1801 (SaveLocaleDefaults) - Current locale fr_FR
2018-12-22 17:19:23.774129 N [8138/8138] CoreContext mythlocale.cpp:123 
(LoadDefaultsFromXML) - Reading locale defaults from 
/usr/share/mythtv//locales/fr_fr.xml
2018-12-22 17:19:23.777514 I [8138/8138] CoreContext 
mythtranslation.cpp:73 (load) - Loading fr translation for module 
mythfrontend
2018-12-22 17:19:23.778878 I [8138/8138] CoreContext 
schemawizard.cpp:120 (Compare) - Current MythTV Schema Version 
(DBSchemaVer): 1348
2018-12-22 17:19:23.779061 I [8138/8138] CoreContext 
mythtranslation.cpp:73 (load) - Loading fr translation for module 
mythfrontend
2018-12-22 17:19:23.779382 N [8138/8138] CoreContext 
main_helpers.cpp:597 (run_backend) - MythBackend: Starting up as the 
master server.
2018-12-22 17:19:27.091802 I [8138/8138] CoreContext 
programinfo.cpp:2382 (CheckProgramIDAuthorities) - Found 0 distinct 
programid authorities
2018-12-22 17:19:27.092221 I [8138/8145] Scheduler mythdbcon.cpp:462 
(getStaticCon) - New static DB connectionSchedCon
2018-12-22 17:19:27.093435 I [8138/8138] CoreContext housekeeper.cpp:633 
(RegisterTask) - Registering HouseKeeperTask 'LogClean'.
2018-12-22 17:19:27.093561 I [8138/8138] CoreContext housekeeper.cpp:633 
(RegisterTask) - Registering HouseKeeperTask 'DBCleanup'.
2018-12-22 17:19:27.093665 I [8138/8138] CoreContext housekeeper.cpp:633 
(RegisterTask) - Registering HouseKeeperTask 'ThemeUpdateNotifications'.
2018-12-22 17:19:27.093780 I [8138/8138] CoreContext housekeeper.cpp:633 
(RegisterTask) - Registering HouseKeeperTask 'RecordedArtworkUpdate'.
2018-12-22 17:19:27.095465 I [8138/8138] CoreContext housekeeper.cpp:633 
(RegisterTask) - Registering HouseKeeperTask 'MythFillDB'.
2018-12-22 17:19:27.096123 I [8138/8138] CoreContext housekeeper.cpp:633 
(RegisterTask) - Registering HouseKeeperTask 'JobQueueRecover'.
2018-12-22 17:19:27.096202 I [8138/8138] CoreContext housekeeper.cpp:633 
(RegisterTask) - Registering HouseKeeperTask 'HardwareProfiler'.
2018-12-22 17:19:27.097769 I [8138/8138] CoreContext housekeeper.cpp:699 
(Start) - Queueing HouseKeeperTask 'ThemeUpdateNotifications'.
2018-12-22 17:19:27.097777 I [8138/8138] CoreContext housekeeper.cpp:706 
(Start) - Starting HouseKeeper.
2018-12-22 17:19:27.102117 E [8138/8138] CoreContext serverpool.cpp:435 
(listen) - Failed listening on TCP 0.0.0.0:6544 - Error 8: The bound 
address is already in use
2018-12-22 17:19:27.102145 E [8138/8138] CoreContext mediaserver.cpp:90 
(Init) - MediaServer: HttpServer Create Error
2018-12-22 17:19:27.102647 E [8138/8138] CoreContext serverpool.cpp:435 
(listen) - Failed listening on TCP 0.0.0.0:6543 - Error 8: The bound 
address is already in use
2018-12-22 17:19:27.102659 C [8138/8138] CoreContext 
main_helpers.cpp:700 (run_backend) - Backend exiting, MainServer 
initialization error.



I see:

~$ grep -i error /var/log/mythbackend/mythbackend.20181222161923.8138.log
2018-12-22 17:19:27.102117 E [8138/8138] CoreContext serverpool.cpp:435 
(listen) - Failed listening on TCP 0.0.0.0:6544 - Error 8: The bound 
address is already in use
2018-12-22 17:19:27.102145 E [8138/8138] CoreContext mediaserver.cpp:90 
(Init) - MediaServer: HttpServer Create Error
2018-12-22 17:19:27.102647 E [8138/8138] CoreContext serverpool.cpp:435 
(listen) - Failed listening on TCP 0.0.0.0:6543 - Error 8: The bound 
address is already in use
2018-12-22 17:19:27.102659 C [8138/8138] CoreContext 
main_helpers.cpp:700 (run_backend) - Backend exiting, MainServer 
initialization error.

$ grep -i fail /var/log/mythbackend/mythbackend.20181222161923.8138.log
2018-12-22 17:19:27.102117 E [8138/8138] CoreContext serverpool.cpp:435 
(listen) - Failed listening on TCP 0.0.0.0:6544 - Error 8: The bound 
address is already in use
2018-12-22 17:19:27.102647 E [8138/8138] CoreContext serverpool.cpp:435 
(listen) - Failed listening on TCP 0.0.0.0:6543 - Error 8: The bound 
address is already in use


I do not really understand whet that means.

nice sunday

Klaus




More information about the mythtv-users mailing list