View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Nov 27, 2008 8:24 pm 
Offline
Joined: Sun Apr 09, 2006 10:13 am
Posts: 46
Hi, I've recently moved up to R5.5. Install was easy with my Chaintec 7NIF2 and all has been working great for about 2 months. Recently the backend has been dying after a few days. I can restart it and it runs for a random amount of time before dying again. I've checked the logs in /var/log/mythtv but there's nothing obvious. I've looked around the forum but can't find anything that gives me any clues.

Can you tell me what I should be looking at to try to find the problem?

Thanks


Top
 Profile  
 
PostPosted: Thu Nov 27, 2008 8:58 pm 
Offline
Joined: Sun Aug 28, 2005 7:07 pm
Posts: 821
Location: Melbourne, Australia
ssteward wrote:
I've looked around the forum but can't find anything that gives me any clues.


Doesn't mean it isn't there. There has to be something in the backend log that tells you when it was started. Post it in your reply. Just 10 or so lines either side of it.

Mike

_________________
*********************
LinHES 7.4
Australian Dragon
*********************


Top
 Profile  
 
 Post subject:
PostPosted: Sat Dec 06, 2008 6:03 am 
Offline
Joined: Sun Apr 09, 2006 10:13 am
Posts: 46
I have various logs in /var/log/mythtv called

mythtvbackend.log
mythtvbackend.log.1
mythtvbackend.log.2
...
mythtvbackend.log.7

But these really don't seem to be logging anything of use and when I re-start the backend these logs aren't updated - having run the backend for a while the file dates/times are unchanged and there is no log for today. If I restart the backend the text that echoed to the terminal isn't in any of these logs. Am I looking in the wrong place for the backend logs?

What I'd like to find is some log that shows when the backend died and then try to correlate this time with any other evidence I can dig out. Any suggestions?

I've copied what's shown on the terminal when I start "mythbackend -d" below. Is the mysql issue on line 2 a clue?

Code:
$ mythbackend -d
$ 2008-12-06 00:19:48.029 Using runtime prefix = /usr
2008-12-06 00:19:48.038 Unable to read configuration file mysql.txt
2008-12-06 00:19:48.038 Empty LocalHostName.
2008-12-06 00:19:48.038 Using localhost value of mythtv
2008-12-06 00:19:48.074 New DB connection, total: 1
2008-12-06 00:19:48.080 Connected to database 'mythconverg' at host: localhost
2008-12-06 00:19:48.117 Closing DB connection named 'DBManager0'
2008-12-06 00:19:48.118 Connected to database 'mythconverg' at host: localhost
2008-12-06 00:19:48.128 New DB connection, total: 2
2008-12-06 00:19:48.129 Connected to database 'mythconverg' at host: localhost
2008-12-06 00:19:48.170 Current Schema Version: 1214
Starting up as the master server.
2008-12-06 00:19:48.428 New DB connection, total: 3
2008-12-06 00:19:48.429 Connected to database 'mythconverg' at host: localhost
2008-12-06 00:19:48.709 New DB scheduler connection
2008-12-06 00:19:48.710 Connected to database 'mythconverg' at host: localhost
2008-12-06 00:19:50.055 Main::Registering HttpStatus Extension
2008-12-06 00:19:50.056 mythbackend version: 0.21.20080304-1 www.mythtv.org
2008-12-06 00:19:50.056 Enabled verbose msgs:  important general
2008-12-06 00:19:50.065 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2008-12-06 00:19:51.735 Reschedule requested for id -1.
2008-12-06 00:19:52.254 Scheduled 14 items in 0.5 = 0.29 match + 0.22 place
2008-12-06 00:19:52.259 Seem to be woken up by USER
2008-12-06 00:19:58.851 UPnpMedia: BuildMediaMap VIDEO scan starting in :/myth/video:
2008-12-06 00:19:59.011 UPnpMedia: BuildMediaMap Done. Found 2 objects
$ 2008-12-06 00:21:08.729 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min


Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 08, 2008 12:33 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
ssteward wrote:
Is the mysql issue on line 2 a clue?
I'd think not. I'd check the db to ensure all is well.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 08, 2008 5:10 pm 
Offline
Joined: Sun Apr 09, 2006 10:13 am
Posts: 46
Thanks Cecil. Are you suggesting looking in the logs or is there some checking routine I can run? Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 08, 2008 8:04 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
Actually, if you run sudo mythbackup or select backup from the menu, it will check the db for you.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 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:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu