public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Chronyd settimeofday failure
@ 2012-03-03 13:55 Mick
  2012-03-03 15:55 ` [gentoo-user] " walt
  0 siblings, 1 reply; 3+ messages in thread
From: Mick @ 2012-03-03 13:55 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1500 bytes --]

I am sure that the CMOS battery is dead in this old box and this may be 
related to it, but the error persists even when I restart chronyd after I set 
the date manually:

chronyd[3105]: Fatal error: settimeofday() failed
chronyd[3424]: Could not settimeofday
chronyd[3105]: Fatal error: settimeofday() failed
chronyd[3424]: Fatal error: settimeofday() failed

This is what syslog shows:

Mar  3 13:47:12 lappy chronyd[3424]: chronyd version 1.26 starting
Mar  3 13:47:12 lappy chronyd[3424]: Set system time, error in RTC = 
1169296056129876.500000
Mar  3 13:47:12 lappy chronyd[3424]: Could not settimeofday
Mar  3 13:47:12 lappy chronyd[3424]: Linux kernel major=3 minor=2 patch=1
Mar  3 13:47:12 lappy chronyd[3424]: hz=100 shift_hz=7 freq_scale=1.00000000 
nominal_tick=10000 slew_delta_tick=833 max_tick_bias=1000
Mar  3 13:47:12 lappy chronyd[3424]: Could not open IPv6 NTP socket : Address 
family not supported by protocol
Mar  3 13:47:12 lappy chronyd[3424]: Could not open IPv6 command socket : 
Address family not supported by protocol
Mar  3 13:47:12 lappy chronyd[3424]: Frequency -36.574 +- 0.028 ppm read from 
/etc/chrony/chrony.drift
Mar  3 13:47:21 lappy chronyd[3424]: System trim from RTC = 
1169296066498122.500000
Mar  3 13:47:22 lappy chronyd[3424]: System's initial offset : 
2147481497.991868 seconds fast of true (step)
Mar  3 13:47:22 lappy chronyd[3424]: Fatal error : settimeofday() failed

Should I worry about this?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [gentoo-user] Re: Chronyd settimeofday failure
  2012-03-03 13:55 [gentoo-user] Chronyd settimeofday failure Mick
@ 2012-03-03 15:55 ` walt
  2012-03-03 18:49   ` Mick
  0 siblings, 1 reply; 3+ messages in thread
From: walt @ 2012-03-03 15:55 UTC (permalink / raw
  To: gentoo-user

On 03/03/2012 05:55 AM, Mick wrote:
> I am sure that the CMOS battery is dead in this old box and this may be 
> related to it, but the error persists even when I restart chronyd after I set 
> the date manually:
> 
> chronyd[3105]: Fatal error: settimeofday() failed
> chronyd[3424]: Could not settimeofday
> chronyd[3105]: Fatal error: settimeofday() failed
> chronyd[3424]: Fatal error: settimeofday() failed
> 
> This is what syslog shows:
> 
> Mar  3 13:47:12 lappy chronyd[3424]: chronyd version 1.26 starting
> Mar  3 13:47:12 lappy chronyd[3424]: Set system time, error in RTC = 
> 1169296056129876.500000
> Mar  3 13:47:12 lappy chronyd[3424]: Could not settimeofday
> Mar  3 13:47:12 lappy chronyd[3424]: Linux kernel major=3 minor=2 patch=1
> Mar  3 13:47:12 lappy chronyd[3424]: hz=100 shift_hz=7 freq_scale=1.00000000 
> nominal_tick=10000 slew_delta_tick=833 max_tick_bias=1000
> Mar  3 13:47:12 lappy chronyd[3424]: Could not open IPv6 NTP socket : Address 
> family not supported by protocol
> Mar  3 13:47:12 lappy chronyd[3424]: Could not open IPv6 command socket : 
> Address family not supported by protocol
> Mar  3 13:47:12 lappy chronyd[3424]: Frequency -36.574 +- 0.028 ppm read from 
> /etc/chrony/chrony.drift
> Mar  3 13:47:21 lappy chronyd[3424]: System trim from RTC = 
> 1169296066498122.500000
> Mar  3 13:47:22 lappy chronyd[3424]: System's initial offset : 
> 2147481497.991868 seconds fast of true (step)
> Mar  3 13:47:22 lappy chronyd[3424]: Fatal error : settimeofday() failed
> 
> Should I worry about this?

Maybe the hardware clock is too far off?  Does hwclock -w change anything?




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Re: Chronyd settimeofday failure
  2012-03-03 15:55 ` [gentoo-user] " walt
@ 2012-03-03 18:49   ` Mick
  0 siblings, 0 replies; 3+ messages in thread
From: Mick @ 2012-03-03 18:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 2009 bytes --]

On Saturday 03 Mar 2012 15:55:39 walt wrote:
> On 03/03/2012 05:55 AM, Mick wrote:
> > I am sure that the CMOS battery is dead in this old box and this may be
> > related to it, but the error persists even when I restart chronyd after I
> > set the date manually:
> > 
> > chronyd[3105]: Fatal error: settimeofday() failed
> > chronyd[3424]: Could not settimeofday
> > chronyd[3105]: Fatal error: settimeofday() failed
> > chronyd[3424]: Fatal error: settimeofday() failed
> > 
> > This is what syslog shows:
> > 
> > Mar  3 13:47:12 lappy chronyd[3424]: chronyd version 1.26 starting
> > Mar  3 13:47:12 lappy chronyd[3424]: Set system time, error in RTC =
> > 1169296056129876.500000
> > Mar  3 13:47:12 lappy chronyd[3424]: Could not settimeofday
> > Mar  3 13:47:12 lappy chronyd[3424]: Linux kernel major=3 minor=2 patch=1
> > Mar  3 13:47:12 lappy chronyd[3424]: hz=100 shift_hz=7
> > freq_scale=1.00000000 nominal_tick=10000 slew_delta_tick=833
> > max_tick_bias=1000
> > Mar  3 13:47:12 lappy chronyd[3424]: Could not open IPv6 NTP socket :
> > Address family not supported by protocol
> > Mar  3 13:47:12 lappy chronyd[3424]: Could not open IPv6 command socket :
> > Address family not supported by protocol
> > Mar  3 13:47:12 lappy chronyd[3424]: Frequency -36.574 +- 0.028 ppm read
> > from /etc/chrony/chrony.drift
> > Mar  3 13:47:21 lappy chronyd[3424]: System trim from RTC =
> > 1169296066498122.500000
> > Mar  3 13:47:22 lappy chronyd[3424]: System's initial offset :
> > 2147481497.991868 seconds fast of true (step)
> > Mar  3 13:47:22 lappy chronyd[3424]: Fatal error : settimeofday() failed
> > 
> > Should I worry about this?
> 
> Maybe the hardware clock is too far off?  Does hwclock -w change anything?

Yes it is - but I forgot to say, I usually set the date manually following 
start up, then I run hwclock --systohc and then I restart chronyd.  Lately 
chronyd has started coming up with this settimeofday error.  :-/
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-03 18:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-03 13:55 [gentoo-user] Chronyd settimeofday failure Mick
2012-03-03 15:55 ` [gentoo-user] " walt
2012-03-03 18:49   ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox