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,
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),
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
3 matches
Mail list logo