This is a discussion on S11.0 does not update change of time?? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I did an upgrade from 10.2 -> 11.0, i.e. did not do a complete reinstall. Everything went well, and ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| I did an upgrade from 10.2 -> 11.0, i.e. did not do a complete reinstall. Everything went well, and the system is running with no problems. However two days ago when Ontario, Canada switched from summer time, the time was not automatically updated on the pc. This also happened on a friend's pc on which I had installed S11.0 from scratch. This has never happened before, and I have been using Slackware since version 3 - I think I still have diskettes with v3.5 :-) Anyone else experience this? In /etc there is a a soft link "localtime-copied-from" pointing to /usr/share/zoneinfo/Canada/Eastern. There is also a regular file called localtime. I set the time back on the pc to before the time change ; reran "/usr/sbin/timeconfig" ; changed the pc time to after the summer hours change over and still the pc did not automatically update the pc time. I don't know enough to investigate this. All I have on system is man pages for tzselect and tzfile. Even using tzselect does not solve this. Anyone have a clue how to fix this? THX |
| |||
| Manimoto wrote: > I did an upgrade from 10.2 -> 11.0, i.e. did not do a complete > reinstall. > Everything went well, and the system is running with no problems. > However two days ago when Ontario, Canada switched from summer time, > the time was not automatically updated on the pc. This also happened on > a friend's pc > on which I had installed S11.0 from scratch. > This has never happened before, and I have been using Slackware since > version 3 - > I think I still have diskettes with v3.5 :-) > > Anyone else experience this? > > In /etc there is a a soft link "localtime-copied-from" pointing to > /usr/share/zoneinfo/Canada/Eastern. There is also a regular file called > localtime. > > I set the time back on the pc to before the time change ; reran > "/usr/sbin/timeconfig" ; > changed the pc time to after the summer hours change over and still the > pc did not > automatically update the pc time. > > I don't know enough to investigate this. All I have on system is man > pages for tzselect and tzfile. > Even using tzselect does not solve this. > > Anyone have a clue how to fix this? > > THX Not sure if this is a zone specific issue, but I am using the /usr/share/zoneinfo/US/Michigan and had no problem with the time change back to EST. Sorry I am not much help but maybe there is something with Canada/Easten. Gecko |
| |||
| On Mon, 30 Oct 2006 07:07:11 -0800, Manimoto wrote: > I did an upgrade from 10.2 -> 11.0, i.e. did not do a complete > reinstall. > Everything went well, and the system is running with no problems. > However two days ago when Ontario, Canada switched from summer time, > the time was not automatically updated on the pc. This also happened on > a friend's pc > on which I had installed S11.0 from scratch. > This has never happened before, and I have been using Slackware since > version 3 - > I think I still have diskettes with v3.5 :-) > > Anyone else experience this? > > In /etc there is a a soft link "localtime-copied-from" pointing to > /usr/share/zoneinfo/Canada/Eastern. There is also a regular file called > localtime. > > I set the time back on the pc to before the time change ; reran > "/usr/sbin/timeconfig" ; > changed the pc time to after the summer hours change over and still the > pc did not > automatically update the pc time. > > I don't know enough to investigate this. All I have on system is man > pages for tzselect and tzfile. > Even using tzselect does not solve this. > > Anyone have a clue how to fix this? > > THX I've found the most reliable fix to be to run ntp. |
| |||
| On Mon, 30 Oct 2006 07:07:11 -0800, Manimoto wrote: snip... > Everything went well, and the system is running with no problems. > However two days ago when Ontario, Canada switched from summer time, > the time was not automatically updated on the pc. This also happened on > a friend's pc > on which I had installed S11.0 from scratch. > This has never happened before, and I have been using Slackware since > version 3 - > I think I still have diskettes with v3.5 :-) > > Anyone else experience this? > > In /etc there is a a soft link "localtime-copied-from" pointing to > /usr/share/zoneinfo/Canada/Eastern. There is also a regular file called > localtime. > > I set the time back on the pc to before the time change ; reran > "/usr/sbin/timeconfig" ; > changed the pc time to after the summer hours change over and still the > pc did not > automatically update the pc time. > > I don't know enough to investigate this. All I have on system is man > pages for tzselect and tzfile. > Even using tzselect does not solve this. > > Anyone have a clue how to fix this? > > THX The problem is some ambiguity in the time zones names. There is (for the US) a whole suite of US/region time zones. Then later, there is America/City, or in your case Canada/TZ. If you select the latter, your time will change. If you select the former, it will not. As for the other user's suggestion about using ntp, that will have no effect as it pulls in UTC always and only. Use the timeconfig program. -- Peter |
| |||
| Peter wrote: > On Mon, 30 Oct 2006 07:07:11 -0800, Manimoto wrote: > > The problem is some ambiguity in the time zones names. There is (for the > US) a whole suite of US/region time zones. Then later, there is > America/City, or in your case Canada/TZ. If you select the latter, your > time will change. If you select the former, it will not. Canada/Eastern is already being used. Could you guys check whether you are using /etc/localtine or /etc/@localtime-copied-from -> what??? > As for the other user's suggestion about using ntp, that will have no > effect as it pulls in UTC always and only. > > Use the timeconfig program. I have set pc time to before summer hours changeover ; reran /usr/sbin/timeconfig ; and then set pc time to after changeover, but still no automatic update. As to another poster who said use ntp, I do anyways...every 5 days a cron script uses ntp to synch pc clock, but that is not the point. All previous Slackware installs used to do the auto update. As well, it would be better to understand this problem, no? Thanks for the feedback - I'll keep trying to find some help and will post here if anything comes up. However if you know what causes this problem and / or the fix please LET US KNOW :-) BTW I'm posting another S11.0 problem(?) separately under the title of "HOTPLUG+FLOPPY Problem...." THX all |
| |||
| Ok, I "solved" the problem by reinstalling glibc-zoneinfo and glibc. I did it by first deleting "/etc/localtime" and "/etc/localtime-copied-from", the "upgradepkg --reinstall" then reran /usr/sbin/timeconfig. I set the clock to Oct 29, 01:59, waited 1 minute and sure enough the time changed from EDT to EST correctly. Perhaps doing the initial upgrade something went wrong. So problem solved but still don't know what caused it for sure. Lesson learned: it at first you don't succeed....reinstall !!! Thx again to all of you! |
| |||
| On Mon, 30 Oct 2006 08:09:06 -0800, Manimoto wrote: > Thanks for the feedback - I'll keep trying to find some help and will > post here if anything comes up. Possibly interestingly, I was just looking into exactly the same thing, and while googling, I stumbled on this: http://www.wikihow.com/Change-the-Timezone-in-Linux I've done it to three of the computers in my office and server room, and they're working like a champ - I just arbitrarily decided to set the HW clock to UTC, made a symlink like they say on that webpage, and ran ntpdate pool.ntp.org - first it said offset 28,000 seconds or something, then I ran it again, and got offset like 3 ms, then I did "date", and it printed out the right timezone (PST), albeit I don't know how it's going to date this post, for example. I guess it's easy enough to check, duh (I'm fining myself .3 BOZO points for that one. ;-) ) Cheers! Rich |
| |||
| On Mon, 30 Oct 2006 19:06:17 +0000, Rich Grise wrote: > I guess it's easy enough to check, duh (I'm fining myself .3 BOZO > points for that one. ;-) ) Kewl! I'm finally on the same clock as the rest of the world! There's something profound-feeling about that. ;-) Cheers! Rich |
| ||||
| Manimoto wrote: > However two days ago when Ontario, Canada switched from summer time, > the time was not automatically updated on the pc. This also happened on > a friend's pc > on which I had installed S11.0 from scratch. > This has never happened before, and I have been using Slackware since > version 3 - > I think I still have diskettes with v3.5 :-) > Anyone else experience this? My Slackware systems which were running at the exact time of the wintertime switch were automatically updated but the systems which were offline during the switch did not update themselves automatically after they were turned on. - dfisek |