<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 03/03/2017 10:37 PM, Garth Kirkwood
      wrote:<br>
    </div>
    <blockquote
cite="mid:SY3PR01MB047366FA7938B6604FCE8E37BC2A0@SY3PR01MB0473.ausprd01.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
        dir="ltr">
        <p>I am in Australia and am using two (2) HDHomeRuns with my
          MythTV and I was having an issue with recordings failing with
          0 byte files, but LiveTV was working. My google foo suggested
          I delete all the channels and tuners and start again which I
          did. After I did this I went to readd my tuners I found that
          one of my HDHomeRun's was missing. The power supply had died.
          I replaced the power supply and went through the set up
          process and scanned for channels etc and all good.<br>
        </p>
        <div class="postbody"><br>
          Or so I thought, now I can't watch LiveTV either, which really
          upsets me! Here is a sample of the log when trying to watch
          LiveTV:<br>
          <div class="codetitle"><b><br>
              Log extract:</b></div>
          <div class="codecontent">2017-03-04T13:16:41.815850+10:00
            mythbackend[6777]: E HDHRStreamHandler
            recorders/hdhrstreamhandler.cpp:421 (TunerSet)
            HDHRSH(11102780-0): Set request failed#012#011#011#011eno:
            Resource temporarily unavailable (11)<br>
            2017-03-04T13:16:42.216622+10:00 mythbackend[6777]: I
            TVRecEvent tv_rec.cpp:3686 (TuningFrequency) TVRec[13]:
            TuningFrequency<br>
            2017-03-04T13:16:42.617424+10:00 mythbackend[6777]: E
            TVRecEvent recorders/hdhrstreamhandler.cpp:382 (TunerGet)
            HDHRSH(11102780-0): Get request failed#012#011#011#011eno:
            Resource temporarily unavailable (11)<br>
            2017-03-04T13:16:43.018439+10:00 mythbackend[6777]: E
            TVRecEvent recorders/hdhrstreamhandler.cpp:421 (TunerSet)
            HDHRSH(11102780-0): Set request failed#012#011#011#011eno:
            Resource temporarily unavailable (11)<br>
            2017-03-04T13:16:43.018759+10:00 mythbackend[6777]: E
            TVRecEvent recorders/dtvchannel.cpp:310 (SetChannelByString)
            DTVChan[13](11102780-0): SetChannelByString(24): Tuning to
            frequency.<br>
            2017-03-04T13:16:43.018981+10:00 mythbackend[6777]: E
            TVRecEvent dtvmultiplex.cpp:246 (ParseDVB_S_and_C) DTVMux:
            Invalid symbol rate parameter '0', aborting.<br>
            2017-03-04T13:16:43.019166+10:00 mythbackend[6777]: E
            TVRecEvent recorders/dtvchannel.cpp:299 (SetChannelByString)
            DTVChan[13](11102780-0): SetChannelByString(24): Failed to
            initialize multiplex options<br>
            2017-03-04T13:16:43.019340+10:00 mythbackend[6777]: E
            TVRecEvent tv_rec.cpp:3764 (TuningFrequency) TVRec[13]:
            Failed to set channel to 24. Reverting to kState_None<br>
            2017-03-04T13:17:33.387706+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1730 (HandleAnnounce)
            MainServer: MainServer::ANN Monitor<br>
            2017-03-04T13:17:33.388093+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1735 (HandleAnnounce)
            MainServer: adding: vmmythtv(55f5dab409c0) as a client
            (events: 0)<br>
            2017-03-04T13:17:35.491430+10:00 mythbackend[6777]: I
            MythSocketThread(26) mainserver.cpp:7656 (connectionClosed)
            Monitor sock(55f5dab409c0) 'vmmythtv' disconnected<br>
            2017-03-04T13:20:44.548683+10:00 mythbackend[6777]: I
            Scheduler scheduler.cpp:2264 (HandleReschedule) Reschedule
            requested for MATCH 0 1 1 2017-03-04T03:43:35Z EITScanner<br>
            2017-03-04T13:20:44.749128+10:00 mythbackend[6777]: I
            TVRecEvent tv_rec.cpp:3686 (TuningFrequency) TVRec[3]:
            TuningFrequency<br>
            2017-03-04T13:20:44.749247+10:00 mythbackend[6777]: I
            Scheduler scheduler.cpp:2377 (HandleReschedule) Scheduled 38
            items in 0.2 = 0.04 match + 0.00 check + 0.11 place<br>
            2017-03-04T13:21:27.206611+10:00 mythbackend[6777]: I
            Scheduler scheduler.cpp:2264 (HandleReschedule) Reschedule
            requested for MATCH 0 1 5 2017-03-11T23:30:00Z EITScanner<br>
            2017-03-04T13:21:27.407187+10:00 mythbackend[6777]: I
            TVRecEvent tv_rec.cpp:3686 (TuningFrequency) TVRec[1]:
            TuningFrequency<br>
            2017-03-04T13:21:27.507429+10:00 mythbackend[6777]: I
            Scheduler scheduler.cpp:2377 (HandleReschedule) Scheduled 38
            items in 0.3 = 0.16 match + 0.00 check + 0.10 place<br>
            2017-03-04T13:22:33.999442+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1730 (HandleAnnounce)
            MainServer: MainServer::ANN Monitor<br>
            2017-03-04T13:22:33.999543+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1735 (HandleAnnounce)
            MainServer: adding: vmmythtv(55f5dab409c0) as a client
            (events: 0)<br>
            2017-03-04T13:22:35.902561+10:00 mythbackend[6777]: I
            MythSocketThread(71) mainserver.cpp:7656 (connectionClosed)
            Monitor sock(55f5dab409c0) 'vmmythtv' disconnected<br>
            2017-03-04T13:23:15.458084+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1730 (HandleAnnounce)
            MainServer: MainServer::ANN Monitor<br>
            2017-03-04T13:23:15.458201+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1735 (HandleAnnounce)
            MainServer: adding: vmmythtv(55f5daa928a0) as a client
            (events: 0)<br>
            2017-03-04T13:23:15.458288+10:00 mythbackend[6777]: I
            MythSocketThread(82) mainserver.cpp:7656 (connectionClosed)
            Monitor sock(55f5daa928a0) 'vmmythtv' disconnected<br>
            2017-03-04T13:23:19.163374+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1730 (HandleAnnounce)
            MainServer: MainServer::ANN Monitor<br>
            2017-03-04T13:23:19.163487+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1735 (HandleAnnounce)
            MainServer: adding: vmmythtv(55f5daaa9080) as a client
            (events: 0)<br>
            2017-03-04T13:23:19.363925+10:00 mythbackend[6777]: I
            MythSocketThread(71) mainserver.cpp:7656 (connectionClosed)
            Monitor sock(55f5daaa9080) 'vmmythtv' disconnected<br>
            2017-03-04T13:24:23.251704+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1730 (HandleAnnounce)
            MainServer: MainServer::ANN Monitor<br>
            2017-03-04T13:24:23.251816+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1735 (HandleAnnounce)
            MainServer: adding: vmmythtv(55f5dab5b7e0) as a client
            (events: 0)<br>
            2017-03-04T13:24:23.251900+10:00 mythbackend[6777]: I
            Scheduler scheduler.cpp:2264 (HandleReschedule) Reschedule
            requested for MATCH 0 0 0 - HandleRescheduleRecordings<br>
            2017-03-04T13:24:23.251977+10:00 mythbackend[6777]: I
            MythSocketThread(71) mainserver.cpp:7656 (connectionClosed)
            Monitor sock(55f5dab5b7e0) 'vmmythtv' disconnected<br>
            2017-03-04T13:24:23.352357+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1730 (HandleAnnounce)
            MainServer: MainServer::ANN Monitor<br>
            2017-03-04T13:24:23.352469+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1735 (HandleAnnounce)
            MainServer: adding: vmmythtv(55f5daa928a0) as a client
            (events: 2)<br>
            2017-03-04T13:24:23.853307+10:00 mythbackend[6777]: I
            Scheduler scheduler.cpp:2377 (HandleReschedule) Scheduled 38
            items in 0.5 = 0.41 match + 0.02 check + 0.10 place<br>
            2017-03-04T13:24:23.853443+10:00 mythbackend[6777]: I
            MythSocketThread(71) mainserver.cpp:7656 (connectionClosed)
            Monitor sock(55f5daa928a0) 'vmmythtv' disconnected<br>
            2017-03-04T13:25:44.865062+10:00 mythbackend[6777]: I
            TVRecEvent tv_rec.cpp:3686 (TuningFrequency) TVRec[3]:
            TuningFrequency<br>
            2017-03-04T13:25:47.869478+10:00 mythbackend[6777]: E
            TVRecEvent tv_rec.cpp:3952 (TuningSignalCheck) TVRec[3]:
            TuningSignalCheck: SignalMonitor timed out<br>
            2017-03-04T13:25:55.580281+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1730 (HandleAnnounce)
            MainServer: MainServer::ANN Monitor<br>
            2017-03-04T13:25:55.580378+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1735 (HandleAnnounce)
            MainServer: adding: vmmythtv(55f5daac86c0) as a client
            (events: 0)<br>
            2017-03-04T13:25:55.780855+10:00 mythbackend[6777]: I
            MythSocketThread(26) mainserver.cpp:7656 (connectionClosed)
            Monitor sock(55f5daac86c0) 'vmmythtv' disconnected<br>
            2017-03-04T13:25:58.084548+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1730 (HandleAnnounce)
            MainServer: MainServer::ANN Monitor<br>
            2017-03-04T13:25:58.084667+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1735 (HandleAnnounce)
            MainServer: adding: vmmythtv(55f5dab5b7e0) as a client
            (events: 0)<br>
            2017-03-04T13:25:58.084753+10:00 mythbackend[6777]: I
            MythSocketThread(71) mainserver.cpp:7656 (connectionClosed)
            Monitor sock(55f5dab5b7e0) 'vmmythtv' disconnected<br>
            2017-03-04T13:26:00.988892+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1730 (HandleAnnounce)
            MainServer: MainServer::ANN Monitor<br>
            2017-03-04T13:26:00.989000+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1735 (HandleAnnounce)
            MainServer: adding: vmmythtv(55f5dab2c1b0) as a client
            (events: 0)<br>
            2017-03-04T13:26:01.089386+10:00 mythbackend[6777]: I
            MythSocketThread(26) mainserver.cpp:7656 (connectionClosed)
            Monitor sock(55f5dab2c1b0) 'vmmythtv' disconnected<br>
            2017-03-04T13:26:16.311004+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1730 (HandleAnnounce)
            MainServer: MainServer::ANN Playback<br>
            2017-03-04T13:26:16.311179+10:00 mythbackend[6777]: I
            ProcessRequest mainserver.cpp:1735 (HandleAnnounce)
            MainServer: adding: vmmythtv(55f5daac2ad0) as a client
            (events: 0)<br>
            2017-03-04T13:26:16.311415+10:00 mythbackend[6777]: E
            ProcessRequest mythdb.cpp:183 (DBError) DB Error
            (ShouldSwitchToAnotherInput):#012Query was:#012SELECT
            channel.channum, channel.callsign FROM channel WHERE
            channel.chanid = ?#012Bindings were:#012:CHANID="2011"#012No
            error type from QSqlError?  Strange...<br>
            2017-03-04T13:26:16.311574+10:00 mythbackend[6777]: I
            TVRecEvent tv_rec.cpp:1074 (HandleStateChange) TVRec[15]:
            Changing from None to WatchingLiveTV<br>
            2017-03-04T13:26:16.311707+10:00 mythbackend[6777]: E
            TVRecEvent channelutil.cpp:1889 (GetChannelData)
            GetChannelData() failed because it could
            not#012#011#011#011find channel number '2011' in DB for
            source '1'.<br>
            2017-03-04T13:26:16.311839+10:00 mythbackend[6777]: E
            TVRecEvent recorders/channelbase.cpp:179 (IsTunable)
            ChannelBase[15]: IsTunable(2011) Failed to find channel in
            DB on input '15'
            <br>
            2017-03-04T13:26:16.311968+10:00 mythbackend[6777]: E
            TVRecEvent channelutil.cpp:1889 (GetChannelData)
            GetChannelData() failed because it could
            not#012#011#011#011find channel number '2011' in DB for
            source '1'.<br>
            2017-03-04T13:26:16.312096+10:00 mythbackend[6777]: E
            TVRecEvent recorders/channelbase.cpp:179 (IsTunable)
            ChannelBase[15]: IsTunable(2011) Failed to find channel in
            DB on input '15'
            <br>
            2017-03-04T13:26:16.312261+10:00 mythbackend[6777]: E
            TVRecEvent recorders/channelbase.cpp:134 (Init)
            ChannelBase[15]: Setting start channel '2011' failed,
            #012#011#011#011and we failed to find any suitible channels
            on any input.<br>
            2017-03-04T13:26:16.412561+10:00 mythbackend[6777]: I
            TVRecEvent tv_rec.cpp:3686 (TuningFrequency) TVRec[15]:
            TuningFrequency<br>
            2017-03-04T13:26:16.412666+10:00 mythbackend[6777]: E
            TVRecEvent channelutil.cpp:1889 (GetChannelData)
            GetChannelData() failed because it could
            not#012#011#011#011find channel number '2011' in DB for
            source '1'.<br>
            2017-03-04T13:26:16.412746+10:00 mythbackend[6777]: E
            TVRecEvent recorders/dtvchannel.cpp:219 (SetChannelByString)
            DTVChan[15](11102780-1): SetChannelByString(2011): Unable to
            find channel in database.<br>
            2017-03-04T13:26:16.412821+10:00 mythbackend[6777]: E
            TVRecEvent channelutil.cpp:1889 (GetChannelData)
            GetChannelData() failed because it could
            not#012#011#011#011find channel number '2011' in DB for
            source '1'.<br>
            2017-03-04T13:26:16.412895+10:00 mythbackend[6777]: E
            TVRecEvent recorders/dtvchannel.cpp:219 (SetChannelByString)
            DTVChan[15](11102780-1): SetChannelByString(2011): Unable to
            find channel in database.<br>
            2017-03-04T13:26:16.412966+10:00 mythbackend[6777]: E
            TVRecEvent tv_rec.cpp:3764 (TuningFrequency) TVRec[15]:
            Failed to set channel to 2011. Reverting to kState_None<br>
            2017-03-04T13:26:16.413039+10:00 mythbackend[6777]: I
            TVRecEvent tv_rec.cpp:1074 (HandleStateChange) TVRec[15]:
            Changing from WatchingLiveTV to None<br>
            2017-03-04T13:26:16.413113+10:00 mythbackend[6777]: I
            MythSocketThread(66) mainserver.cpp:7656 (connectionClosed)
            Playback sock(55f5daac2ad0) 'vmmythtv' disconnected</div>
          <br>
          <br>
          I have checked the Database and my channel numbers are in the
          1000 range. I have ran mythutil --resched and guide data is
          coming back, I use EIT and I have checked using the HDHomeRun
          software and the tuners are working fine. I suspect the issue
          is database related but could not guess as to where.<br>
          <br>
          Help me please <img moz-do-not-send="true" alt=":("
            title="Sad" style="-moz-user-select: none;"
            src="http://forums.linhes.org/images/smilies/icon_sad.gif"></div>
        <p><br>
        </p>
        <p>Thanks</p>
        <p><br>
        </p>
        <p>Girkers<br>
          <br>
        </p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://lists.mythtv.org/mailman/listinfo/mythtv-users">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>
<a class="moz-txt-link-freetext" href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a>
MythTV Forums: <a class="moz-txt-link-freetext" href="https://forum.mythtv.org">https://forum.mythtv.org</a>
</pre>
    </blockquote>
    <p>A good place to start is to check the health of your database..
      Run optimize_mythdb.pl ,you may have a crashed table..<br>
    </p>
  </body>
</html>