r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Linux] group for linux REBOL users

Graham
5-Apr-2007
[1196x2]
the main reason I am running this image is so that I have an imap 
server to use with rebelBB !
damm... gone back 12 hours after rebooting.
btiffin
5-Apr-2007
[1198]
how about tzconfig
Graham
5-Apr-2007
[1199x2]
and now it has been set correctly using hwclock --hctosys
don't have a tzconfig program
btiffin
5-Apr-2007
[1201]
Oh, it just makes sure  /etc/localtime is copied from proper /usr/share/zoneinfo 
and puts the tz in /etc/timezone...my directories are for Debian
Graham
5-Apr-2007
[1202x2]
Ok.  Well, Gnome shows me the correct timezone.
Does that help?
btiffin
5-Apr-2007
[1204]
do a cat /etc/timezone
Graham
5-Apr-2007
[1205]
nothing
btiffin
5-Apr-2007
[1206]
Then make sure that /etc/localtime is identical to the /usr/share/zoneinfo/Canada/Eastern 
where the Canada/Eastern part is for me...
Graham
5-Apr-2007
[1207]
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144894
btiffin
5-Apr-2007
[1208]
Other images keep the correct time?  I had to add --directisa  to 
get the system time to hardware in the hwclock executed at shutdown. 
 That was just to get the PC to hold UTC.
Graham
5-Apr-2007
[1209]
one is out by an hour only ( day light saving I guess ).
btiffin
5-Apr-2007
[1210]
What does hwclock --show say
Graham
5-Apr-2007
[1211x2]
Ubuntu says 6:46 EDT April 6, but i have not round to setting this 
up yet.
Gee, all my images have different times!
btiffin
5-Apr-2007
[1213x2]
How about ntpdate.  Does it correct itself?
Fun stuff isn't it.  :)
Graham
5-Apr-2007
[1215x3]
hwclock --show says 10:23 NZST
it's lost 20 mins since I set the time!
ntpdate says socket is being used
btiffin
5-Apr-2007
[1218]
Debian comes with ntpdate-debian that uses ntpdate 0.debian.pool.ntp.org 
 (for the (first) server arg)
Graham
5-Apr-2007
[1219]
How does one set the time from bash ?
btiffin
5-Apr-2007
[1220]
date
Graham
5-Apr-2007
[1221]
I used tzselect to reset the timezone, but the time is still wrong.
btiffin
5-Apr-2007
[1222]
After the tzselect was there an ntpdate or hwclock --hctosys executed?
Graham
5-Apr-2007
[1223x2]
no
hwclock --hctosys is not setting the time correctly now
btiffin
5-Apr-2007
[1225x2]
Off by how many hours?
hwclock --utc  (if hardware is utc) or hwclock --localtime  can effect 
things.
Graham
5-Apr-2007
[1227x2]
20 mins
I used date to set the time correctly .. now going to wait 20 mins 
and see what happens
btiffin
5-Apr-2007
[1229x2]
Write a little script like   forever [print now/exact wait 00:05:00] 
 and log it or just monitor
/exact = /precise sorry.
Graham
5-Apr-2007
[1231]
already lost 2 mins :(
btiffin
5-Apr-2007
[1232x2]
Battery failing...?  Something not right in the system clock ticker?
Or is it just the fedora image?
Graham
5-Apr-2007
[1234x3]
must be a vmware bug
because the actual hardware clock is correct.
and it's just fedora core 6 image that is doing this.
btiffin
5-Apr-2007
[1237]
Something might be eating interrupts...you know to ...help
Graham
5-Apr-2007
[1238x3]
well, the only thing I have running is uniserve, and the imap server
cheyenne
perhaps I should run a script that fixes the date every minute!
btiffin
5-Apr-2007
[1241]
Heehee...if you can't beat 'em
Graham
5-Apr-2007
[1242]
now where is the ntp protocol ?
btiffin
5-Apr-2007
[1243x2]
A google of   fedora time drift vmware  shows a lot of info
Debian I just executed  apt-get install ntp  and then forgot about 
it.
Graham
5-Apr-2007
[1245]
crontab ntpdate !