Author Topic: MythTV Problems  (Read 3190 times)

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
MythTV Problems
« on: June 20, 2008, 08:18:51 pm »
Issue started yesterday after my core was reset. Didnt notice any update but then i wasnt looking for them. But for some reason now, myth doesnt record anything other than what I am watching.

-Cant record from mythweb
-can do it from the myth gui on screen -just says 'record' then forgets about it
-cant do it from UI2 either with gyr mouse. red dot  dissapears

needless to say im a bit miffed because i *HAVE NOT* been messing with the system for a while now. Anyone have any ideas on what i should look at as a possible cause?

i get this in the dce router log when i press record twice, pressing once only shows up on myth gui, pressing twice shows up on dce router and myth on screen gui

Code: [Select]
08 06/20/08 11:17:21.779 Received Message from 28 (USB UIRT 0038 / Langstons Room) to 10 (Media Plug-in / Langstons Room), type 1 id 102 Command:Record, retry none, parameters: <0xab027b90>
08 06/20/08 11:17:21.780 Received Message from 28 (USB UIRT 0038 / Langstons Room) to 44 (MythTV Player / Langstons Room), type 1 id 102 Command:Record, retry none, parameters: <0xa0bf6b90>
08 06/20/08 11:17:21.780   Parameter 41(StreamID): 1002 <0xa0bf6b90>

thoughts?
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

rwilson131

  • Veteran
  • ***
  • Posts: 118
    • View Profile
Re: MythTV Problems
« Reply #1 on: June 21, 2008, 05:12:43 am »
Check /var/log/mythtv/mythbackend.log for error which say there are corrupt tables.  Usually the recordmarkup or something similar, it has happened to me a couple of times. Almost always after a power outage.

Try either of these options:
Code: [Select]
/etc/init.d/mythtv-backend stop
mysqlcheck -c -uroot -p mythconverg

if there are errors the run
Code: [Select]
mysqlcheck -r -uroot -p mythconverg
occasional this does not fix the problem, then try this
Code: [Select]
cd /var/lib/mysql/mythconverg
/etc/init.d/mythtv-backend stop
/etc/init.d/mysql stop
myisamchk *.MYI -r

Rob

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: MythTV Problems
« Reply #2 on: June 21, 2008, 05:20:38 pm »
Check /var/log/mythtv/mythbackend.log for error which say there are corrupt tables.  Usually the recordmarkup or something similar, it has happened to me a couple of times. Almost always after a power outage.

Try either of these options:
Code: [Select]
/etc/init.d/mythtv-backend stop
mysqlcheck -c -uroot -p mythconverg

if there are errors the run
Code: [Select]
mysqlcheck -r -uroot -p mythconverg
occasional this does not fix the problem, then try this
Code: [Select]
cd /var/lib/mysql/mythconverg
/etc/init.d/mythtv-backend stop
/etc/init.d/mysql stop
myisamchk *.MYI -r

Rob

havent tried this yet, but i lost power (damn ca rolling blackouts) so I will give this a go later and wikify it if successfull.

thanks for the response :)

=============================
ran the commands, found an error in the table. Proceeded with instructions  but on the last one i get this

myisamchk: error: File '*.MYI' doesn't exist
=======================================
i suck and cant type. got the above working, gonna reboot and see if anything is fixed


« Last Edit: June 21, 2008, 05:28:13 pm by golgoj4 »
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

Itsik

  • Guru
  • ****
  • Posts: 190
    • View Profile
Re: MythTV Problems
« Reply #3 on: June 21, 2008, 05:25:36 pm »
I have tried it as I have the same problem, and I don't get any errors in the db.
any other ideas ?

thnx
Itsik

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: MythTV Problems
« Reply #4 on: June 21, 2008, 05:36:41 pm »
dude!

that fixes my problem!

thanks! i will be adding this somewhere into the wiki...


wikified http://wiki.linuxmce.org/index.php/MythTV#Troubleshooting
« Last Edit: June 21, 2008, 05:46:52 pm by golgoj4 »
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.