public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Canek Peláez Valdés" <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] ntpd crashes, system set to UTC
Date: Fri, 23 Aug 2013 17:38:46 -0500	[thread overview]
Message-ID: <CADPrc81N2YDGOd1gy+-G76FBx_Kp3w4FSpLdQKhMcpnvwK=aQQ@mail.gmail.com> (raw)
In-Reply-To: <20130823195356.GA4765@artifex>

On Fri, Aug 23, 2013 at 2:53 PM, Randy Westlund <rwestlun@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	other threads:[~2013-08-23 22:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-23 19:53 [gentoo-user] ntpd crashes, system set to UTC Randy Westlund
2013-08-23 22:38 ` Canek Peláez Valdés [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADPrc81N2YDGOd1gy+-G76FBx_Kp3w4FSpLdQKhMcpnvwK=aQQ@mail.gmail.com' \
    --to=caneko@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox