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: Tue Sep 11, 2007 12:54 pm 
Offline
Joined: Tue Jan 23, 2007 1:38 pm
Posts: 251
Location: Sweden
In case someone is interested in forensics:

I just got back in business from a situation where the box had a file missing. Rebooting it resulted in the backend not starting at all. An hour before the girls' favorite show! :cry:

It turned out that /myth had its ownership/group automatically changed from mythtv/mythtv to root/root. :shock: By what? This resulted in /myth/tv/nfslockfile.lock was inaccessible for permissions reasons and the backend not starting at all. There was also a db error (causing the file missing error above), which I thought was the trouble and fixed it per tjc:s excellent guide in the hints&tips section.

Here's an excerpt from /var/log/mythtv/backend.log (� denotes our special scandinavian chars - they are not errors):
Code:
2007-09-11 18:00:33.723 Expiring V�ra v�rsta �r "Del 232 s�song 10" from Tue Se$
2007-09-11 18:00:42.801 DB Error (Recorded program delete recordedseek):
Query was:
DELETE FROM recordedseek WHERE chanid = '1006' AND starttime = '2007-09-11T17:5$
Driver error was [2/145]:
QMYSQL3: Unable to execute query
Database error was:
Table './mythconverg/recordedseek' is marked as crashed and should be repaired
2007-09-11 18:26:34.367 AutoExpire: ERROR: Could not calculate free space for /$
2007-09-11 18:28:34.411 AutoExpire: ERROR: Could not calculate free space for /$
2007-09-11 18:28:34.414 AutoExpire: ERROR: Could not calculate free space for /$
2007-09-11 18:28:34.415 AutoExpire: ERROR: Could not calculate free space.
2007-09-11 18:30:34.469 AutoExpire: ERROR: Could not calculate free space for /$
2007-09-11 18:32:34.525 AutoExpire: ERROR: Could not calculate free space for /$
2007-09-11 18:33:34.548 AutoExpire: ERROR: Could not calculate free space for /$
2007-09-11 18:33:34.550 AutoExpire: ERROR: Could not calculate free space.

etc a bunch of lines and (oh, yeah, it should be free space for /myth/tv) then
Code:
2007-09-11 18:48:34.919 AutoExpire: ERROR: Could not calculate free space for /$
2007-09-11 18:48:34.921 AutoExpire: ERROR: Could not calculate free space.
2007-09-11 18:49:43.588 MainServer::HandleAnnounce Monitor
2007-09-11 18:49:43.648 adding: Ludde as a client (events: 0)
2007-09-11 18:49:43.689 Preview Error: Previewer file '/myth/tv/1004_2007090921$
2007-09-11 18:49:43.690 MainServer: Failed to make preview image.
2007-09-11 18:49:44.926 MainServer::HandleAnnounce Monitor
2007-09-11 18:49:44.929 adding: Ludde as a client (events: 0)
2007-09-11 18:49:44.931 Preview Error: Previewer file '/myth/tv/1004_2007090921$
2007-09-11 18:49:44.932 MainServer: Failed to make preview image.
2007-09-11 18:49:46.491 MainServer::HandleAnnounce Monitor
2007-09-11 18:49:46.512 adding: Ludde as a client (events: 0)
2007-09-11 18:49:46.513 Preview Error: Previewer file '/myth/tv/1006_2007091117$
2007-09-11 18:49:46.514 MainServer: Failed to make preview image.
2007-09-11 18:49:46.904 MainServer::HandleAnnounce Monitor

All these errors (and still more) for ownership reasons.
Fixing the database didn't fix the problem.
Removing the nfslockfile.lock didn't fix the problem.
Changing the ownership/group of /myth did fix the problem and the lost file belonging to a recording was back again.

Thank heavens for this forum - it enabled me to find the clues I needed and be back in less than an hour :!:
Or I would have been in the next episode of "Midsomer murders". :wink:

/Chris

_________________
LinHES R8.6.1
BE: AMD64X4, 4GB, Hauppauge usb tuners
FE1: Gigabyte F2A85X-UP4, nVidia GT640
FE2: Gigabyte GA-MA69GM-S2H, AthlonX2 4850E 2.5 GHz, 1GB, ASUS GEFORCE 7200GS 256MB
FE3: Asus Eeebox410


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 11, 2007 1:13 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
Is your box exposed to the internet in any way? SSH, HTTP, etc?

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 12:40 pm 
Offline
Joined: Tue Jan 23, 2007 1:38 pm
Posts: 251
Location: Sweden
Actually, yes!

I am using MythWeb set up per the securing MythWeb instructions on the Wiki (htdigest), using http and a reasonable password. However, my apache daemon keeps stopping, so I am currently in the process of redoing it per these instructions instead: http://mysettopbox.tv/phpBB2/viewtopic.php?t=15796&highlight=mythweb

When this happened, I was using the first setup. The myth box is behind a hw firewall/router.

/Chris

_________________
LinHES R8.6.1
BE: AMD64X4, 4GB, Hauppauge usb tuners
FE1: Gigabyte F2A85X-UP4, nVidia GT640
FE2: Gigabyte GA-MA69GM-S2H, AthlonX2 4850E 2.5 GHz, 1GB, ASUS GEFORCE 7200GS 256MB
FE3: Asus Eeebox410


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: No registered users and 19 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