Displaying 20 results from an estimated 148 matches for "hwclock".
2009 Feb 18
7
question on hwclock
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...
2009 Apr 05
3
hwclock and util-linux on 5.3
I am getting this error:
hwclock --debug
hwclock from util-linux-2.13-pre7
hwclock: Open of /dev/rtc failed, errno=16: Device or resource busy.
No usable clock interface found.
Cannot access the Hardware Clock via any known method.
[root at devcentos5x64 src]# uname -a
Linux devcentos5x64.msgnet.com 2.6.18-128.el5 #1 SMP Wed Jan 2...
2010 Nov 12
7
hwclock problem
Hi.
I run peridocally (from cron) on all of my machines
30 * * * * root /sbin/hwclock --systohc
All of those machines in question take their time via NTP
from the same local server, and that server gets its time
from a ntp pool.
Now I had to reboot a couple of them two days ago and to my surprise
all had problems with the time upon booting.
Here are the important files:
[root at...
2009 Apr 23
2
xen and hwclock
.../DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1">
</HEAD>
<BODY>
Hello All, I have a problem with hwclock on centos 5.3. in xen guest environment<FONT COLOR="#000000">.</FONT><BR>
<BR>
# hwclock --debug<BR>
hwclock from util-linux-2.13-pre7<BR>
hwclock: Open of /dev/rtc failed, errno=19: No such device.<BR>
No usable clock interface found.<BR>
C...
2015 Feb 07
0
lost at 'repository' entry installing centos7
...:
> On Sat, Feb 07, 2015 at 01:05:58PM -0600, g wrote:
>> so much for all that.
>>
>> i just thought it was working. :-(
>>
>> only way i can get system clock to show correct CST is to set bios
>> clock to CST.
>
> I suggest reading the man page for 'hwclock'. Namely, the --utc
> option. If you don't tell your system that the BIOS is stored as UTC,
> then it will assume it's local time.
i have run 'man hwclock' so many times that the a, c, h, k, l, m, n, o
keys have gray lettering and the rest are black. so i now have one
t...
2015 Feb 07
2
lost at 'repository' entry installing centos7
On Sat, Feb 07, 2015 at 01:05:58PM -0600, g wrote:
> so much for all that.
>
> i just thought it was working. :-(
>
> only way i can get system clock to show correct CST is to set bios
> clock to CST.
I suggest reading the man page for 'hwclock'. Namely, the --utc
option. If you don't tell your system that the BIOS is stored as UTC,
then it will assume it's local time.
--
Jonathan Billings <billings at negate.org>
2012 Aug 09
6
Strange issue with system time being off
Hi all,
I am having an issue with some older CentOS 5.3 servers. Every time
the server boots, it gives the error "Cannot access the hardware clock
by any known method", and then promptly sets the time 5 hours behind
the hardware clock, down to the second.
After the system is up. "hwclock" works fine. hwclock --debug does not
show any error at all.
The hardware clock is configured in local time. /etc/sysconfig/clock
is set to UTC=false and ZONE="America/Chicago". /etc/localtime is a
copy of Chicago's zone file. /etc/adjtime is configured with "LOCAL"
as...
2011 Jul 12
1
Problem in linux domU re: /dev/rtc and hwclock
Hi all,
One of our domU VMs (CentOS 5.6 x86_64) runs a cobol application,
which in turn called ''clock'' to get timestamps. Changing this is
non-trivial.
When I try to call ''clock --debug'' I get:
[root@vm0010 ~]# clock --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.
The device exists:
[root@vm0010 ~]# ls -lah /dev/rtc
crw------- 1 root root 10, 135 Jul 12 18:00 /dev/rtc
As I underst...
2006 Jul 19
7
Sync hardware clock
Does any know of a way to sync the hardware clock without a reboot?
Graham Johnston
Senior Network Analyst
Westman Communications Group
204.725.4300 ext 382
johnstong at westmancom.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20060719/70ef23ce/attachment-0002.html>
2010 Dec 16
3
Icecast Logs Timestamp in UTC
Hello,
I'm having a major problem with the timestamps in both the Icecast access.log and error.log. The timestamp on the logfiles themselves is accurate, but the logging of the various connections to my streams is in UTC. No matter how I try to configure the hwclock or the system clock, the log timestamp is always UTC, which is 8 hours ahead of my current time zone. I've even tried setting the hwclock to localtime, but to no avail.
I've just updated and compiled to the newest kernel as well, but that still hasn't solved the problem. Clearly, I...
2011 Mar 04
3
Updating hardware clock from cron
...be off by a lot when it comes back up. So setting
it periodically from a cron job could be useful.
What do others do? Adding a one liner to /etc/cron.daily that invokes
/etc/rc.d/init.d/ntpd would do it but it seems heavyweight to restart ntpd.
Alas, the script doesn't export just the sync_hwclock function.
2007 Mar 21
3
Lotus Notes and Daylight Saving Time
...ge from CET to CEST on sunday.
Tests have shown, that calendar entries will get shifted one hour
after DST started. If you open an entry there is an info, that the event
is located in a different timezone.
From a Windows point of view this is perfectly normal, because
Windows changes the hwclock to the new version of localtime on every DST
event. It doesn't change the timezone it lives in because there is no
need to.
Linux on the other hand takes care about DST in software. (compare
http://tldp.org/HOWTO/TimePrecision-HOWTO/index.html )
And so LotusNotes gets confused. You c...
2009 Mar 13
4
date differs permanent some 3450 sec.
Hi,
the date jumps within 30 seconds to a wrong value. ntp service is
stopped at the beginning.
Whereas hwclock seems more precise.
[root at kerio ~]# service ntpd stop
Shutting down ntpd: [ OK ]
[root at kerio ~]# ntpdate 0.centos.pool.ntp.org
13 Mar 07:04:48 ntpdate[23003]: step time server 131.234.137.24 offset
-3450.678273 sec
[root at kerio ~]# hwclock...
2001 Mar 23
1
Timeserver sending wrong time to Windows Clients
...MT.
The problem I am having is that my windows clients do not get the right
time no matter what I set the zoneinfo or timezone or Linux system clock
to. It almost appears that my zoneinfo of [America/Chicago] adds 6 hours
to GMT instead or subtracting 6 hours to get the correct local time.
If the hwclock is set to GMT and zoneinfo is set to [no selection], the
windows boxes get GMT. (i.e. correct time + 6 hours).
If the hwclock is set to GMT and zoneinfo is set to [America/Chicago]
(CST), the windows boxes get GMT + 6 (i.e. correct time + 12 hours) -
Totally Bizarre!
I have tried every combinatio...
2011 May 20
5
Ubuntu Lucid as PV domU on Xen4.0
...4.2-1 Tools to manage
Xen virtual servers
I just realized that lucid rules are pointing to karmic
lrwxrwxrwx 1 root root 8 May 14 22:17 /usr/lib/xen-tools/lucid.d -> karmic.d
and for example rule for removing hwclock from init is calling
update-rc.d [1], but lucid is not using SysV-rc.
server2:~# grep chroot /usr/lib/xen-tools/karmic.d/15-disable-hwclock
chroot ${prefix} /usr/sbin/update-rc.d -f hwclock.sh remove
So there are probably also other steps needed to add or modify to get it
working.
After the do...
2020 Apr 30
2
sync guest time
...on a running fc32 guest (using guest agent):
```
[root@virt-launcher-vmi-masquerade-mh2xm /]# virsh domtime 1 --pretty
Time: 2020-04-30 23:27:29
[root@virt-launcher-vmi-masquerade-mh2xm /]# virsh domtime 1 --sync
error: internal error: unable to execute QEMU agent command
'guest-set-time': hwclock failed to set hardware clock to system time
# now, this one works.
[root@virt-launcher-vmi-masquerade-mh2xm /]# virsh domtime 1 --now
[root@virt-launcher-vmi-masquerade-44v2x /]# virsh domtime 1 --pretty
Time: 2020-04-30 11:15:45
```
This is the simplest reproducer I could come with; the origin...
2001 Mar 08
0
Timeserver Timezone Mismatch BUG?
I am having a terrible time getting the hardware clock, system clock and
the time served to my winXX boxes to jive on my Mandrake 7.2/Samba 2.07
machine. I have my clock file, timezone and localtime links set to
America/Chicago. No matter what I do, if I use UTC for my hwclock, my
system clock on the Linux box is fine, but samba passes system time +6
hours to the windows clients. (Yes I know CST = UTC - 6) I really do not
believe that this is a samba issue.
I have searched in vain through all of the documentation I can find, the
alt.os.linux.mandrake list, the comp.prot...
2001 Mar 08
0
Timeserver Timezone Mismatch -- BUG?
...is a repost of my
problem.
I am having a terrible time getting the hardware clock, system clock and
the time served to my winXX boxes to jive on my Mandrake 7.2/Samba 2.07
machine. I have my clock file, timezone and localtime links set to
America/Chicago. No matter what I do, if I use UTC for my hwclock, my
system clock on the Linux box is fine, but samba passes system time +6
hours to the windows clients. (Yes I know CST = UTC - 6) I really do not
believe that this is a samba issue.
I have searched in vain through all of the documentation I can find, the
alt.os.linux.mandrake list, the comp.pr...
2006 Oct 11
3
NTP and hardware clock
...e hardware clock was kept in sync,
but now after rebooting without network, the system clock was skewed.
Is there some way to:
+ Make ntpd run, even when no ntp-server could be contacted
+ Make ntpd synchronise the hardware clock automatically
PS Yes, I know I can run ntpdate from cron or run hwclock to synchronize
my hardware clock. But shouldn't this be part of the infrastructure
(either ntpd or the initscripts) ?
Maybe this is useful to have fixed upstream, but I prefer to hear second
opinions before trying to be smart :)
Kind regards,
-- dag wieers, dag at wieers.com, http://da...
2006 Oct 12
5
DO NOT REPLY [Bug 4168] New: Random file has vanished when syncing clock with ntpdate/hwclock ?
https://bugzilla.samba.org/show_bug.cgi?id=4168
Summary: Random file has vanished when syncing clock with
ntpdate/hwclock ?
Product: rsync
Version: 2.6.4
Platform: x86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: baco@infomaniak.ch
QAContact: r...