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@devcentos5x64 src]# ls -l /dev/rtc crw------- 1 root root 10, 135 Feb 6 13:32 /dev/rtc
Any thoughts?
Jerry
On Tue, Feb 17, 2009 at 6:08 PM, Jerry Geis geisj@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@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
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
Hi,
On Tue, Feb 17, 2009 at 21:08, 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: Open of /dev/rtc failed, errno=19: No such device. />/ Any thoughts? / Do you have SELinux enabled?
Have you checked /var/log/audit/audit.log or /var/log/messages if the first doesn't exist?
HTH, Filipe
Filipe,
I have selinux disabled. more /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=disabled
after running "hwclock --debug" the two files you mentioned above did not have anything extra added.
audit.log just has stuff about drond
messages just has stuff about dhcp.
Jerry
A Virtual Machine? These often don't have their own hwclock...
Am Dienstag, den 17.02.2009, 21:08 -0500 schrieb Jerry Geis:
this is what I get on standard 5.2 x86_64.
Hi,
On Tue, Feb 17, 2009 at 21:08, Jerry Geis geisj@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: Open of /dev/rtc failed, errno=19: No such device. Any thoughts?
Do you have SELinux enabled?
Have you checked /var/log/audit/audit.log or /var/log/messages if the first doesn't exist?
HTH, Filipe