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

Mythbackend.log not updating
http://forums.linhes.org/viewtopic.php?f=6&t=20318
Page 1 of 1

Author:  kmkittre [ Mon Sep 28, 2009 7:36 pm ]
Post subject:  Mythbackend.log not updating

I solved this issue. Sorry for my ignorance when it comes to R6. My current issue is at the bottom of this thread: mythbackend.log is not updating.

I've been messing with my backend and somewhere along the lines I lost the cool "status" screen on the backend where it showed the time and upcoming recordings.

I think part of the reason for this is that I can't change the type of system setup. When I arrow through the options it just doesn't highlight.

I can change all the other options on the screen (initial resolution, remote, and MythWelcome). But this option is unchangeable.

Author:  kmkittre [ Mon Sep 28, 2009 7:59 pm ]
Post subject: 

Okay, and this really sucks.

Because my backend is stuck as "standalone" I cannot access it via my frontend...

help please.

Author:  kmkittre [ Mon Sep 28, 2009 8:28 pm ]
Post subject: 

Also, my backend log isn't updating... I don't know what the hell happened to my system... All I did today was install x11vnc via pacman and enabled samba.

Author:  kmkittre [ Mon Sep 28, 2009 8:40 pm ]
Post subject: 

Argh, apparently there's an option under access control to prevent changing the system setup.

I've changed this option and am hoping that going back to a Master Backend will solve my problems.

Author:  kmkittre [ Mon Sep 28, 2009 9:14 pm ]
Post subject: 

okay, everything appears to be working now. Except I still am not getting backend logs. Is there a setting somewhere to enable that?

Author:  kmkittre [ Mon Sep 28, 2009 9:46 pm ]
Post subject: 

The last modified date for /var/log/mythtv/mythbackend.log is yesterday... Help please.

Author:  manicmike [ Mon Sep 28, 2009 10:50 pm ]
Post subject: 

kmkittre wrote:
The last modified date for /var/log/mythtv/mythbackend.log is yesterday... Help please.


Try starting the backend from an xterm (with super user privileges). It will most likely complain immediately about not being able to write to the log.

On LinHES 6.01, you would do this:
alt+2 (to stop the backend)
su -c "/usr/bin/mythbackend -v all --logfile /var/log/mythtv/mythbackend.log"

The "-v all" is my addition. It starts the daemon with maximum logging to stdout (the terminal).

Mike

Author:  kmkittre [ Tue Sep 29, 2009 10:15 am ]
Post subject: 

That works, but of course it only works for the time while I am running mythbackend from the console...

Am I looking for some errors in the log?

Author:  kmkittre [ Tue Sep 29, 2009 10:23 am ]
Post subject: 

Okay, I think I've found the problem. Somehow the permissions on the logfile were changed...

I just did a chown mythtv:mythtv mythbackend.log and now the logging is working again.

Not sure how this happened...

Author:  goofee [ Tue Sep 29, 2009 11:17 am ]
Post subject: 

kmkittre wrote:
Okay, I think I've found the problem. Somehow the permissions on the logfile were changed...

I just did a chown mythtv:mythtv mythbackend.log and now the logging is working again.

Not sure how this happened...

If I recall from some of your other posts, this is a recent upgrade to R6. On my first upgrade I found some file ownership errors due to changes in the user number between versions. R5.5 mythtv UID 100, GID 102. R6 mythtv UID 1000, GID 1000. It's possible some files are still set with the old permissions. (thumbnails not working?) I ran something like this to change all the permissions in /myth.
Code:
find /myth -user <old UID> -exec chown <new UID> {} \;
find /myth -user <UID or username> -exec chgrp <new GID> {} \;

Author:  manicmike [ Tue Sep 29, 2009 4:40 pm ]
Post subject: 

goofee wrote:
If I recall from some of your other posts, this is a recent upgrade to R6.


That seems likely to be the cause: A lot of files were chowned to root when I upgraded, too.

Mike

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