[CentOS] question on hwclock

Wed Feb 18 12:55:14 UTC 2009
Jerry Geis <geisj at pagestation.com>

>
> On Tue, Feb 17, 2009 at 6:08 PM, Jerry Geis <geisj at pagestation.com <http://lists.centos.org/mailman/listinfo/centos>> 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 <http://lists.centos.org/mailman/listinfo/centos> 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
>   
I was root when I executed the command.

Jerry