[mythtvnz] New install setup - recording problem

Paulgir paulgir at gmail.com
Sat Aug 6 00:27:24 BST 2016


On Fri, 05 Aug 2016 16:25:26 +1200, Stephen Worthington  
<stephen_agent at jsw.gen.nz> wrote:

> On Fri, 05 Aug 2016 15:16:16 +1200, you wrote:
>
>> I'm re-installed everything and set up the backend manually.I'm still in
>> the same situation.No tuners will allow viewing or recording.
>> I've deleted the tuners and set them up again to no avail.
>> Here is a few lines from backend log
>>
>> Aug 5 15:03:48 myth mythbackend: mythbackend[2583]: I TVRecEvent
>> tv_rec.cpp:1073 (HandleStateChange) TVRec[1]: Changing from None to
>> WatchingLiveTV
>> Aug 5 15:03:48 myth mythbackend: mythbackend[2583]: I TVRecEvent
>> tv_rec.cpp:3563 (TuningCheckForHWChange) TVRec[1]: HW Tuner: 1->1
>> Aug 5 15:03:48 myth mythbackend: mythbackend[2583]: I TVRecEvent
>> tv_rec.cpp:3685 (TuningFrequency) TVRec[1]: TuningFrequency
>> Aug 5 15:03:48 myth mythbackend: mythbackend[2583]: E TVRecEvent
>> dtvmultiplex.cpp:379 (ParseTuningParams) DTVMux: ParseTuningParams --
>> Unknown tuner type = 0xffffffff80000000
>> Aug 5 15:03:48 myth mythbackend: mythbackend[2583]: E TVRecEvent
>> recorders/dtvchannel.cpp:299 (SetChannelByString)DTVChan[1](11111EB6-0):
>> SetChannelByString(1): Failed to initialize multiplex options
>>
>> As before the HDHR tuners work fine for the HDHR setup GUI
>>
>> -Paul
>
> OK, you have the same HDHR tuner problem. If you change the LiveTV
> order settings so the internal tuners are used first, they will likely
> work. So now we need to see what MythTV is doing when it tries to
> talk to the HDHRs. Install Wireshark and use it to capture the
> Ethernet traffic when MythTV tries to use an HDHR, and also when Me-TV
> does (or something that works). Post the capture files.
>

I think I have found the problem.

Working on the basis that because 12.04 still works and 16.04  
doesn't,where,in the procedure I use to switch from one to the other,is it  
likely I am introducing the problem (ie A stupid mistake)
So when I switch the system drives I have to change the storage drive  
permissions because for some reason they do not stay the same between the  
two system drives.

I have been using the command: sudo chown -Rv myth:myth /var/lib/mythtv  
when it should be: chown -Rv mythtv:mythtv /var/lib/mythtv
I have been calling up the same erroneous command from bash history in  
16.04.In 12.04 I didnot make the mistake in the command.

I made this mistake possible by calling my mythbox "myth"

D'oh!

When I selected a channel to watch live from the guide, I get the  
following message in mythbackend log:

Aug 6 10:50:00 myth mythbackend: mythbackend[4101]: I TVRecEvent  
tv_rec.cpp:1073 (HandleStateChange) TVRec[1]: Changing from None to  
WatchingLiveTV
Aug 6 10:50:00 myth mythbackend: mythbackend[4101]: I TVRecEvent  
tv_rec.cpp:3685 (TuningFrequency) TVRec[1]: TuningFrequency
Aug 6 10:50:00 myth mythbackend: mythbackend[4101]: N CoreContext  
autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required  
Free Space: 3.0 GB w/freq: 14 min
Aug 6 10:50:00 myth mythbackend: mythbackend[4101]: E TVRecEvent  
threadedfilewriter.cpp:129 (Open)  
TFW(/var/lib/mythtv/livetv/1003_20160805225000.ts:-1): Opening file  
'/var/lib/mythtv/livetv/1003_20160805225000.ts'.#012#011#011#011eno:  
Permission denied (13)
Aug 6 10:50:00 myth mythbackend: mythbackend[4101]: E TVRecEvent  
tv_rec.cpp:4606 (GetProgramRingBufferForLiveTV) TVRec[1]: RingBuffer  
'/var/lib/mythtv/livetv/1003_20160805225000.ts' not open...
Aug 6 10:50:00 myth mythbackend: mythbackend[4101]: E TVRecEvent  
tv_rec.cpp:4642 (CreateLiveTVRingBuffer) TVRec[1]:  
CreateLiveTVRingBuffer(3) failed

I still can't get access to mysql with the password listed in myth  
frontend:

mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using  
password: YES)

Is there a way around this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ourshack.com/pipermail/mythtvnz/attachments/20160806/327792b0/attachment.html>


More information about the mythtvnz mailing list