You are not logged in.

#1 2012-11-08 04:14:55

morphjk
Member
Registered: 2010-06-10
Posts: 59

[SOLVED] Timezone issue with Mythtv

I've just gotten home and have gone to use Mythtv frontend in the lounge room but I am getting the issue:

Your frontend and backend are configured in different timezones. You must correct this mismatch to continue

This has also recently happened on the frontend out the backroom but I haven't had a chance to look at it. But now that the one in the lounge room has done it I will have to get it sorted. I use NTP on the system to keep the time in sync but it doesn't seem to be the issue. Seems to be related to Mythtv. I haven't changed anything on the system at all.

My system is still using rc.conf

So I am hoping someone might be able to help me correct this issue?

Last edited by morphjk (2012-11-08 10:15:40)

Offline

#2 2012-11-08 04:17:17

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Timezone issue with Mythtv

Maybe /etc/localtime and /etc/timezone ?

Offline

#3 2012-11-08 04:24:30

morphjk
Member
Registered: 2010-06-10
Posts: 59

Re: [SOLVED] Timezone issue with Mythtv

WonderWoofy wrote:

Maybe /etc/localtime and /etc/timezone ?

In the /etc/localtime it comes up with:

TZif2^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^D^@^@^@^D^@^@^@^@^@^@^@�^@^@^@^D^@^@^\^@^EP^[�^E�8�^G/��^G^Oß     ���
���^K�^Y^@^L��^@
~�^@^N��^@^O^�^@^P��^@^Q>�^@^Rx�^@^S^^�^@^TXf^@^T��^@^V8H^�^^g'�^_��^@ Y~�!� "B�^@#i�^@$"}^@%IÍ^@&^B_^@')�^@'��^@(ï¿ï¿½V^O��V���W�ÝXß YϿ�Z���[�ܿ^@\� ^@]��^@^��^@_^\^@^@^@^@^@^EP^[�^@^@^@^@^E�8�^@^@^@^@^G/��^@^@^@^@^G�^Z�^Oß^@^@$
���^@^@^@^@^K�^Y^@^@^@^@^@^L��^@^@^@^@^@
~�^@^@^@^@^@^N��^@^@^@^@^@^O^�^@^@^@^@^@^P��^@^@^@^@^@^Q>�^@^@^@^@�^@^@^@^@^^g'�^@^@^@^@^_��^@^@^@^@^@ Y~�^@^@^@^@!� ^@^@^@^@"B�^@^@�^@^@^@^@V^O��^@^@^@^@V���^@^@^@^@W�Ý^@^@^@^@Xß ^@^@^@^@YϿ�^@^@EST-10EST,M10.1.0,M4.1.0/3

Perhaps that is the issue? There is nothing in the other file.

If I run:

ls -l /etc/localtime

I get these outputs on the machines:

[media@media ~]$ ls -l /etc/localtime
-rw-r--r-- 1 root root 2295 Oct 27 18:55 /etc/localtime
[media@media ~]$
ls -l /etc/localtime
-rw-r--r-- 1 root root 2295 Oct 28 20:20 /etc/localtime
[media@lounge ~]$
ls -l /etc/localtime
-rw-r--r-- 1 root root 2295 Nov  9  2012 /etc/localtime
[morphjk@bedroom ~]$

Not sure what I need to change

Last edited by morphjk (2012-11-08 04:35:21)

Offline

#4 2012-11-08 04:47:36

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Timezone issue with Mythtv

It should not be a regular file, but a symlink.  I am not sure how you managed to make you localtime what it is.

% ls -l localtime
lrwxrwxrwx 1 root root 39 Oct 25 20:48 localtime -> /usr/share/zoneinfo/America/Los_Angeles

See the beginners guide or the systemd wiki page for more help.  Timezone may not be covered (or needed at this point), but it simply contains the location you set with localtime (ie in my case Americal/Los_Angeles)

Last edited by WonderWoofy (2012-11-08 04:49:14)

Offline

#5 2012-11-08 04:51:50

morphjk
Member
Registered: 2010-06-10
Posts: 59

Re: [SOLVED] Timezone issue with Mythtv

WonderWoofy wrote:

It should not be a regular file, but a symlink.  I am not sure how you managed to make you localtime what it is.

% ls -l localtime
lrwxrwxrwx 1 root root 39 Oct 25 20:48 localtime -> /usr/share/zoneinfo/America/Los_Angeles

See the beginners guide or the systemd wiki page for more help.  Timezone may not be covered (or needed at this point), but it simply contains the location you set with localtime (ie in my case Americal/Los_Angeles)

I've never modified that file so I have no idea how it end up that way.

I've found the time zone I need. I'm not using systemd and the beginners guide isn't any help. I need to make it Australia/Hobart. So I just need to workout how to change it and if NTP will be effected.

Offline

#6 2012-11-08 04:55:27

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Timezone issue with Mythtv

I don't believe you that you read the beginners guide.

https://wiki.archlinux.org/index.php/Be … #Time_zone

You are expected to do your own research around here.  And at the very, very least, check out the information that is provided when you ask qeustions.

Offline

#7 2012-11-08 05:13:18

morphjk
Member
Registered: 2010-06-10
Posts: 59

Re: [SOLVED] Timezone issue with Mythtv

Well I have set the file with:

ln -s /usr/share/zoneinfo/Australia/Hobart /etc/localtime

But I am still getting the error and according to a thread on mythtv it is the system that is at fault not mythtv.

EDIT: Solved it by doing an NTP update on all machines.

Last edited by morphjk (2012-11-08 10:15:20)

Offline

Board footer

Powered by FluxBB