LinHES Forums
http://forums.linhes.org/

Backend dies randomly on R5.5
http://forums.linhes.org/viewtopic.php?f=17&t=19302
Page 1 of 1

Author:  ssteward [ Thu Nov 27, 2008 8:24 pm ]
Post subject:  Backend dies randomly on R5.5

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

Author:  manicmike [ Thu Nov 27, 2008 8:58 pm ]
Post subject:  Re: Backend dies randomly on R5.5

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

Author:  ssteward [ Sat Dec 06, 2008 6:03 am ]
Post subject: 

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

Author:  cecil [ Mon Dec 08, 2008 12:33 pm ]
Post subject: 

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.

Author:  ssteward [ Mon Dec 08, 2008 5:10 pm ]
Post subject: 

Thanks Cecil. Are you suggesting looking in the logs or is there some checking routine I can run? Thanks.

Author:  cecil [ Mon Dec 08, 2008 8:04 pm ]
Post subject: 

Actually, if you run sudo mythbackup or select backup from the menu, it will check the db for you.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/