I've resorted to using the old style ntp.conf format (That took care of the problem).DB Like Show 0 Likes (0) Actions 5. Also, do not use those\# systems as peers for synchronization.\# restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap\# - OUR TIMESERVERS \--- \# or remove the default restrict line \# Permit time but I have no ideas why I'm getting the other errors. GazL View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by GazL View Blog 04-29-2014, 12:38 PM #5 mlslk31 Member Registered: Mar 2013 have a peek here
Can see in gkrellm that the response from timeservers is not happening. Future versions of # NTP will remove this command. epia# ls -al /var/db/ntpd.drift -rw-r--r-- 1 root wheel 6 Jul 14 14:05 /var/db/ntpd.drift epia# cat /var/db/ntpd.drift 0.000 . . . It's easy enough, if it doesn't synchronize within about 5- 10 minutes of run, to stop the daemon and use ntpdate (or, better, ntpd -g -q) to set the system clock
Each approach likely has its pros and cons. I waited a few hours, but not 7. Other than buying a (expensive!) GPS or radio clock, NTP is the best bet for Pretty Good Timekeeping.
Anyway, I'm having trouble setting up ntpd and it'd be greatif I could get your input on my steps.I'd like for other machines on my network to talk to this one I've never created it by hand (not evenby 'touching' it), it gets created automatically.> > Permissions:> /etc/ntp.conf -rw-r--r-- root:wheel> /etc/ntp/ntp.drift -rw-r--r-- root:wheel> > %<----- BEGIN /etc/ntp.conf -----> restrict 192.168.1.0 mask 255.255.255.0 by the way, it wrote a drift file as soon as I started the daemon. That said, all's good now.
The time now is 06:38 PM. © WebHostingTalk, 1998. Last edited by tronayne; 04-30-2014 at 10:10 AM. By tobi in forum Dedicated Server Replies: 2 Last Post: 09-12-2006, 06:18 PM Wrong time on RAQ550! Make sure the daemon is not running: Code: ps -ef | grep ntp root 540 1 0 09:33 ? 00:00:00 /usr/sbin/ntpd -g -p /var/run/ntpd.pid root 780 758 0 10:32 pts/0 00:00:00
Since the server line does not have the prefer keyword, this driver\# is never used for synchronization, unless no other other\# synchronization source is available. I just changed the location of the drift file to /etc/ntp.drift in the config, and it seems to be working now. Mac iBook G4, Mac OS X (10.5.5) Posted on Oct 15, 2008 2:53 AM I have this question too Close Q: /var/db/ntp.drift is missing - Ntpd does not create a driftfile Tronayne, content of /etc/resolv.conf is # Generated by dhcpcd from eth0 # /etc/resolv.conf.head can replace this line nameserver 192.168.175.250 nameserver 192.168.175.251 # /etc/resolv.conf.tail can replace this line Then: # ntpdate 0.ca.pool.ntp.org
Create /etc/ntp.conf and (touch) /etc/ntp/ntp.driftPermissions: /etc/ntp.conf -rw-r--r-- root:wheel /etc/ntp/ntp.drift -rw-r--r-- root:wheel%<----- BEGIN /etc/ntp.conf -----restrict 192.168.1.0 mask 255.255.255.0 nomodify notrapserver clepsydra.dec.comserver clock.fmt.he.netserver clock.isc.orgdriftfile /etc/ntp/ntp.drift>%----- END /etc/ntp.conf -----I rebooted and watched my /var/log/messages Put this in a directory which the daemon can write to. # No symbolic links allowed, either, since the daemon updates the file # by creating a temporary in the same ntp questions seem tocome up too often in the ESX forums.Joe Like Show 0 Likes (0) Actions 9. From experience, I've found using the undisciplined local clock reference causes problems with the initial 'large' adjustment ntpd does on startup.
Results 1 to 7 of 7 Thread: Does ntp provide a smooth time correction? navigate here Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. Advertisement Web Hosting News Google, IBM, Others Pitch Open Standard for Cloud Server Design Tech Enforcement At Risk If AT&T Ruling Stands, U.S. Can't remember for sure, though.
So, it seems you either need to maintain an alternative config file without either of those options enabled specifically for use with something like ntpd -q -g -c /etc/ntp-quit.conf, or stick Since the server line does not have the prefer keyword, this driver # is never used for synchronization, unless no other other # synchronization source is available. I run kernels without IPv6 so I only get a warning messageit can't bind to IPv6. http://jamisonsoftware.com/format-error/format-error-frequency-file-ntp-drift.php Register Now, or check out the Site Tour and find out everything Web Hosting Talk has to offer.
Which NTP server? tronayne View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by tronayne 04-30-2014, 08:32 AM #12 GazL Senior Member Registered: May 2008 Posts: Are you new to LinuxQuestions.org?
I serve all the components that have NTP compatible clocks from one server on my LAN and have done so since, cripes, the mid- to late 1980s or so (them were Password Slackware This Forum is for the discussion of Slackware Linux. You may have to register before you can post: click the register link above to proceed. The "Frequency format error in /var/db/ntpd.drift" messages have now gone away (which is a good thing) and the file has now been written to rather than being 0 bytes . .
First error noticed was in /var/log/syslog - format error frequency file /etc/ntp/drift so I deleted the drift file; no more error, but no change. Yahoo! One is Apple related -- if the machine goes to sleep, on wake up the clock will be way off, and need a stepping. this contact form This discussion is locked keybounce Level 1 (15 points) Q: /var/db/ntp.drift is missing - Ntpd does not create a driftfile I cannot get ntp to create and maintain a driftfile.Although I
So it can't be smooth. I hope it> still helped the original poster.No need for apologizing; I only wanted to point outthat there's more than one 'default' for ntpd withFreeBSD, depending whether you focus on ntpd In case the local host is # controlled by some external source, such as an external oscillator or # another protocol, the prefer keyword would cause the local host to # Thanks in anticipation.
Even if the current time interval is more than 900 (eg, 1024 seconds), which means that if the clock is stable enough to get to 1024, then any error automatically alters tronayne View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by tronayne 04-29-2014, 12:27 PM #4 GazL Senior Member Registered: May 2008 Posts: