[mythtv-users] backend won't record - MYTH_PROTO_VERSION problems

Adam Bodnar ambodnar at gmail.com
Sun Apr 2 10:09:53 UTC 2006


Andrew or Mark,

Were either of you able to determine what was causing this or figure out how
to make it stop occurring?

My machine suddenly started doing this about two weeks back and it's getting
very frustrating.

On 2/6/06, Andrew Guenther <andguent at gmail.com> wrote:
>
> Any luck on this problem Mark? I have a fresh install of KnoppMyth
> doing almost exactly what you describe.
>
> Mythweb shows:
> User Notice at /usr/share/mythtv/mythweb/includes/mythbackend.php, line
> 159:
> Unexpected response to MYTH_PROTO_VERSION 'MYTH_PROTO_VERSION 15':
>
> The backend log shows
> 'waiting for a thread' a couple thousand times.
>
> Any shows I recorded recently are 0 bytes long.
>
> I'm still diagnosing.
>
>
> Andrew
>
> On 12/2/05, Mark Knecht <markknecht at gmail.com> wrote:
> > On 12/2/05, Michael T. Dean <mtdean at thirdcontact.com> wrote:
> > > Mark Knecht wrote:
> > > >
> > > >   While I cannot yet be 100% sure this is the problem, it's
> certainly
> > > >badly configured and needs to be fixed.
> > > >
> > > >
> > > True that it needs fixed, but it wouldn't cause a protocol version
> > > mismatch--only differing versions of mythbackend and client (like
> > > mythfrontend or MythWeb) would do that.
> > >
> > > Mike
> >
> > As you suspected it did not fix the problem. Here are the symptoms as
> > best I can see them from 350 miles away:
> >
> > 1) We can set up new recording in MythTV. All of the programmign setup
> > appears to go OK.
> >
> > 2) When it comes time for the recording to start a file is created but
> > it ends up with a size of 0 bytes. I tried a test recording at 10:30AM
> > this morning.
> >
> > gandalf ~ # ls -la /TVstorage/
> > total 63771544
> > drwxr-xr-x   2 root root       4096 Dec  2 10:30 .
> > drwxr-xr-x  20 root root       4096 May 24  2005 ..
> > -rw-r--r--   1 root root          0 Dec  2 10:30
> > 1004_20051202103000_20051202110000.nuv
> > -rw-r--r--   1 root root 2330060800 Jun  4 00:30
> > 1028_20050603233000_20050604003000.nuv
> > -rw-r--r--   1 root root 2327177216 Jun 10 00:30
> > 1028_20050609233000_20050610003000.nuv
> > <SNIP>
> > -rw-r--r--   1 root root 2330853376 Nov 15 00:30
> > 1028_20051114233000_20051115003000.nuv
> > -rw-r--r--   1 root root          0 Dec  2 10:00 nfslockfile.lock
> > gandalf ~ #
> >
> > 3) There are no messages in dmesg and very little in
> > /var/log/mythtv/mythbackend.log:
> >
> > Starting up as the master server.
> > 2005-12-02 10:00:06.958 New DB connection, total: 2
> > 2005-12-02 10:00:07.614 New DB connection, total: 3
> > 2005-12-02 10:00:07.929 New DB scheduler connection
> > 2005-12-02 10:00:07.934 mythbackend version: 0.18.1.20050510-1
> www.mythtv.org
> > 2005-12-02 10:00:07.936 Enabled verbose msgs :important
> > 2005-12-02 10:00:10.150 Recording starts soon, AUTO-Startup assumed
> > 2005-12-02 10:00:17.943 New DB connection, total: 4
> > 2005-12-02 10:00:17.945 New DB connection, total: 5
> > 2005-12-02 10:06:03.690 adding: gandalf as a client (events: 0)
> > 2005-12-02 10:06:03.733 adding: gandalf as a client (events: 1)
> > 2005-12-02 10:08:41.216 adding: gandalf as a client (events: 0)
> > 2005-12-02 10:08:41.260 adding: gandalf as a client (events: 1)
> >
> > Note that the recording should have started at 10:30AM and no messages
> > were written to this file after 10:08AM. Weird...
> >
> > 4) There are no messages in any of the /var/log/mysql/mysql.* files at
> 10:30AM.
> >
> > 5) Sometimes the mythbackend log file fills up a message
> >
> > waiting for a thread......
> >
> > I can get 50,000 lines of this message.
> >
> > 6) The message about MYTH_PROTO_VERSION seems to only come after the
> > machine tried to record overnight.
> >
> > 7) The frontend and back end seem to be the same version:
> >
> > 2005-12-02 10:00:07.934 mythbackend version: 0.18.1.20050510-1
> www.mythtv.org
> >
> > 2005-12-02 16:03:22.185 mythfrontend version: 0.18.1.20050510-1
> www.mythtv.org
> >
> >    I have completely rebuilt MythTV from source today. It did not fix
> > the problems.
> >
> >    I am terribly, terribly stumped and the PAF (parent acceptance
> > factor) is falling to zero. Heck, I'll be luck to get a Christmas
> > present if this goes on much longer! ;-)
> >
> > Thanks,
> > Mark
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> >
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060402/c431d683/attachment.htm 


More information about the mythtv-users mailing list