You are not logged in.
Pages: 1
Hello,
For some reason my Arch Linux installation appears to be providing various web services with incorrect times - for example GMail thinks it is 6:16AM now yet it says that an email I just sent was sent 8 hours ago. My local time is 2:23PM. I don't have this issue in Windows.
Thanks.
Last edited by RAH (2008-08-02 10:49:02)
Offline
Hello,
For some reason my Arch Linux installation appears to be providing various web services with incorrect times - for example GMail thinks it is 6:16AM now yet it says that an email I just sent was sent 8 hours ago. My local time is 2:23PM. I don't have this issue in Windows.
Thanks.
What have you set your HardwareClock as in rc.conf ? UTC or localtime?
I had the same problem that my time was screwed after installing Arch. I had to manually set the date and time and then update the hardware clock.
You can set the date using the
date
command and then use
hwclock
to set it to the hardware clock. Use the man pages for both to see the syntax
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
HardwareClock is set to localtime.
date and hwclock are displaying the correct details.
Hence not sure where the problem lies here.
Offline
Gmail's time is most likely supplied from Google's servers and not your Arch machine. It may be your Google Account profile settings that is set to the wrong time zone (mine is set correctly to the Eastern Time Zone).
Last edited by kclive18 (2008-07-08 15:37:32)
My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! , OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor
Offline
Gmail's time is most likely supplied from Google's servers and not your Arch machine. It may be your Google Account profile settings that is set to the wrong time zone (mine is set correctly to the Eastern Time Zone).
That is true...but then he would have the same problem in Windows as well - as long as he is talking about the same GMail account.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
This is odd. I changed the time zone to the correct one and it didn't make any difference, but yes it works and has worked fine in Windows. I've noticed the same issue with other things like Kayako.
Offline
Hmm - just noticed something. When I hover my cursor over the clock in Gnome it says (PDT). The time is correct but the time zone is not?
Offline
Is your TIMEZONE setting in /etc/rc.conf correct?
Offline
Changing the timezone to GMT or Greenwich seems to completely knock off my clock, now it's 5 hours ahead. I don't understand why this is so complicated...
Also I can't find how to manually adjust the time, the option in the Gnome manual regarding the adjust time option - that option is not displayed for me. Perhaps it can only be done in root but Gnome doesn't work as root.
Last edited by RAH (2008-08-01 18:11:24)
Offline
Check this out.
What I basically did was adding a time.cron script in /etc/cron.hourly (making sure it was executable):
ntpdate -b <ntp server address here>
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
Check this out.
What I basically did was adding a time.cron script in /etc/cron.hourly (making sure it was executable):
ntpdate -b <ntp server address here>
That's one option but there must be a simpler way surely?
Offline
finferflu wrote:Check this out.
What I basically did was adding a time.cron script in /etc/cron.hourly (making sure it was executable):
ntpdate -b <ntp server address here>
That's one option but there must be a simpler way surely?
yes, just run ntpdate/ntpd as a daemon in rc.conf on boot.
DAEMONS=(syslog-ng !iptables network netfs crond alsa hal fam slim @ntpdate @ntpd !bftpd @lighttpd !sshd !mysqld)
read the wiki and search the forums, there are plenty of old threads with this exact same question, that where solved.
Here is a small list of threads, http://bbs.archlinux.org/search.php?sea … 1502064960
Last edited by rooloo (2008-08-01 22:18:45)
Offline
Here is a small list of threads, http://bbs.archlinux.org/search.php?sea … 1502064960
Search links expire, btw.
Offline
rooloo wrote:Here is a small list of threads, http://bbs.archlinux.org/search.php?sea … 1502064960
Search links expire, btw.
in that case search for 'ntpd clock', you will get same list I had.
Offline
Strange, this one seems to have solved itself after a few reboots. Thanks for everyones help.
Offline
No problem.
I use openntpd to keep my computer's clock correct, and it is very easy to set up: http://wiki.archlinux.org/index.php/Net … l#OpenNTPD
My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! , OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor
Offline
Pages: 1