Displaying 1 result from an estimated 1 matches for "lantime".
Did you mean:
bantime
2015 Feb 12
4
Why the command 'service ntpd stop' cause the time reversed?
A shell script is deployed to synchronize time, the script is invoked hourly by crontab, and its content is as follows:
#!/bin/bash
service ntpd stop
ntpdate 192.168.0.191 #it's a valid ntpd server in LAN
service ntpd start
chkconfig ntpd on
Inspected the Linux log(Centos6.4 /var/log/messages), found the following fragment:
Jan 7 14:00:01 host1 ntpd[32101]: ntpd exiting on signal 15
Jan 7