Why not just install xntpd, run it as a daemon, and it will update every
few seconds. From what I can tell it has a light footprint or demand on
system resources. That doesn't solve the original problem though.
Whatever the problem, it sounds like you need to do a:

#hwclock --hctosys

after you have reconfigured your system time to set the hardware clock
to the correct time. And -- what is this about rebooting a server? This
is Linux:

[david@Nemesis david]$ uptime
  7:53pm  up 359 days,  4:34,  1 user,  load average: 0.00, 0.00, 0.00


Jerry Kreps wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Tuesday 18 June 2002 11:01 am, Vasiliy Boulytchev wrote:
> > Ladies and Gents,
> >     I'm having the following problem:  Time changes every time I reboot the
> > server.  I keep changing it back, but the problem still persists.  I did
> > work with hwclock, tzselect and all that.  I can do "export TZ=MDT" to
> > change the timezone, but as soon as I log out, it kicks back so it seems
> > that this is only for the user.  This is really messing my day up.  Can
> > someone point me in the right direction so I can RTFM about this.  Again,
> > here is the problem:
> >
> > 1.) I can't keep the timezone set correctly on the server.  Does it get its
> > values from the hardware clock?
> >
> > THANKS FOR YOUR HELP!
> >
> > Regards,
> > Vasiliy Boulytchev
> > Colorado Information Technologies Inc.
> 
> Installed xntp, if it wan't already installed.
> I have a script in /etc/cron/cron.hourly called settime with the execute
> attribute set.  The script contains:
> #!/bin/bash
> /usr/sbin/ntpdate -b 199.240.130.1
> 
> In the config file /etc/ntp.conf  I added the two server lines below 'fudge'
> server  127.127.1.0     # local clock
> fudge   127.127.1.0 stratum 10
> server  199.240.130.1   # ntp1.kansas.net
> server  199.240.130.12  # ntp2.kansas.net
> in case I ever make xntpd an active service.
> But, once an hour, my clock gets the latest setting from a time server.
> 
> - --
> JLK
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
> 
> iD8DBQE9D52uq1Ef6ZbWHeERAi0oAJ0fKud1yNEn5+c49qcWrvfouOCq+QCg426V
> 6dfP4uzOnrp+L12CdjgSiE0=
> =+XUO
> -----END PGP SIGNATURE-----
> 
>   ------------------------------------------------------------------------
> Want to buy your Pack or Services from MandrakeSoft?
> Go to http://www.mandrakestore.com

-- 
David C. Rankin, J.D., P.E.
RANKIN * BERTIN, PLLC
1329 N. University, Suite D4
Nacogdoches, Texas 75961
(936) 715-9333
(936) 715-9339 fax

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to