View previous topic :: View next topic |
Author |
Message |
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Mon Jun 28, 2010 6:42 pm Post subject: having problem with time |
|
|
If I type date it shows the correct time. 'Hwclock -r' shows the correct time.
But, 'ls -l /etc/localtime' is off by a day. I've been searching on how to sync but have been very successful. Could you point me in the right direction?
With all your knowledge, I am sure this seems trivial but I am working on enhancing security of server and time accuracy is very important.
thanks |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Jun 28, 2010 7:47 pm Post subject: |
|
|
Why do you think /etc/localtime is not sync?
Do a 'zdumb /etc/localtime'
'ls -l /etc/localtime' show you file info and the last modified time.
You can additionally try 'tz' and set the export to /etc/profile.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Mon Jun 28, 2010 8:07 pm Post subject: |
|
|
Its in sync. BTW, shouldn't it be 'zdump' instead of 'zdumb'. Although it does seem appropriate for me
thanks for the reply |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Mon Jun 28, 2010 8:38 pm Post subject: |
|
|
it's 'zdump' alright
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
|