View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Jul 12, 2009 6:05 pm 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
My friend's KM R5.5 box keeps trying (over and over and over) to autoexpire a file that was already deleted.
Code:
2009-07-10 19:44:32.174 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
2009-07-10 19:44:32.183 Expiring 315 MBytes for 1201 @ Sat Jun 20 00:00:00 2009 => The NewsHour With Jim Lehrer
2009-07-10 19:44:32.195 ERROR when trying to delete file: /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/mythtv/1201_20090620005714.mpg. File doesn't exist.  Database metadata will not be removed.
2009-07-10 19:44:32.205 mythbackend: Last message repeated 2 times: Running housekeeping thread
2009-07-10 19:44:32.218 mythbackend: Delete Recording: File /GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/mythtv/1201_20090620005714.mpg does not exist for chanid 1201 at Sat Jun 20 00:57:14 2009 when trying to delete recording.

The file was deleted just before I did an upgrade on his box from R5F27 to R5.5.

Can I fix his database and have this problem solved, using these commands?
Code:
/etc/init.d/mythtv-backend stop
/etc/init.d/mysql stop
cd /var/lib/mysql/mythconverg
myisamchk -f *.MYI
myisamchk -r *.MYI
/etc/init.d/mysql start
/etc/init.d/mythtv-backend start

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 13, 2009 10:58 am 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
Code:
$ touch /path/to/mythtv/1201_20090620005714.mpg

and let autoexpire delete an empty file. :)

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject: tried it
PostPosted: Mon Jul 13, 2009 4:20 pm 
Offline
Joined: Tue Mar 28, 2006 8:26 pm
Posts: 804
Location: Minneapolis, MN
Interesting approach :)

I just tried the 'touch' command and created the empty file in the /myth/tv directory. Then, I changed the user and owner to mythtv so it would match all the other files in there.
Code:
chown mythtv:mythtv 1201_20090620005714.mpg

tick tick tick

I just waited 15 minutes for the autoexpire job to run again. It seems to have worked - no errors this time! :D
Code:
2009-07-13 17:28:03.424 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 15 min
2009-07-13 17:28:03.431 Expiring 315 MBytes for 1201 @ Sat Jun 20 00:00:00 2009 => The NewsHour With Jim Lehrer
2009-07-13 17:28:55.687 Reschedule requested for id 0.
2009-07-13 17:28:55.993 Scheduled 88 items in 0.3 = 0.00 match + 0.30 place
2009-07-13 17:28:56.009 scheduler: Scheduled items: Scheduled 88 items in 0.3 = 0.00 match + 0.30 place

THANKS! :)
Eric

_________________
KnoppMyth R5.5, Asus A8N-VM CSM (nvidia 6150 onboard video), AMD Athlon 64 dual-core 4200+, two 1GB sticks DDR 400, HD-3000 HDTV card, PVR-150 card, Iguanaworks RS-232 IR receiver/transmitter, Pioneer DVR-110 DVD burner


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: Google [Bot] and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu