🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #56334

problem with setting date and time!

#56334
From: Rachel Polanskis
Date: Sun, 16 Mar 1997 00:00
59 lines
2758 bytes
Hi,
Tonight, I had a serious problem caused by a bogus date setting on 
my linux machine.

I noticed it was one hour behind, and all the other boxes were correct, so
I tried to reset the date
using the date command - and I got the message the date I set was invalid.
Then I noticed it had set the date back to the 16th of February, 
which caused my proxy to repeatedly crash, and my mrtg logs got screwed up
entirely, amonst other things. (yes I made sure I put March in there!)

When I tried resetting the date again, It then set it to the 
16 March 2000 EST which once again crashed my proxy and started annoying
me no end.

Next I tried using netdate, to set the date off a networked machine with 
the correct time.
Netdate did not work - the date it set was one hour behind the current
time again!

I took the last resort and rebooted linux (after 23 days uptime) and 
went and looked in the CMOS - the time was correct, although the daylight
saving option was disabled.  
I reenabled daylight saving and reset the clock even though the time
displayed was still the same, and then rebooted.

After logging back in, I checked the date command again, and found I had
finally got the correct time.

I decided to try and synch with netdate again, and guess what?  It was 
displaying one hour behind once more :(

What's going wrong?  
I have a TZ file in /usr/lib/zoneinfo/Australia, but I can't compile
it since it is already compiled.

When the daylight saving bug hit a few people a couple of weeks ago, this
machine was unaffected.  It looks like it went and reset itself ahead of 
time.  

Where can I get a linux compatible current TZ file I can run zic over, 
since the Sun ones I have don't work?

I tried to set the time with netdate off a Sun BTW.

Is there any way to rid Linux's dependency on the BIOS clock 
for setting the time?  

This was really annoying since it made many of my logs unusable...

rachel

                 defghijklmnopqrstuvwxyz:  What? No ABC?
--
Rachel Polanskis                 Kingswood, Greater Western Sydney, Australia 
grove@zeta.org.au                http://www.zeta.org.au/~grove/grove.html
r.polanskis@nepean.uws.edu.au    http://www.nepean.uws.edu.au/ccd/
                Witty comment revoked due to funding cuts
Technical Details
Message-ID: <5ggqcs$lc@janis.virago.org.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,b47639e4cd97a46c,start
X-Google-Attributes: gid102983,public
From: rachel@virago.org.au (Rachel Polanskis)
Subject: problem with setting date and time!
Date: 1997/03/16
Message-ID: <5ggqcs$lc@janis.virago.org.au>
X-Deja-AN: 226110395
Organization: Virago Computer Systems
Reply-To: r.polanskis@nepean.uws.edu.au,grove@zeta.org.au
Newsgroups: aus.computers.linux