[mythtv-users] "Unable to connect to mythbackend, is it running?" and other error messages

Greg Hermsen g.hermy15 at gmail.com
Tue Oct 21 00:41:27 UTC 2008


On Mon, Oct 20, 2008 at 5:02 PM, Michael T. Dean <mtdean at thirdcontact.com>wrote:

> On 10/20/2008 09:42 AM, Kevin Kuphal wrote:
> > Looks to me like your database crashed.  You should really investigate
> > why the DB would suddenly disappear like this
>
> OOM killer, perhaps?
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

I have 1.5 GB of memory.  Would that make OOM killer unlikely?

About an hour ago, I tried looking at the recorded program's list.  The
system froze for about 1.5 minutes then I got a message that it "Unable to
connect to mythbackend, is it running?"  I currently have only one machine,
a combined BE/FE.

I looked again at the *mythbackend.log* file.  There seemed to be more error
messages there.

******************************
** Section with errors ****
*****************************
8-10-20 18:29:29.719 [mpeg2video @ 0xb73a2a88]invalid cbp at 36 4
2008-10-20 18:29:29.722 [mpeg2video @ 0xb73a2a88]invalid cbp at 23 11
2008-10-20 18:29:29.723 [mpeg2video @ 0xb73a2a88]invalid cbp at 12 12
2008-10-20 18:29:29.728 [mpeg2video @ 0xb73a2a88]invalid mb type in P Frame
at 14 14
2008-10-20 18:29:29.729 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 4 15
2008-10-20 18:29:29.730 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 4 15
2008-10-20 18:29:29.731 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 30 17
2008-10-20 18:29:29.732 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 22 18
2008-10-20 18:29:29.733 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 9 20
2008-10-20 18:29:29.734 [mpeg2video @ 0xb73a2a88]slice mismatch
2008-10-20 18:29:29.735 [mpeg2video @ 0xb73a2a88]invalid cbp at 39 21
2008-10-20 18:29:29.736 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 21 25
2008-10-20 18:29:29.737 [mpeg2video @ 0xb73a2a88]invalid cbp at 2 24
2008-10-20 18:29:29.738 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 14 25
2008-10-20 18:29:29.739 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 7 26
2008-10-20 18:29:29.748 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 1 27
2008-10-20 18:29:29.749 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 15 29
2008-10-20 18:29:29.828 [mpeg2video @ 0xb73a2a88]slice mismatch
2008-10-20 18:29:29.832 [mpeg2video @ 0xb73a2a88]slice mismatch
Segmentation fault
2008-10-20 18:29:30.854 Using runtime prefix = /usr
2008-10-20 18:29:30.857 Empty LocalHostName.
2008-10-20 18:29:30.859 Using localhost value of Mythbuntu
2008-10-20 18:29:31.586 Cannot find default UPnP backend
2008-10-20 18:29:31.601 New DB connection, total: 1
2008-10-20 18:29:31.640 Connected to database 'mythconverg' at host:
192.168.0.120
2008-10-20 18:29:31.648 Closing DB connection named 'DBManager0'
2008-10-20 18:29:31.649 Deleting UPnP client...
2008-10-20 18:29:32.147 Connected to database 'mythconverg' at host:
192.168.0.120
2008-10-20 18:29:32.152 New DB connection, total: 2
2008-10-20 18:29:32.167 Connected to database 'mythconverg' at host:
192.168.0.120
2008-10-20 18:29:32.175 Current Schema Version: 1214
2008-10-20 18:29:32.337 AFD: Opened codec 0x82a9920, id(MPEG2VIDEO)
type(Video)
2008-10-20 18:29:32.341 AFD: codec AC3 has 2 channels
2008-10-20 18:29:32.351 AFD: Opened codec 0x82a9f10, id(AC3) type(Audio)
2008-10-20 18:29:32.525 Preview: Grabbed preview
'/home/mythtv/Default/2583_20081020180000.mpg' 704x480 at 180s
2008-10-20 18:30:00.824 TVRec(8): Changing from RecordingOnly to None
****************************
**** Another section *****
****************************
2008-10-20 19:00:26.845 Connecting to backend server:
192.168.0.120:6543(try 1 of 5)
2008-10-20 19:00:26.849 Using protocol version 40
2008-10-20 19:00:26.850 MainServer::HandleAnnounce Monitor
2008-10-20 19:00:26.851 adding: Mythbuntu as a client (events: 0)
2008-10-20 19:00:26.853 MainServer::HandleAnnounce Monitor
2008-10-20 19:00:26.854 adding: Mythbuntu as a client (events: 1)
2008-10-20 19:00:56.863 MythSocket(81ee608:9): readStringList: Error,
timeout.
2008-10-20 19:00:56.880 Connection to backend server lost
2008-10-20 19:00:56.893 Connecting to backend server:
192.168.0.120:6543(try 1 of 5)
2008-10-20 19:00:56.895 Using protocol version 40
2008-10-20 19:00:56.896 MainServer::HandleAnnounce Monitor
2008-10-20 19:00:56.900 adding: Mythbuntu as a client (events: 0)
2008-10-20 19:00:56.901 MythSocket(81ee608:9): writeStringList: Error,
invalid string list.
2008-10-20 19:01:26.907 MythSocket(81ee608:9): readStringList: Error,
timeout.
2008-10-20 19:01:26.927 Reconnection to backend server failed
2008-10-20 19:01:26.934 Unable to find active recorder for this recording,
realtime flagging will not be enabled.
2008-10-20 19:01:26.952 Connecting to backend server:
192.168.0.120:6543(try 1 of 5)
2008-10-20 19:01:26.955 Using protocol version 40
2008-10-20 19:01:26.972 MainServer::HandleAnnounce Monitor
2008-10-20 19:01:26.976 adding: Mythbuntu as a client (events: 0)
2008-10-20 19:01:27.127 AFD: Opened codec 0x820b1c0, id(MPEG2VIDEO)
type(Video)
2008-10-20 19:01:27.134 AFD: codec AC3 has 2 channels
2008-10-20 19:01:27.136 AFD: Opened codec 0x820b7b0, id(AC3) type(Audio)
2008-10-20 19:03:58.195 MainServer::HandleAnnounce Monitor
2008-10-20 19:03:58.202 adding: Mythbuntu as a client (events: 0)
2008-10-20 19:03:59.370 MainServer::HandleAnnounce Monitor
2008-10-20 19:03:59.381 adding: Mythbuntu as a client (events: 0)
2008-10-20 19:04:02.451 MainServer::HandleAnnounce Monitor
2008-10-20 19:04:02.465 adding: Mythbuntu as a client (events: 0)
2008-10-20 19:04:22.939 Waiting for a process request thread..
2008-10-20 19:04:22.965 Adding a new process request thread
2008-10-20 19:04:22.968 MainServer::HandleAnnounce Monitor
2008-10-20 19:04:22.972 adding: Mythbuntu as a client (events: 0)
CC length(27) seq_num(2) 0x8e 0x38 0x8c 0xfc 0x99 0x18 0x0 0x0 0xe 0x1f 0x12
0x90 0x5 0x1 0x91 0x2a 0x0 0x0
2008-10-20 19:08:56.985 [ac3 @ 0xb738fa88]frame CRC mismatch
2008-10-20 19:08:59.648 [ac3 @ 0xb738fa88]frame CRC mismatch
2008-10-20 19:09:30.618 AutoExpire: CalcParams(): Max required Free Space:
3.0 GB w/freq: 15 min
2008-10-20 19:12:55.601 [ac3 @ 0xb738fa88]frame CRC mismatch
*******************************

Based on Kevin's comment and my suspicion of a database corruption, I ran
mysqlcheck and it looked like the database is OK.

mysqlcheck -u mythtv -<mypassword> --repair mythconverg

mythconverg.archiveitems                           OK
mythconverg.callsignnetworkmap                     OK
mythconverg.capturecard                            OK
mythconverg.cardinput                              OK
mythconverg.channel                                OK
mythconverg.codecparams                            OK
mythconverg.credits                                OK
mythconverg.customexample                          OK
mythconverg.diseqc_config                          OK
mythconverg.diseqc_tree                            OK
mythconverg.displayprofilegroups                   OK
mythconverg.displayprofiles                        OK
mythconverg.dtv_multiplex                          OK
mythconverg.dtv_privatetypes                       OK
mythconverg.dvdbookmark                            OK
mythconverg.dvdinput                               OK
mythconverg.dvdtranscode                           OK
mythconverg.eit_cache                              OK
mythconverg.favorites                              OK
mythconverg.filemarkup                             OK
mythconverg.gallerymetadata                        OK
mythconverg.gamemetadata                           OK
mythconverg.gameplayers                            OK
mythconverg.housekeeping                           OK
mythconverg.inputgroup                             OK
mythconverg.inuseprograms                          OK
mythconverg.jobqueue                               OK
mythconverg.jumppoints                             OK
mythconverg.keybindings                            OK
mythconverg.keyword                                OK
mythconverg.movies_movies                          OK
mythconverg.movies_showtimes                       OK
mythconverg.movies_theaters                        OK
mythconverg.music_albumart                         OK
mythconverg.music_albums                           OK
mythconverg.music_artists                          OK
mythconverg.music_directories                      OK
mythconverg.music_genres                           OK
mythconverg.music_playlists                        OK
mythconverg.music_smartplaylist_categories         OK
mythconverg.music_smartplaylist_items              OK
mythconverg.music_smartplaylists                   OK
mythconverg.music_songs                            OK
mythconverg.music_stats                            OK
mythconverg.musicmetadata                          OK
mythconverg.musicplaylist                          OK
mythconverg.mythlog                                OK
mythconverg.mythweb_sessions                       OK
mythconverg.networkiconmap                         OK
mythconverg.newssites                              OK
mythconverg.oldfind                                OK
mythconverg.oldprogram                             OK
mythconverg.oldrecorded                            OK
mythconverg.people                                 OK
mythconverg.phonecallhistory                       OK
mythconverg.phonedirectory                         OK
mythconverg.pidcache                               OK
mythconverg.playgroup                              OK
mythconverg.powerpriority                          OK
mythconverg.profilegroups                          OK
mythconverg.program                                OK
mythconverg.programgenres                          OK
mythconverg.programrating                          OK
mythconverg.recgrouppassword                       OK
mythconverg.record                                 OK
mythconverg.recorded                               OK
mythconverg.recordedcredits                        OK
mythconverg.recordedfile                           OK
mythconverg.recordedmarkup                         OK
mythconverg.recordedprogram                        OK
mythconverg.recordedrating                         OK
mythconverg.recordedseek                           OK
mythconverg.recordingprofiles                      OK
mythconverg.recordmatch                            OK
mythconverg.romdb                                  OK
mythconverg.schemalock                             OK
mythconverg.settings                               OK
mythconverg.storagegroup                           OK
mythconverg.streams                                OK
mythconverg.tvchain                                OK
mythconverg.upnpmedia                              OK
mythconverg.videocast                              OK
mythconverg.videocategory                          OK
mythconverg.videocountry                           OK
mythconverg.videogenre                             OK
mythconverg.videometadata                          OK
mythconverg.videometadatacast                      OK
mythconverg.videometadatacountry                   OK
mythconverg.videometadatagenre                     OK
mythconverg.videosource                            OK
mythconverg.videotypes                             OK
mythconverg.weatherdatalayout
note     : The storage engine for the table doesn't support repair
mythconverg.weatherscreens
note     : The storage engine for the table doesn't support repair
mythconverg.weathersourcesettings
note     : The storage engine for the table doesn't support repair
mythconverg.websites                               OK

I am desparate for help.  Thanks in advance.
Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20081020/cb8397cb/attachment.htm 


More information about the mythtv-users mailing list