You are not logged in.
Pages: 1
A few days ago the time on my computer changed, it was 1 hour late. Since today the dalight saving started/ended in Hungary its now 2 hours late. I tought that I might have misconfigured the timezone, so I trie dto change it as its writtten in this wiki, but if I try timedatectl status or timedatectl set-timezone Europe/Budapest I get
[matyilona@localhost ~]$ timedatectl set-timezone Europe/Budapest
Failed to issue method call: Launch helper exited with unknown return code 1
[matyilona@localhost ~]$ timedatectl status
Failed to issue method call: Launch helper exited with unknown return code 1Whats wrong?
Last edited by matyilona200 (2012-10-29 18:31:25)
Offline
According to some threads you might get this error because you're not booting with systemd.
https://bbs.archlinux.org/viewtopic.php … 07#p930207
https://bbs.archlinux.org/viewtopic.php … 8#p1182598
Edit:
I'm still using initscripts and if I run the commands you did, I get the same error.
If you're using initscripts too, what's the output of 'ls -l /etc/localtime' and 'hwclock -D'?
Last edited by karol (2012-10-28 22:26:39)
Offline
Yes I'm using initsripts. theres the output:
[matyilona@localhost ~]$ ls -l /etc/localtime
lrwxrwxrwx 1 root root 35 Jun 21 12:39 /etc/localtime -> /usr/share/zoneinfo/Europe/Budapest
[matyilona@localhost ~]$ hwclock -D
hwclock from util-linux 2.22.1
Using /dev interface to clock.
Last drift adjustment done at 0 seconds after 1969
Last calibration done at 0 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: 2012/10/29 18:00:53
Hw clock time : 2012/10/29 18:00:53 = 1351533653 seconds since 1969
Mon 29 Oct 2012 07:00:53 PM CET -0.949399 secondsEdit: Yesterday I tried editing /etc/adjtime, it didnt work, so I changed it back to original. but now the clock is about 7 hour early.
Last edited by matyilona200 (2012-10-29 11:15:15)
Offline
Last drift adjustment done at 0 seconds after 1969
Last calibration done at 0 seconds after 1969This doesn't sound right :-)
Try editing /etc/adjtime so it looks more like this:
$ cat /etc/adjtime
0.000000 1348781591 0.000000
1348781591
UTCTry setting the time to the correct hour https://wiki.archlinux.org/index.php?ti … #Set_clock
Offline
Thank you, hwclock --set worked! Now it's:
[matyilona@localhost ~]$ ls -l /etc/localtime
lrwxrwxrwx 1 root root 35 Jun 21 12:39 /etc/localtime -> /usr/share/zoneinfo/Europe/Budapest
[matyilona@localhost ~]$ hwclock -D
hwclock from util-linux 2.22.1
Using /dev interface to clock.
Last drift adjustment done at 1351535280 seconds after 1969
Last calibration done at 1351535280 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: 2012/10/29 18:33:06
Hw clock time : 2012/10/29 18:33:06 = 1351535586 seconds since 1969
Mon 29 Oct 2012 07:33:06 PM CET -0.355628 secondsOffline
Pages: 1