I can't reboot a server to set the hardware clock to UTC time, but CentOS was installed with the assumption that the PC was running UTC. Is it possible to update the hardware clock to the right time and therefore allow CentOS to maintain the right time without rebooting? I am hoping to use this route for consistency versus changing how CentOS interprets the time so all servers are the same. Thanks! jlc
On Thu, Feb 07, 2008 at 09:43:31AM -0700, Joseph L. Casale enlightened us:> I can't reboot a server to set the hardware clock to UTC time, but CentOS was installed with the assumption that the PC was running UTC. > Is it possible to update the hardware clock to the right time and therefore allow CentOS to maintain the right time without rebooting? I am hoping to use this route for consistency versus changing how CentOS interprets the time so all servers are the same. >man hwclock -- Matt Hyclak Department of Mathematics Department of Social Work Ohio University (740) 593-1263
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Joseph L. Casale wrote:> I can't reboot a server to set the hardware clock to UTC time, but CentOS was installed with the assumption that the PC was running UTC. > Is it possible to update the hardware clock to the right time and therefore allow CentOS to maintain the right time without rebooting? I am hoping to use this route for consistency versus changing how CentOS interprets the time so all servers are the same. >rdate -s <ntp.clock.of.choice> e.g. rdate -s clock.psu.edu hwclock --systohc Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFHqz6MCFu3bIiwtTARAr7QAJ415HJSabLjIHMs7CGJ4sQCaLu9hQCeO+Bg 3Na0TL0lgi3DUlTmc+M3SII=zlaZ -----END PGP SIGNATURE-----