You are not logged in.

#1 2012-10-07 07:51:27

hungryb
Member
Registered: 2012-10-07
Posts: 3

[SOLVED] System clock / Timezone issues

Hey everyone,

The issue, as it appears to me, is that arch is assuming that my timezone is +00:00, or UTC. I don't really understand why (it should be +10:00) but here is the output to the frequently requested information for this issue

$ cat /etc/adjtime
0.000000 1349592374 0.000000
1349592374
UTC
$ date
Sun Oct  7 07:42:52 UTC 2012
$ date --utc
Sun Oct  7 07:43:18 UTC 2012
$ hwclock --debug
hwclock from util-linux 2.22
Using /dev interface to clock.
Last drift adjustment done at 1349592374 seconds after 1969
Last calibration done at 1349592374 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/07 07:43:54
Hw clock time : 2012/10/07 07:43:54 = 1349595834 seconds since 1969
Sun 07 Oct 2012 07:43:54 UTC  -0.969672 seconds
$ ls -l /etc/localtime
lrwxrwxrwx 1 root root 37 Oct  7 06:39 /etc/localtime -> /usr/share/zoneinfo/Austalia/Brisbane
$ hwclock --show --utc
Sun 07 Oct 2012 07:44:53 UTC  -0.687942 seconds
$ hwclock --show --localtime
Sun 07 Oct 2012 07:44:57 UTC  -0.281630 seconds

I'm using sytemd, have no rc.conf file, my BIOS clock reported being in UTC. I've been trying to fix this issue for the past few hours (including searching the wiki entries for time, beginner's guide, systemd and many other user's issues related to the clocks/timezones.)

I hope it's just a case of I missed something crucial somehow. Any help is greatly aprpeciated smile

Last edited by hungryb (2012-10-07 08:40:58)

Offline

#2 2012-10-07 08:33:32

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED] System clock / Timezone issues

only thing I can think of, does /usr/share/zoneinfo/Australia/Brisbane exist? Maybe reinstall tzdata to make sure it's there and not corrupted or something?

How about trying Australia/Queensland?

Last edited by Scimmia (2012-10-07 08:38:47)

Online

#3 2012-10-07 08:40:45

hungryb
Member
Registered: 2012-10-07
Posts: 3

Re: [SOLVED] System clock / Timezone issues

Yep that was it. Reinstalled tzdata, recreated the symlink and rebooted.

Thanks a lot Scimmia smile

Last edited by hungryb (2012-10-07 08:41:55)

Offline

#4 2012-10-07 08:44:34

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: [SOLVED] System clock / Timezone issues

You didn't need to reinstall tzdata.  The reason for your error was a typo in the symlink
lrwxrwxrwx 1 root root 37 Oct  7 06:39 /etc/localtime -> /usr/share/zoneinfo/Austalia/Brisbane

Offline

#5 2012-10-07 08:58:05

hungryb
Member
Registered: 2012-10-07
Posts: 3

Re: [SOLVED] System clock / Timezone issues

skunktrader wrote:

You didn't need to reinstall tzdata.  The reason for your error was a typo in the symlink
lrwxrwxrwx 1 root root 37 Oct  7 06:39 /etc/localtime -> /usr/share/zoneinfo/Austalia/Brisbane

Yeah, that's true, but I'd been remaking symlinks and changing the clock for a while before that iteration, I think it was only that version of the symlink that contained a spelling error.

Offline

Board footer

Powered by FluxBB