View previous topic :: View next topic |
Author |
Message |
Crooksey Apprentice
Joined: 26 Apr 2006 Posts: 239 Location: Vatican City
|
Posted: Mon Oct 29, 2007 11:39 am Post subject: Cant seem to set them time permanently |
|
|
Whenever i turn on my laptop, before i can login im getting warning messages:
Code: |
*One of the files in /etc/rc.conf or {/etc.conf.d,init.d/}
*has a time modification in the future
|
This mesage apperas at least 10 times on boot,
Code: |
#/etc/localtime
TZif2GMTTZif2GMT
GMT0
|
Had a search, looked into hwclock, but setting the time with that dosent change anything really, any ideas? |
|
Back to top |
|
|
tgR10 Apprentice
Joined: 23 Oct 2007 Posts: 262 Location: caly ten ambaras
|
Posted: Mon Oct 29, 2007 12:42 pm Post subject: |
|
|
it's happening because you had wrong date before you change it to the correct one, and the file was modified in "the future"
just open it and save again should help _________________ "bo kto ma racje ? ten kto z bliska zobaczy"
"moge nie wiedziec,wchlaniam niewiedze z malych torebek"
http://i12.tinypic.com/4pow0mu.png
http://userbar.tgr.debil.eu/userbar.jpg |
|
Back to top |
|
|
Crooksey Apprentice
Joined: 26 Apr 2006 Posts: 239 Location: Vatican City
|
Posted: Mon Oct 29, 2007 2:37 pm Post subject: |
|
|
Nope. that didnt work. |
|
Back to top |
|
|
ianw1974 Guru
Joined: 18 Oct 2006 Posts: 387 Location: UK and Poland
|
Posted: Mon Oct 29, 2007 2:43 pm Post subject: |
|
|
I generally get this problem when Windows was setting the time, and Linux was configured for UTC as well, and there was a mix-match. Now, I let Windows do its thing, and set the clock to local in Linux. Of course, I'm not in the UK, but now it generally works fine. My BIOS clock runs two hours behind when I open the BIOS, but the time in Windows and Gentoo is fine.
Make sure your region is correct, Europe/London or whatever, and the time - set this in the BIOS, and then see how it goes from there after that.
Alternatively, check /etc/conf.d/clock and see how this is working to make sure you get the time correct - there is option here for syncing time to the BIOS when you shutdown, etc. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Mon Oct 29, 2007 3:34 pm Post subject: |
|
|
For time, set up ntp.
For the complained-about files, identify them and touch them. Read "man find" regarding "mtime". |
|
Back to top |
|
|
|