Showing posts with label ntp. Show all posts
Showing posts with label ntp. Show all posts

2015-06-30

Leap second added

The leap second has been added, and my systems seem to not have barfed. In particular, I was wary of what the NFS and Lustre file servers and clients would do.

Jun 30 20:00:00 myserver ntpd[5973]: 0.0.0.0 061b 0b leap_event

2013-03-15

ntpdate service on Fedora 18 (Spherical Cow)

I had trouble getting ntp to sync time: starting the ntpdate service gave errors. Manually running ntpdate produced the error message "no server suitable for synchronization found". This answer at serverfault fixed it for me.

Made a change to /etc/sysconfig/ntpdate:

# Options for ntpdate
OPTIONS="-u -p 2"
# Number of retries before giving up
RETRIES=2
# Set to 'yes' to sync hw clock after successful ntpdate
SYNC_HWCLOCK=yes
Then, enable the service and start it:
$ sudo systemctl enable ntpdate.service
$ sudo systemctl start ntpdate.service
An annoyance: systemctl and sysctl are way too similar and do completely different things.