LinHES Forums http://forums.linhes.org/ |
|
R57B MythWeb click on "Recorded Programs" crashing http://forums.linhes.org/viewtopic.php?f=17&t=9703 |
Page 1 of 1 |
Author: | vtdstein95 [ Wed Apr 19, 2006 6:44 pm ] |
Post subject: | R57B MythWeb click on "Recorded Programs" crashing |
Just started having a problem with MythWeb it is only when I click on "Recoded Programs", no where else. Viewing recorded programs on the actual TV connected to the box works just fine as do all other MythWeb functions. When I click on "Recorded Programs" the browser spins for quite a while (on my system it has always taken a while to generate this page, all others are very snappy) and then I get the following: Quote: Error at /usr/share/mythtv/mythweb/includes/mythbackend.php, line 109: fsockopen(): unable to connect to 192.168.10.60:6543 Details: datetime: 2006-04-19 19:11:57 (EDT) errornum: 2 error type: Warning error string: fsockopen(): unable to connect to 192.168.10.60:6543 filename: /usr/share/mythtv/mythweb/includes/mythbackend.php error line: 109 Error at /usr/share/mythtv/mythweb/includes/mythbackend.php, line 109: fsockopen(): unable to connect to 192.168.10.60:6543 Details: datetime: 2006-04-19 19:11:57 (EDT) errornum: 2 error type: Warning error string: fsockopen(): unable to connect to 192.168.10.60:6543 filename: /usr/share/mythtv/mythweb/includes/mythbackend.php error line: 109 Followed by the list of recordings. At this point the mythtv-backend is no longer running. Looking in /var/log/mythtv/mythbackend.log I see the following: Quote: 2006-04-19 19:11:57.530 GetNextFreeFrame() unable to lock frame 100 times. Disc$ [mpeg2video @ 0xb72f8620]get_buffer() failed (stride changed) 2006-04-19 19:11:57.537 AFD Error: Unknown decoding error [mpeg2video @ 0xb72f8620]get_buffer() failed (stride changed) 2006-04-19 19:11:57.569 AFD Error: Unknown decoding error [mpeg2video @ 0xb72f8620]get_buffer() failed (stride changed) 2006-04-19 19:11:57.577 AFD Error: Unknown decoding error [mpeg2video @ 0xb72f8620]get_buffer() failed (stride changed) 2006-04-19 19:23:09.098 Using runtime prefix = /usr 2006-04-19 19:23:09.121 New DB connection, total: 1 2006-04-19 19:23:09.139 Connected to database 'mythconverg' at host: localhost 2006-04-19 19:23:09.145 Current Schema Version: 1123 Starting up as the master server. 2006-04-19 19:23:09.240 New DB connection, total: 2 2006-04-19 19:23:09.254 Connected to database 'mythconverg' at host: localhost 2006-04-19 19:23:09.285 DVB#0 Using DVB card 0, with frontend 'Broadcom BCM3510$ 2006-04-19 19:23:09.289 New DB connection, total: 3 2006-04-19 19:23:09.292 Connected to database 'mythconverg' at host: localhost 2006-04-19 19:23:09.302 New DB scheduler connection 2006-04-19 19:23:09.305 Connected to database 'mythconverg' at host: localhost 2006-04-19 19:23:09.315 mythbackend version: 0.19.20060121-2 www.mythtv.org 2006-04-19 19:23:09.318 Enabled verbose msgs: important general 2006-04-19 19:23:09.320 AutoExpire: Found 1 recorders w/max rate of 138 MiB/min 2006-04-19 19:23:09.329 AutoExpire: Required Free Space: 3.0 GB w/freq: 10 min 2006-04-19 19:23:11.315 Reschedule requested for id -1. 2006-04-19 19:23:11.467 Scheduled 96 items in 0.2 = 0.05 match + 0.11 place 2006-04-19 19:23:11.473 Recording starts soon, AUTO-Startup assumed 2006-04-19 19:23:19.243 Running HouseKeeping 2006-04-19 19:24:29.348 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1014_20060417171957.mpg. File doesn't exist. Database metadata will not be removed. 2006-04-19 19:26:29.382 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1014_20060417171957.mpg. File doesn't exist. Database metadata will not be removed. 2006-04-19 19:28:19.261 Running HouseKeeping 2006-04-19 19:28:29.419 AutoExpire: ERROR when trying to autoexpire file: /myth/tv/1014_20060417171957.mpg. File doesn't exist. Database metadata will not be removed. It was between 19:11 and 19:23 that I clicked on "Recorded Progams", so no clue at that time. Of course 19:23 was when I started the backend up again. Looking at /var/log/mysql/mysql.log Quote: 060419 19:11:57 130 Query REPLACE INTO mythweb_sessions (id, modified$
130 Quit 060419 19:17:01 131 Connect root@localhost on mythconverg 131 Query select chanid,DATE_FORMAT(starttime,'%Y%m%d$ 131 Quit 060419 19:23:09 132 Connect mythtv@localhost on mythconverg 132 Init DB mythconverg 132 Query SELECT NULL 132 Query SELECT data FROM settings WHERE value = 'D$ 132 Query SELECT data FROM settings WHERE value = 'DB$ None of which appears to be a clue to me. Not that I actually know anythying about sql. mysql.err is empty. Searched the forum and found this: http://mysettopbox.tv/phpBB2/viewtopic.php?t=5798&highlight=error+usr+share+mythtv+mythweb+includes+mythbackend+php but it doesn't seem to be the same problem. Could the AutoExpire error be a clue? How do I remove the database "metadata" to line up the reality of what is in /myth/tv? I have already followed cesman's guide to database (table) repair. http://mysettopbox.tv/phpBB2/viewtopic.php?t=1043&highlight=database+repair No problems found or repaired. Any other ideas? vtdstein95 |
Author: | thornsoft [ Wed Apr 19, 2006 8:47 pm ] |
Post subject: | |
Twice now, I've gotten a weird problem where something bombs when trying to make the thumbnail preview for one of the CSIs on CBSHD. The solution is to delete the program and its thumbnail from the /myth/tv directory, and delete the offending entry from the database ("recorded" table) using phpmyadmin. The backend would crash when I EITHER browsed the recorded programs via mythweb, or went in and looked at the recorded programs in the mythfrontend. When I highlighted that program, it would crap out. And the mythweb would list out enough so that I could see some of the programs listing ok, then boom. So I could kind of tell which one it didn't like. This may or may not, be the same issue. And the same technique may or may not be helpful! -- Chris |
Author: | vtdstein95 [ Wed Apr 19, 2006 9:06 pm ] |
Post subject: | |
Appears this was related to the AutoExpire error. I solved the problem by copying another file to the file name of the missing file. Next time HouseKeeping ran, it deleted the file, and now MythWeb works as it did before. vtdstein95 |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |