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? Jerry
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
> > 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
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. >-- Solvention Egermannstr. 6-8 53359 Rheinbach Tel: +49 2226 158179-0 Fax: +49 2226 158179-9 http://www.solvention.de mailto:info at solvention.de -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3425 bytes Desc: not available Url : http://lists.centos.org/pipermail/centos/attachments/20090219/c7c9331a/attachment.bin
Hi, On Tue, Feb 17, 2009 at 21:08, 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: 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
> > 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
Jerry Geis wrote:> after running "hwclock --debug" the two files you mentioned above > did not have anything extra added.Just curious, you are running this on real hardware right not a virtual machine? nate
> > Jerry Geis wrote: > > >/ after running "hwclock --debug" the two files you mentioned above > />/ did not have anything extra added. > / > Just curious, you are running this on real hardware right not > a virtual machine? > > nate >Nate, Your - correct - real hardware... Jerry