Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 03-31-2005, 08:28 AM   #1
Senior Member
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
set system time

I don't know much about clocks.. but in xfce, and when i type clock, or date, i get
Thu 31 Mar 2005 01:21:45 PM BST -0.866873 seconds

when its supposed to be 2:21.
Thu Mar 31 13:27:00 BST 2005

My system's time didn't change with the summer/winter timechange last week.

If i manually set the clock, reboot, it goes back to the wrong time again. How can i correctly fix this problem?
Old 03-31-2005, 08:37 AM   #2
LQ Guru
Registered: Mar 2004
Distribution: Slackware
Posts: 5,671

Rep: Reputation: 500Reputation: 500Reputation: 500Reputation: 500Reputation: 500Reputation: 500
For my part I have a cron for root that set the time everyday at 21:00

0 21 * * * /usr/sbin/ntpdate 1> /dev/null 2> /dev/null

(I set the time server to here as I see you are in UK)
for more servers

Could you post the output with :
ls -l /etc/localtime-copied-from

Last edited by keefaz; 03-31-2005 at 08:43 AM.
Old 03-31-2005, 09:31 AM   #3
Senior Member
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
Sounds like a problem with the hardware clock or you have the wronf locale set for localtime.

Last edited by masonm; 03-31-2005 at 09:33 AM.
Old 03-31-2005, 09:56 AM   #4
Registered: Jun 2002
Location: Nova Scotia
Distribution: Debian (home), Kubuntu 7.04 (work)
Posts: 265

Rep: Reputation: 30
Sounds as if you need to run timeconfig. That should correctly set up /etc/hardwareclock and /etc/localtime.

On my machine, /etc/hardwareclock contains the line:


(indicating that my hardware clock is set to UTC - as it should be), and /etc/localtime is a copy of /usr/share/zoneinfo/Europe/London (I'm in the UK too).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set and sync system time with time server?? servnov Linux - Newbie 6 12-03-2013 08:55 PM
Doub about `net time set` and daylight saving time Thakowbbery Linux - Software 0 10-17-2005 06:23 AM
Erm, how do I set my system date/time? vasudevadas Slackware 4 09-14-2004 04:40 PM
Setting System Time: kernel in wrong time zone warrenweiss Linux - General 7 05-15-2004 04:25 PM
how set system time by command prompt? yenonn Linux - Newbie 9 08-25-2003 07:40 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration