The centos 4.x we are using as platform for the VMWare VMs (yes, I know there is version 5, but we need to be compliant with RHEL 4.x because of the ATG requirements) installs by default the NTP client.
Here is sequence of steps that needs to be performed to enable automatic synchronization of the clocks.
- make sure the DNS works
cat /etc/resolv.conf sudo vi /etc/resolv.conf
and check that nameservers point to something meaningfull, e.g:
nameserver 188.8.131.52 nameserver 184.108.40.206 nameserver 192.168.16.1
/sbin/chkconfig --list | grep ntpd
sudo /sbin/chkconfig --level 2345 ntpd on
sudo /usr/sbin/ntpdate pool.ntp.org
sudo /sbin/service ntpd start
Author Miro Adamy
License (c) 2006-2020 Miro Adamy