[mythtv-users] mythtv-setup freezes on exit

Martin Moores moores.martin at gmail.com
Mon Oct 22 10:10:02 UTC 2012


On 22 October 2012 10:48, Jim Downie <Jim.Downie at sigmaseven.co.uk> wrote:
>> Well it's always good to know that you're not the only one in the
>> boat. Having a problem with lossless transcodes failing too in .26,
>> but hey, I'll wait till the devs get around to it. If I could roll up
>> my slaves and help, I would. I couldn't see anything else on the list
>> about it though. Hope we're not a special case. :-)
>
> I have experienced this as well.
>
> Whatever you do - DO NOT run an apt-get upgrade when it's locked. I did this and now I have an error "ERROR 1046 (3D000) at line 22: No database selected".
>
> This was after I corrected the config.xml for missing entries. My gut feel is that debconf has somehow been corrupted during failed upgrade and my only recourse is to backup the database (it still works), purge the mythtv-backend install, re-install and then restore the database.
>
> Waiting for a suitable time to do this......

Don't know if this is related, but have you guys seen any errors
deleting files (autoexpire) in the backend logs?

I have been seeing a lot of these:

Oct 22 10:45:28 MYTHTV1 mythlogserver: mythbackend[19196]: E
DeleteThread mainserver.cpp:2255 (OpenAndUnlink) Error deleting
'/var/lib/mythtv/recordings/1004_20121010195500.mpg' could not open
#012#011#011#011eno: Permission denied (13)
Oct 22 10:45:28 MYTHTV1 mythlogserver: mythbackend[19196]: E
DeleteThread mainserver.cpp:2233 (DeleteFile) Delete Error
'/var/lib/mythtv/recordings/1004_20121010195500.mpg'#012#011#011#011eno:
Permission denied (13)
Oct 22 10:45:28 MYTHTV1 mythlogserver: mythbackend[19196]: E
DeleteThread mainserver.cpp:2013 (DoDeleteThread) Error deleting file:
/var/lib/mythtv/recordings/1004_20121010195500.mpg. Keeping metadata
in database.
Oct 22 10:45:56 MYTHTV1 mythlogserver: mythbackend[19196]: I Scheduler
scheduler.cpp:2126 (HandleReschedule) Reschedule requested for MATCH 0
0 0 - EITScanner

running an "ls -l" in my recordings directory, I can see that some
recordings are not owned by mythtv, but by user, which is my main user
on this machine and part of the mythtv group.

These recordings seem to tally up with the recordings in the errors,
so just wondering if it is related to this mythtv-setup issue.  These
does not seem to be any correlation with time, they are on random
channels on different days.

Worth checking your recording permissions, just in case

Cheers

Martin


More information about the mythtv-users mailing list