LinHES Forums http://forums.linhes.org/ |
|
backend continuously down, even immdediately after restarts http://forums.linhes.org/viewtopic.php?f=6&t=3282 |
Page 1 of 1 |
Author: | cards [ Tue Jan 18, 2005 5:15 pm ] |
Post subject: | backend continuously down, even immdediately after restarts |
Seemingly out of the blue, I'm having consistent problems with my mythtv setup. I have one machine only, running R4V5. Things have been going smoothly for a few weeks now, but suddenly for the past two days, every time I try accessing recorded shows or watching live tv, I get an error message saying that it's unable to connect to the master backend, and to make sure it's running and the ip address set for it is correct. I've reset the computer, and I get the same error immediately. I can't think of anything that has changed in setup, as I haven't tinkered with the setup in a while now. The only thing I get curious about is the fact that I believe the hard drive may have completely filled up...(my auto-expire doesn't work for some reason, so instead of deleting old shows to make room for new, the newest show tries recording, then maxes out the hd...) I still need to find the command for getting into the myth config stuff, so I can check to see that the ip address is still correct and hasn't changed or anything like that, but my other question is, what command can I use to restart the backend? |
Author: | cards [ Tue Jan 18, 2005 5:44 pm ] |
Post subject: | |
Here's an update...I found the command to restart the mythbackend, and here's what happens: Code: root@mythtv:~ # mythbackend
Starting up as the master server. 2005-01-18 17:43:13 mythbackend version: 0.16.20040906-1 www.mythtv.org 2005-01-18 17:43:13 Enabled verbose msgs : important general 2005-01-18 17:43:15 Found changes in the todo list. 2005-01-18 17:43:16 Scheduled 415 items in 1.12095 seconds. 2005-01-18 17:43:16 Recording starts soon, AUTO-Startup assumed 2005-01-18 17:43:16 Started recording "Will & Grace" on channel: 1016 on cardid: 1, sourceid 1 2005-01-18 17:43:17 Changing from None to RecordingOnly 2005-01-18 17:43:23 Expiring "Will & Grace" from 2005-01-13T17:30:00, too many episodes. Segmentation fault root@mythtv:~ # When that has run it's course, I try again, and it's already down again. Any ideas what that Segmentation fault is about, or how to resolve it? |
Author: | tjc [ Tue Jan 18, 2005 10:03 pm ] |
Post subject: | |
Other folks have complained about some issues with auto expire in 0.16, you'd have to search the forums for more details. Is your limit on the number of episodes to keep set really low? |
Author: | cards [ Tue Jan 18, 2005 10:30 pm ] |
Post subject: | |
Well, for the programs I've actually witnessed cause the problem, I have the limits set to 2 or 3. However, I actually tried starting the backend, watched what show it was trying to delete, manually deleted it, tried again...a few times, and finally it worked. However, I then went back to the TV and used the menus, got to the recorded programs section...saw 3 concurrent recordings of the same program that was trying to be recorded (I only have 1 tuner..) and tried deleting them one by one as well. The first two were fine, but deleting the third and final occurrence froze up the computer. After a restart, it was like I was back where I started, with the backend crashing every time it was started. As I spend more time on the problem, I've also noticed that if I start the backend while there are no recordings scheduled, it still crashes even without any recordings to delete. (I also have found posts mentioning a segmentation fault when trying to auto-flag commercials, but my setup is not having that same scenario.) The last two times I tried starting the backend, this is what happened: Code: root@mythtv:~ # mythbackend
Starting up as the master server. 2005-01-18 22:27:41 mythbackend version: 0.16.20040906-1 www.mythtv.org 2005-01-18 22:27:41 Enabled verbose msgs : important general 2005-01-18 22:27:43 Found changes in the todo list. 2005-01-18 22:27:44 Scheduled 399 items in 1.09216 seconds. 2005-01-18 22:27:44 Recording starts soon, AUTO-Startup assumed Segmentation fault root@mythtv:~ # Any suggestions? |
Author: | davem [ Tue Jan 18, 2005 11:11 pm ] |
Post subject: | |
Might not help at all, but you may want to check your database tables to see if they need repair. Search this forum for the work myisamchk. |
Author: | cards [ Wed Jan 19, 2005 12:16 am ] |
Post subject: | |
That fixed it! Thanks very much. I've only played with it for a couple seconds...looked at the recordings, played one, exited, looked again...all seems fine. If I check it out again tomorrow and it seems like everything is still working, I'll assume it's completely fixed. So...does anyone know what would have caused this problem in the first place? |
Author: | tjc [ Wed Jan 19, 2005 10:44 am ] |
Post subject: | |
A crash or power loss while the DB was in an inconsistent state. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |