[mythtv-users] mythbackend unresponsive and stop recording

Steven Adeff adeffs.mythtv at gmail.com
Fri Jul 6 15:22:36 UTC 2012


On Fri, Jul 6, 2012 at 10:56 AM, Jürgen Sachs <juergen-sachs at gmx.de> wrote:
> Hi,
>
> I am using myth from git trunk.
> Since a few weeks I have issues with mythbackend.
> When I enter watch recordings, after showing the spinning wheel a while no
> recordings are shown.
> if I exceute "mythbackend --printsched" at command line, i get:
> ---------------------
> 2012-07-06 16:49:39.662865 C  mythbackend version: master
> [v0.26-pre-764-g04a961e-dirty] www.mythtv.org
> 2012-07-06 16:49:39.662894 C  Qt version: compile: 4.7.4, runtime: 4.7.4
> 2012-07-06 16:49:39.662897 N  Enabled verbose msgs:  general
> 2012-07-06 16:49:39.662908 N  Setting Log Level to LOG_INFO
> 2012-07-06 16:49:39.670247 I  Added logging to the console
> 2012-07-06 16:49:39.671493 I  Setup Unterbrechung handler
> 2012-07-06 16:49:39.671721 I  Setup Beendet handler
> 2012-07-06 16:49:39.671736 I  Setup Speicherzugriffsfehler handler
> 2012-07-06 16:49:39.671798 I  Setup Abgebrochen handler
> 2012-07-06 16:49:39.671833 I  Setup Bus-Zugriffsfehler handler
> 2012-07-06 16:49:39.671845 I  Setup Gleitkomma-Ausnahme handler
> 2012-07-06 16:49:39.672249 I  Setup Ungültiger Maschinenbefehl handler
> 2012-07-06 16:49:39.698450 N  Using runtime prefix = /usr/local/mythtv
> 2012-07-06 16:49:39.698468 N  Using configuration directory = /root/.mythtv
> 2012-07-06 16:49:39.699439 I  Assumed character encoding: de_DE.UTF-8
> 2012-07-06 16:49:39.739819 N  Empty LocalHostName.
> 2012-07-06 16:49:39.739828 I  Using localhost value of linuxserver
> 2012-07-06 16:49:39.897356 I  Added logging to mythlogserver at TCP:35327
> 2012-07-06 16:49:39.977435 N  Setting QT default locale to de_DE
> 2012-07-06 16:49:39.977452 I  Current locale de_DE
> 2012-07-06 16:49:39.987432 N  Reading locale defaults from
> /usr/local/mythtv/share/mythtv//locales/de_de.xml
> Retrieving Schedule from Master backend.
> 2012-07-06 16:49:40.073258 I  New static DB connectionDataDirectCon
> 2012-07-06 16:49:40.075717 I  MythCoreContext: Connecting to backend server:
> 10.6.2.12:6543 (try 1 of 1)
> 2012-07-06 16:49:40.076348 I  Using protocol version 75
> 2012-07-06 16:50:10.078621 E  MythSocket(8a57d0:35): readStringList: Error,
> timed out after 30000 ms.
> 2012-07-06 16:50:10.078669 N  Connection to backend server lost
> 2012-07-06 16:50:10.079346 I  MythCoreContext: Connecting to backend server:
> 10.6.2.12:6543 (try 1 of 1)
> 2012-07-06 16:50:10.079620 I  Using protocol version 75
> 2012-07-06 16:50:40.080143 E  MythSocket(8a4320:35): readStringList: Error,
> timed out after 30000 ms.
> 2012-07-06 16:50:40.080193 C  Reconnection to backend server failed
> 2012-07-06 16:50:40.080213 A  LoadFromScheduler(): Error querying master.
> 2012-07-06 16:50:40.080263 I  --- print list start ---
> 2012-07-06 16:50:40.080268 I  Title - Subtitle                    Ch Station
> Day Start  End   S C I  T N Pri
> 2012-07-06 16:50:40.080272 I  ---  print list end  ---
> ---------------------
> If I try to watch tv, I get "All tuners are busy"
>
> A "/etc/init.d/mythbackend stop" does not stop mythbackend
> I could stop it using "killall mythbackend". Possibly I need to issue this
> command 3-4 times.
>
> "/etc/init.d/mythbackend start"
> will start mythbackend again and it will run for a while, usually less than
> a day.
>
> doing a "tail -fn100 /var/log/mythtv/mythbackend.20120703005025.464.log"
> (The only logfile in the log dir), only give me 3 days old logs....
>
> Any hints how to look at this ?
>
> Os is openSuse 12.1 but also happens on 11.3(or4)
>
> Thanks
> Juergen

this looks to be the scheduler locking issue and it looks like a
commit to fix it was just applied to trunk in git.


-- 
Steve
http://www.mythtv.org/wiki/User:Steveadeff
Before you ask, read the FAQ!
http://www.mythtv.org/wiki/Frequently_Asked_Questions
then search the Wiki, and this list,
http://www.gossamer-threads.com/lists/mythtv/
Mailinglist etiquette - http://www.mythtv.org/wiki/Mailing_List_etiquette


More information about the mythtv-users mailing list