<div dir="ltr">On Mon, Oct 20, 2008 at 5:02 PM, Michael T. Dean <span dir="ltr"><<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 10/20/2008 09:42 AM, Kevin Kuphal wrote:<br>
> Looks to me like your database crashed. You should really investigate<br>
> why the DB would suddenly disappear like this<br>
<br>
</div>OOM killer, perhaps?<br>
<br>
Mike<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</blockquote></div><br>I have 1.5 GB of memory. Would that make OOM killer unlikely?<br><br>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.<br>
<br>I looked again at the <b>mythbackend.log</b> file. There seemed to be more error messages there.<br><div style="margin-left: 40px;"><br>******************************<br>** Section with errors ****<br>*****************************<br>
8-10-20 18:29:29.719 [mpeg2video @ 0xb73a2a88]invalid cbp at 36 4<br>2008-10-20 18:29:29.722 [mpeg2video @ 0xb73a2a88]invalid cbp at 23 11<br>2008-10-20 18:29:29.723 [mpeg2video @ 0xb73a2a88]invalid cbp at 12 12<br>2008-10-20 18:29:29.728 [mpeg2video @ 0xb73a2a88]invalid mb type in P Frame at 14 14<br>
2008-10-20 18:29:29.729 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 4 15<br>2008-10-20 18:29:29.730 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 4 15<br>2008-10-20 18:29:29.731 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 30 17<br>
2008-10-20 18:29:29.732 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 22 18<br>2008-10-20 18:29:29.733 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 9 20<br>2008-10-20 18:29:29.734 [mpeg2video @ 0xb73a2a88]slice mismatch<br>2008-10-20 18:29:29.735 [mpeg2video @ 0xb73a2a88]invalid cbp at 39 21<br>
2008-10-20 18:29:29.736 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 21 25<br>2008-10-20 18:29:29.737 [mpeg2video @ 0xb73a2a88]invalid cbp at 2 24<br>2008-10-20 18:29:29.738 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 14 25<br>
2008-10-20 18:29:29.739 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 7 26<br>2008-10-20 18:29:29.748 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 1 27<br>2008-10-20 18:29:29.749 [mpeg2video @ 0xb73a2a88]ac-tex damaged at 15 29<br>
2008-10-20 18:29:29.828 [mpeg2video @ 0xb73a2a88]slice mismatch<br>2008-10-20 18:29:29.832 [mpeg2video @ 0xb73a2a88]slice mismatch<br>Segmentation fault<br>2008-10-20 18:29:30.854 Using runtime prefix = /usr<br>2008-10-20 18:29:30.857 Empty LocalHostName.<br>
2008-10-20 18:29:30.859 Using localhost value of Mythbuntu<br>2008-10-20 18:29:31.586 Cannot find default UPnP backend<br>2008-10-20 18:29:31.601 New DB connection, total: 1<br>2008-10-20 18:29:31.640 Connected to database 'mythconverg' at host: <a href="http://192.168.0.120">192.168.0.120</a><br>
2008-10-20 18:29:31.648 Closing DB connection named 'DBManager0'<br>2008-10-20 18:29:31.649 Deleting UPnP client...<br>2008-10-20 18:29:32.147 Connected to database 'mythconverg' at host: <a href="http://192.168.0.120">192.168.0.120</a><br>
2008-10-20 18:29:32.152 New DB connection, total: 2<br>2008-10-20 18:29:32.167 Connected to database 'mythconverg' at host: <a href="http://192.168.0.120">192.168.0.120</a><br>2008-10-20 18:29:32.175 Current Schema Version: 1214<br>
2008-10-20 18:29:32.337 AFD: Opened codec 0x82a9920, id(MPEG2VIDEO) type(Video)<br>2008-10-20 18:29:32.341 AFD: codec AC3 has 2 channels<br>2008-10-20 18:29:32.351 AFD: Opened codec 0x82a9f10, id(AC3) type(Audio)<br>2008-10-20 18:29:32.525 Preview: Grabbed preview '/home/mythtv/Default/2583_20081020180000.mpg' 704x480@180s<br>
2008-10-20 18:30:00.824 TVRec(8): Changing from RecordingOnly to None<br>****************************<br>**** Another section *****<br>****************************<br>2008-10-20 19:00:26.845 Connecting to backend server: <a href="http://192.168.0.120:6543">192.168.0.120:6543</a> (try 1 of 5)<br>
2008-10-20 19:00:26.849 Using protocol version 40<br>2008-10-20 19:00:26.850 MainServer::HandleAnnounce Monitor<br>2008-10-20 19:00:26.851 adding: Mythbuntu as a client (events: 0)<br>2008-10-20 19:00:26.853 MainServer::HandleAnnounce Monitor<br>
2008-10-20 19:00:26.854 adding: Mythbuntu as a client (events: 1)<br>2008-10-20 19:00:56.863 MythSocket(81ee608:9): readStringList: Error, timeout.<br>2008-10-20 19:00:56.880 Connection to backend server lost<br>2008-10-20 19:00:56.893 Connecting to backend server: <a href="http://192.168.0.120:6543">192.168.0.120:6543</a> (try 1 of 5)<br>
2008-10-20 19:00:56.895 Using protocol version 40<br>2008-10-20 19:00:56.896 MainServer::HandleAnnounce Monitor<br>2008-10-20 19:00:56.900 adding: Mythbuntu as a client (events: 0)<br>2008-10-20 19:00:56.901 MythSocket(81ee608:9): writeStringList: Error, invalid string list.<br>
2008-10-20 19:01:26.907 MythSocket(81ee608:9): readStringList: Error, timeout.<br>2008-10-20 19:01:26.927 Reconnection to backend server failed<br>2008-10-20 19:01:26.934 Unable to find active recorder for this recording, realtime flagging will not be enabled.<br>
2008-10-20 19:01:26.952 Connecting to backend server: <a href="http://192.168.0.120:6543">192.168.0.120:6543</a> (try 1 of 5)<br>2008-10-20 19:01:26.955 Using protocol version 40<br>2008-10-20 19:01:26.972 MainServer::HandleAnnounce Monitor<br>
2008-10-20 19:01:26.976 adding: Mythbuntu as a client (events: 0)<br>2008-10-20 19:01:27.127 AFD: Opened codec 0x820b1c0, id(MPEG2VIDEO) type(Video)<br>2008-10-20 19:01:27.134 AFD: codec AC3 has 2 channels<br>2008-10-20 19:01:27.136 AFD: Opened codec 0x820b7b0, id(AC3) type(Audio)<br>
2008-10-20 19:03:58.195 MainServer::HandleAnnounce Monitor<br>2008-10-20 19:03:58.202 adding: Mythbuntu as a client (events: 0)<br>2008-10-20 19:03:59.370 MainServer::HandleAnnounce Monitor<br>2008-10-20 19:03:59.381 adding: Mythbuntu as a client (events: 0)<br>
2008-10-20 19:04:02.451 MainServer::HandleAnnounce Monitor<br>2008-10-20 19:04:02.465 adding: Mythbuntu as a client (events: 0)<br>2008-10-20 19:04:22.939 Waiting for a process request thread..<br>2008-10-20 19:04:22.965 Adding a new process request thread<br>
2008-10-20 19:04:22.968 MainServer::HandleAnnounce Monitor<br>2008-10-20 19:04:22.972 adding: Mythbuntu as a client (events: 0)<br>CC length(27) seq_num(2) 0x8e 0x38 0x8c 0xfc 0x99 0x18 0x0 0x0 0xe 0x1f 0x12 0x90 0x5 0x1 0x91 0x2a 0x0 0x0 <br>
2008-10-20 19:08:56.985 [ac3 @ 0xb738fa88]frame CRC mismatch<br>2008-10-20 19:08:59.648 [ac3 @ 0xb738fa88]frame CRC mismatch<br>2008-10-20 19:09:30.618 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min<br>
2008-10-20 19:12:55.601 [ac3 @ 0xb738fa88]frame CRC mismatch<br>*******************************<br></div><br>Based on Kevin's comment and my suspicion of a database corruption, I ran mysqlcheck and it looked like the database is OK.<br>
<br>mysqlcheck -u mythtv -<mypassword> --repair mythconverg<br><br>mythconverg.archiveitems OK<br>mythconverg.callsignnetworkmap OK<br>mythconverg.capturecard OK<br>
mythconverg.cardinput OK<br>mythconverg.channel OK<br>mythconverg.codecparams OK<br>mythconverg.credits OK<br>
mythconverg.customexample OK<br>mythconverg.diseqc_config OK<br>mythconverg.diseqc_tree OK<br>mythconverg.displayprofilegroups OK<br>
mythconverg.displayprofiles OK<br>mythconverg.dtv_multiplex OK<br>mythconverg.dtv_privatetypes OK<br>mythconverg.dvdbookmark OK<br>
mythconverg.dvdinput OK<br>mythconverg.dvdtranscode OK<br>mythconverg.eit_cache OK<br>mythconverg.favorites OK<br>
mythconverg.filemarkup OK<br>mythconverg.gallerymetadata OK<br>mythconverg.gamemetadata OK<br>mythconverg.gameplayers OK<br>
mythconverg.housekeeping OK<br>mythconverg.inputgroup OK<br>mythconverg.inuseprograms OK<br>mythconverg.jobqueue OK<br>
mythconverg.jumppoints OK<br>mythconverg.keybindings OK<br>mythconverg.keyword OK<br>mythconverg.movies_movies OK<br>
mythconverg.movies_showtimes OK<br>mythconverg.movies_theaters OK<br>mythconverg.music_albumart OK<br>mythconverg.music_albums OK<br>
mythconverg.music_artists OK<br>mythconverg.music_directories OK<br>mythconverg.music_genres OK<br>mythconverg.music_playlists OK<br>
mythconverg.music_smartplaylist_categories OK<br>mythconverg.music_smartplaylist_items OK<br>mythconverg.music_smartplaylists OK<br>mythconverg.music_songs OK<br>
mythconverg.music_stats OK<br>mythconverg.musicmetadata OK<br>mythconverg.musicplaylist OK<br>mythconverg.mythlog OK<br>
mythconverg.mythweb_sessions OK<br>mythconverg.networkiconmap OK<br>mythconverg.newssites OK<br>mythconverg.oldfind OK<br>
mythconverg.oldprogram OK<br>mythconverg.oldrecorded OK<br>mythconverg.people OK<br>mythconverg.phonecallhistory OK<br>
mythconverg.phonedirectory OK<br>mythconverg.pidcache OK<br>mythconverg.playgroup OK<br>mythconverg.powerpriority OK<br>
mythconverg.profilegroups OK<br>mythconverg.program OK<br>mythconverg.programgenres OK<br>mythconverg.programrating OK<br>
mythconverg.recgrouppassword OK<br>mythconverg.record OK<br>mythconverg.recorded OK<br>mythconverg.recordedcredits OK<br>
mythconverg.recordedfile OK<br>mythconverg.recordedmarkup OK<br>mythconverg.recordedprogram OK<br>mythconverg.recordedrating OK<br>
mythconverg.recordedseek OK<br>mythconverg.recordingprofiles OK<br>mythconverg.recordmatch OK<br>mythconverg.romdb OK<br>
mythconverg.schemalock OK<br>mythconverg.settings OK<br>mythconverg.storagegroup OK<br>mythconverg.streams OK<br>
mythconverg.tvchain OK<br>mythconverg.upnpmedia OK<br>mythconverg.videocast OK<br>mythconverg.videocategory OK<br>
mythconverg.videocountry OK<br>mythconverg.videogenre OK<br>mythconverg.videometadata OK<br>mythconverg.videometadatacast OK<br>
mythconverg.videometadatacountry OK<br>mythconverg.videometadatagenre OK<br>mythconverg.videosource OK<br>mythconverg.videotypes OK<br>
mythconverg.weatherdatalayout<br>note : The storage engine for the table doesn't support repair<br>mythconverg.weatherscreens<br>note : The storage engine for the table doesn't support repair<br>mythconverg.weathersourcesettings<br>
note : The storage engine for the table doesn't support repair<br>mythconverg.websites OK<br><br>I am desparate for help. Thanks in advance.<br>Greg<br></div>