Drift file not updating

As a result, a user cannot access shares or query the directory.

This should turn on/off the kernels 11 minute mode?

# hwclock --debug hwclock from util-linux 2.21.2 Using /dev interface to clock. The hardware clock is set during shutdown (in your case, not being involved in any Windows thingies, in UTC). Ok, so that explains why NTPD_FORCE_SYNC_HWCLOCK_ON_STARTUP="yes" does not work for me.

date ..clock tick Time read from Hardware Clock: 2013/08/29 Hw clock time : 2013/08/29 = 1377764892 seconds since 1969 Thu AM UTC -0.849115 seconds # date Thu Aug 29 UTC 2013# ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================== 10.219.219.1 16 u 11 16 0 0.000 0.000 0.000 SHM(0) . The system time (kernel time) is changed by NTP (and is always interpreted as being in millisecs since the epoch in UTC). In short: If NTPD_FORCE_SYNC_ON_STARTUP is set to yes, "/etc/init.d/ntp start" calls "/etc/init.d/ntp ntptimeset", which synchronizes the system time and calls update_cmos afterwards which should set the hwclock if NTPD_FORCE_SYNC_HWCLOCK_ON_STARTUP is yes. Only the server in an included file (which I merged in my posting) is reachable.

rtcsync # Step the system clock instead of slewing it if the adjustment is larger than # one second, but only in the first three clock updates.

makestep 1 3 bindcmdaddress 192.168.0.2 # ipaddress of this DC # The source, where we are receiving the time from server 0iburst server 1iburst server 2iburst allow 192.168.0.0/24 # dns netmask ntpsigndsocket /usr/local/samba/var/lib/ntp_signd # Local clock. server 127.127.1.0 fudge 127.127.1.0 stratum 10 # Where to retrieve the time from server DC1.samdom.iburst prefer server DC2.samdom.iburst driftfile /var/lib/ntp/ntp.drift logfile /var/log/ntp # Access control # Default restriction: Disallow everything restrict default ignore # No restrictions for "localhost" restrict 127.0.0.1 # Enable the time sources only to only provide time to this host restrict DC1.samdom.mask 255.255.255.255 nomodify notrap nopeer noquery restrict DC2.samdom.mask 255.255.255.255 nomodify notrap nopeer noquery .

Leave a Reply

  1. Online mobile video chat 24-Apr-2017 01:40

    Let your dream of true love and happy marriage come true: date Russian and Ukrainian brides for marriage on First attractive Russian brides club.