[mythtv-users] Re: mythbackend crashing - solved

rbsteffes at nc.rr.com rbsteffes at nc.rr.com
Wed Jul 21 13:16:02 EDT 2004



----- Original Message -----
From: Maarten van den Berg <mythtv at ultratux.org>
Date: Wednesday, July 21, 2004 10:26 am
Subject: Re: [mythtv-users] Re: mythbackend crashing - solved

> On Tuesday 20 July 2004 03:39, Ryan Steffes wrote:
> > > >>The culprit was ntpd : it was adjusting time about 10 
> minutes after the
> > > >>PC was up, causing backend to crash.
> > > >>It seems like this problem is specific to MPEG4 encoder.
> > > >
> > > >Does running ntpd with the `-x' option (always slew, never 
> skip) fix
> > > >the problem? If you haven't tried, do the crashes 
> consistently line
> > > >up with *ntp* messages in the logs about "time reset" ?
> > >
> > > I just disabled ntpd and run ntpdate during startup.
> > > This will work for me because I shutdown my Myth PC for night.
> > > BTW, another solution is to run ntpd and never shutdown the PC.
> >
> > Ok my /etc/rc.d/init.d/ntpd uses a:
> >
> > if [ -f /etc/ntp/step-tickers ]; then
> >                 gprintf "Syncing time for ntpd. "
> >                 /usr/sbin/ntpdate -s -b -p 8 -u `cat 
> /etc/ntp/step-tickers`
> >         fi
> 
> And did you check that that file "/etc/ntp/step-tickers" does 
> indeed exist ?
> 
> Maarten
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 

Yep that's not the problem, it contains the address of one ntp server.   Running it manually does indeed update the time.  If the jump is too big, mythbackend flips me the bird and drops on its back.



More information about the mythtv-users mailing list