System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

no output for hwclock on RHEL4

 
Leonard C.
Frequent Advisor

no output for hwclock on RHEL4

DL380G4 server including RedHat Enterprise Linux4

There is no output for hwclock command
syslog:
kernel: set_rtc_mmss: can't update from 49 to 2

Any idea?
4 REPLIES
J. Maestre
Honored Contributor

Re: no output for hwclock on RHEL4

Not even with --debug? Does the /dev/rtc device exist?
Leonard C.
Frequent Advisor

Re: no output for hwclock on RHEL4

rtc file already exists.

hwclock --debug :

hwclock from util-linux-2.11y
hwclock: Open of /dev/rtc failed, errno=16: Device or resource busy.
Using direct I/O instructions to ISA clock.
Last drift adjustment done at 1262431702 seconds after 1969
Last calibration done at 1262431702 seconds after 1969
Hardware clock is on local time
Assuming hardware clock is kept in local time.
Waiting for clock tick...
...got clock tick
J. Maestre
Honored Contributor

Re: no output for hwclock on RHEL4

The directISA method seems to work then. Check if /dev/rtc is being used (maybe locked) by some other process:

fuser /dev/rtc

Also check if there are updates available for the util-linux package. There were some hwclock related issues in the 2.11 and 2.12 versions.

Besides the hwclock problem, is your clock actually drifting?
Steven E. Protter
Exalted Contributor

Re: no output for hwclock on RHEL4

Shalom,

System needs a update to current update.

Also boot it and make sure the hardware clock is working.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com