search for: c77_cn

Displaying 3 results from an estimated 3 matches for "c77_cn".

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
2015 Feb 12
2
Why the command 'service ntpd stop' cause the time reversed?
Hi guys, Thanks for your reply. I originally used the following command to synchronize time: ntpdate 192.168.0.191 but got the error: ntpdate[16715]: the NTP socket is in use, exiting So i used the way of stopping ntpd service. Now I have known that using command "ntpdate -u 192.168.0.191" can solve the above error, and also know using ntpdate command is an improper way, i.e. should use
2015 Feb 12
1
Why the command 'service ntpd stop' cause the time reversed?
Hi guys, I don't use virtual machine. The 192.168.0.191 is an internal ntpd server configured by administrator, so i can not see what ntp server it synchronizes to or what is its time reference. But i have added a new line "server 192.168.0.191" into file "/etc/ntp.conf" on ntpd client machines, and the output to execute command ntpstat is as follows: synchronised to NTP