You are not logged in.
So the time on my Arch box is incorrect, I tried setting it myself doing
timedatectl -set-time <my time here>
but was told:
Failed to set time: Automatic time synchronization is enabled
How can I disable this, so I can set my correct time?
I tried using ntpd -qg, but that didn't work.
Last edited by BabbyUser (2014-08-29 22:21:35)
Offline
Need more information. What does "didn't work" mean? How far off is your time? What else have you done to try to correct it? What wiki topics or forum posts have you read about this common problem (time not right)?
"didn't work" does not tell us anything, other than it's very likely that there is something else wrong with your time configuration, and telling you how to disable ntpd won't fix it.
what is the output of
sudo hwclock --debugand what is the correct local time (time read from a clock on the wall) when you run this command?
Last edited by 2ManyDogs (2014-08-29 01:55:41)
Offline
Need more information. What does "didn't work" mean? How far off is your time? What else have you done to try to correct it? What wiki topics or forum posts have you read about this common problem (time not right)?
"didn't work" does not tell us anything, other than it's very likely that there is something else wrong with your time configuration, and telling you how to disable ntpd won't fix it.
what is the output of
sudo hwclock --debugand what is the correct local time (time read from a clock on the wall) when you run this command?
Output:
hwclock from util-linux 2.25
Using the /dev interface to the clock.
Last drift adjustment done at 1409274062 seconds after 1969
Last calibration done at 1409274062 seconds after 1969
Hardware clock is on UTC time
Assuming hardware clock is kept in UTC time.
Waiting for clock tick...
...got clock tick
Time read from Hardware Clock: 2014/08/29 02:28:36
Hw clock time : 2014/08/29 02:28:36 = 1409279316 seconds since 1969
Fri Aug 29 02:28:36 2014 -0.450330 seconds
~
It's not even Friday yet for me, nor is it 2:28. The time right now is 10:30.
I tried ntpd -qg, editing the /etc/ntp.conf file for servers in my area
I followed this: https://bbs.archlinux.org/viewtopic.php?id=167407
Didn't work, I rmed the /etc/localtime and symlinked from zoneinfo again, set hwclock --systohc --utc and it didn't work.
Offline
I think you can stop ntp with
# systemctl stop ntpd Then yoy can run:
# ntpd -gq For more information: ntp in ArchWiki
Offline
Also, please post the output of timedatectl
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
I think you can stop ntp with
# systemctl stop ntpdThen yoy can run:
# ntpd -gqFor more information: ntp in ArchWiki
It changed 7:51, when the time is 3:51, which is an improvement.
But, it's still wrong ![]()
Offline
Also, please post the output of timedatectl
# timedatectl
Local time: Fri 2014-08-29 19:52:44 UTC
Universal time: Fri 2014-08-29 19:52:44 UTC
RTC time: Fri 2014-08-29 19:52:44
Time zone: n/a (UTC, +0000)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: n/a
#
Offline
It changed 7:51, when the time is 3:51, which is an improvement.
But, it's still wrong
Don't tell me, let me guess. You live on the East coast of North America.
Too bad you you did not respond to my request yet. edit: yes you did
The same time I was posting.
Set your time zone
Last edited by ewaller (2014-08-29 19:58:31)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
BabbyUser wrote:It changed 7:51, when the time is 3:51, which is an improvement.
But, it's still wrong
Don't tell me, let me guess. You live on the East coast of North America.
Too bad you you did not respond to my request yet. edit: yes you did
The same time I was posting.
Set your time zone
I did, but it stays the same, do I need to reboot or?
Offline
ewaller wrote:Set your time zone
I did, but it stays the same, do I need to reboot or?
No, you didn't.
Time zone: n/a (UTC, +0000)
Offline
Please read the wiki. I does have the answer.
The incantation you are looking for is timedatectl set-timezone US/Eastern
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
BabbyUser wrote:ewaller wrote:Set your time zone
I did, but it stays the same, do I need to reboot or?
No, you didn't.
BabbyUser wrote:Time zone: n/a (UTC, +0000)
Oops, appears I didn't. I redid it, and it worked, the time is now set.
Thank you. Marking as SOLVED.
Offline