LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   my clocks are weird (https://www.linuxquestions.org/questions/fedora-35/my-clocks-are-weird-350436/)

boxerboy 08-05-2005 08:05 PM

my clocks are weird
 
hi its me again. i have tried everything to get all 3 clocks to be the same. i set clock in fc4 and than my xp clock was off i wanna say something like 6 hrs. than i got set xp clock to right time nad fc4 clock is off about 6hrs. i changed the bios clock back to right time but its still doing it. is there a reason why they wont work together i am on est in usa if that helps. ive tried utc but at i have tried everything i can think of and everything ive seen on other posts. plz help me
:newbie:

johnMG 08-05-2005 08:12 PM

I'm running FC4 and every time I reboot my clock is 4 hours behind. I have to set it 4 hours ahead every time I start up.

The month, day, and year are always correct.

No idea.

Matir 08-05-2005 08:29 PM

You should take a look at /etc/localtime. Generally speaking, /etc/localtime should be a symbolic link to your current timezone, in /usr/share/zoneinfo. This is mine:
Code:

$ ls -l /etc/localtime
lrwxrwxrwx  1 root root 27 Jan 21  2005 /etc/localtime -> /usr/share/zoneinfo/EST5EDT


johnMG 08-05-2005 08:33 PM

My /etc/localtime is just some wacky-looking binary.

Though the 'file' command thinks differently:
[john@localhost ~]$ file /etc/localtime
/etc/localtime: timezone data

And, it's not a link to anything:

[john@localhost ~]$ ls -l /etc/localtime
-rw-r--r-- 1 root root 1267 Aug 5 21:13 /etc/localtime

Matir 08-05-2005 08:39 PM

Umm, that's odd. :) I guess Fedora does things differently. Do you have a /usr/share/zoneinfo dir?

johnMG 08-05-2005 11:11 PM

> Do you have a /usr/share/zoneinfo dir?

Yup.

Code:

[john@localhost /usr/share/zoneinfo]$ ls -F
Africa/      Canada/  EST      GMT0      Iran        Mexico/  Poland      ROK        WET
America/    CET      EST5EDT  GMT-0      iso3166.tab  Mideast/  Portugal    Singapore  W-SU
Antarctica/  Chile/  Etc/    GMT+0      Israel      MST      posix/      SystemV/  zone.tab
Arctic/      CST6CDT  Europe/  Greenwich  Jamaica      MST7MDT  posixrules  Turkey    Zulu
Asia/        Cuba    Factory  Hongkong  Japan        Navajo    PRC        UCT
Atlantic/    EET      GB      HST        Kwajalein    NZ        PST8PDT    Universal
Australia/  Egypt    GB-Eire  Iceland    Libya        NZ-CHAT  right/      US/
Brazil/      Eire    GMT      Indian/    MET          Pacific/  ROC        UTC


Matir 08-05-2005 11:14 PM

Try doing like mine and create a symbolic link from /etc/localtime to /usr/share/zoneinfo/YOURTIMEZONEOFCHOICEHERE :)

mkoljack 08-05-2005 11:47 PM

boxerboy--I think we were working on the audit daemon problem and you were able to find the Bugzilla numbers. Anyway, I have no idea if this will help you, but I also had the same clock problem and I went into system settings=>date/time and enabled the network time protocol daemon using the default time networks. I clicked OK and the clock was set perfectly. I hope you are able to find the solution.

johnMG 08-07-2005 08:12 PM

Weird.

Did a yum update, and now my date and time are fine between reboots.

Go figure.

/etc/localtime seems the same as before (it's still a binary file, not a symlink).

boxerboy 08-07-2005 09:38 PM

thank you the last time i did /etc/localtimeoh hell i cant reember but ty i will try it again tomorrow sometime and let u know how it went


All times are GMT -5. The time now is 07:53 PM.