On Fri, Aug 23, 2013 at 2:53 PM, Randy Westlund <rwest...@gmail.com> wrote:
> Hey guys,
>
> I'm having some trouble with ntpd and my system clock.  Every once and a 
> while, my system time is wrong.  In the past (not having time to look into 
> it), I've just run ntp-client to correct it.
>
> Turns out that ntpd is crashing and `date` reports the UTC time, but thinks 
> it's Eastern.  This time I didn't correct the time and tried rebooting a few 
> times.  ntpd crashes within 5 minutes of boot, leading me to suspect the the 
> time being off is what's causing ntpd to crash.
>
> Info about my system:  I dual boot with windows, so my /etc/conf.d/hwclock 
> looks like this:
>
>> clock="local"
>> clock_systohc="YES"
>> clock_hctosys="YES"
>> clock_args=""
>
> I also have CONFIG_RTC_HCTOSYS and CONFIG_RTC_SYSTORC set in my kernel.
>
> ntpd is in my default runlevel, ntp-client is not.
>
> My /etc/ntp.conf looks like this:
>
>> server 0.gentoo.pool.ntp.org
>> server 1.gentoo.pool.ntp.org
>> server 2.gentoo.pool.ntp.org
>> server 3.gentoo.pool.ntp.org
>> driftfile     /var/lib/ntp/ntp.drift
>> restrict default nomodify nopeer noquery
>> restrict 127.0.0.1
>
> What am I doing wrong?  Where should I look for more information on the 
> problem?

ntpd should not crash no matter what, but what is /etc/localtime?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México

Reply via email to