Unix Technical Forum

S11.0 does not update change of time??

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 ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 07:37 PM
Manimoto
 
Posts: n/a
Default S11.0 does not update change of time??

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 07:37 PM
Jason Hoss
 
Posts: n/a
Default Re: S11.0 does not update change of time??

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 07:37 PM
ray
 
Posts: n/a
Default Re: S11.0 does not update change of time??

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 07:38 PM
Peter
 
Posts: n/a
Default Re: S11.0 does not update change of time??

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 07:38 PM
mr.b
 
Posts: n/a
Default Re: S11.0 does not update change of time??

On Mon, 30 Oct 2006 07:07:11 -0800, Manimoto wrote:

> Anyone have a clue how to fix this?


I specify EST5EDT as the timezone and all is good.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 07:38 PM
Manimoto
 
Posts: n/a
Default Re: S11.0 does not update change of time??


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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-20-2008, 07:38 PM
Manimoto
 
Posts: n/a
Default Re: S11.0 does not update change of time - SOLVED

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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-20-2008, 07:38 PM
Rich Grise
 
Posts: n/a
Default Re: S11.0 does not update change of time??

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-20-2008, 07:38 PM
Rich Grise
 
Posts: n/a
Default Re: S11.0 does not update change of time??

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-20-2008, 07:38 PM
dfisek@gmail.com
 
Posts: n/a
Default Re: S11.0 does not update change of time??


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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com