[CentOS] question on hwclock

Wed Feb 18 09:50:05 UTC 2009
MHR <mhullrich at gmail.com>

On Tue, Feb 17, 2009 at 6:08 PM, Jerry Geis <geisj at pagestation.com> wrote:
> I am trying to hwclock to set the time. (hwclock -w)
> this is what I get on standard 5.2 x86_64.
>
>  hwclock --debug
> hwclock from util-linux-2.13-pre7
> hwclock: Open of /dev/rtc failed, errno=19: No such device.
> No usable clock interface found.
> Cannot access the Hardware Clock via any known method.
> [root at devcentos5x64 src]# ls -l /dev/rtc
> crw------- 1 root root 10, 135 Feb  6 13:32 /dev/rtc
>
> Any thoughts?
>

You have to be root or use su/sudo to do this.

HTH

mhr