<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
hi,<br>
<br>
thanks to everybody, dpkg-reconfigure tzdata show followin error
"cp: cannot stat `/usr/share/zoneinfo/Europe/Bratislava': No such
file or directory", so i have done apt-get install --reinstall
tzdata and now its ok...<br>
<br>
michael<br>
<div class="moz-forward-container"> <br>
<div class="moz-cite-prefix">Dňa 22.03.2013 21:28, Steve Holdoway
wrote / napísal(a):<br>
</div>
<blockquote cite="mid:514CBF04.2030203@greengecko.co.nz"
type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 23/03/13 09:05, Michal Ondreička
wrote:<br>
</div>
<blockquote cite="mid:514CB96E.507@elsonet.sk" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
hi, i was also trying<br>
<br>
root@oscam:~# remountrw <br>
root@oscam:~# dpkg-reconfigure tzdata<br>
perl: warning: Setting locale failed.<br>
perl: warning: Please check that your locale settings:<br>
LANGUAGE = (unset),<br>
LC_ALL = (unset),<br>
LC_PAPER = "sk_SK.UTF-8",<br>
LC_ADDRESS = "sk_SK.UTF-8",<br>
LC_MONETARY = "sk_SK.UTF-8",<br>
LC_NUMERIC = "sk_SK.UTF-8",<br>
LC_TELEPHONE = "sk_SK.UTF-8",<br>
LC_IDENTIFICATION = "sk_SK.UTF-8",<br>
LC_MEASUREMENT = "sk_SK.UTF-8",<br>
LC_TIME = "sk_SK.UTF-8",<br>
LC_NAME = "sk_SK.UTF-8",<br>
LANG = "sk_SK.UTF-8"<br>
are supported and installed on your system.<br>
perl: warning: Falling back to the standard locale ("C").<br>
debconf: unable to initialize frontend: Dialog<br>
debconf: (No usable dialog-like program is installed, so the
dialog based frontend cannot be used. at
/usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)<br>
debconf: falling back to frontend: Readline<br>
Configuring tzdata<br>
------------------<br>
<br>
Please select the geographic area in which you live.
Subsequent configuration questions will narrow this down by
presenting a list of<br>
cities, representing the time zones in which they are located.<br>
<br>
1. Africa 3. Antarctica 5. Arctic 7. Atlantic 9.
Indian 11. SystemV 13. Etc<br>
2. America 4. Australia 6. Asia 8. Europe 10.
Pacific 12. US<br>
Geographic area: 8<br>
<br>
Please select the city or region corresponding to your time
zone.<br>
<br>
1. Amsterdam 9. Bucharest 17. Isle_of_Man 25.
Luxembourg 33. Oslo 41. Sarajevo 49. Uzhgorod 57.
Zaporozhye<br>
2. Andorra 10. Budapest 18. Istanbul 26.
Madrid 34. Paris 42. Simferopol 50. Vaduz 58.
Zurich<br>
3. Athens 11. Chisinau 19. Jersey 27.
Malta 35. Podgorica 43. Skopje 51. Vatican<br>
4. Belfast 12. Copenhagen 20. Kaliningrad 28.
Mariehamn 36. Prague 44. Sofia 52. Vienna<br>
5. Belgrade 13. Dublin 21. Kiev 29.
Minsk 37. Riga 45. Stockholm 53. Vilnius<br>
6. Berlin 14. Gibraltar 22. Lisbon 30.
Monaco 38. Rome 46. Tallinn 54. Volgograd<br>
7. Bratislava 15. Guernsey 23. Ljubljana 31.
Moscow 39. Samara 47. Tirane 55. Warsaw<br>
8. Brussels 16. Helsinki 24. London 32.
Nicosia 40. San_Marino 48. Tiraspol 56. Zagreb<br>
Time zone: 7<br>
<br>
cp: cannot stat `/usr/share/zoneinfo/Europe/Bratislava': No
such file or directory<br>
<br>
Current default time zone: 'Europe/Bratislava'<br>
Local time is now: Fri Mar 22 20:02:26 UTC 2013.<br>
Universal Time is now: Fri Mar 22 20:02:26 UTC 2013.<br>
<br>
if you can see the line cp: cannot stat
`/usr/share/zoneinfo/Europe/Bratislava': No such file or
directory how to fix it plz? and also the perl warning about
locale?<br>
<br>
thank you very much..<br>
<div class="moz-forward-container"><br>
<br>
-------- Pôvodná správa --- Original Message --------
<table class="moz-email-headers-table" border="0"
cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Predmet:
</th>
<td>Re: [Voyage-linux] problem with date alix</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Dátum:
</th>
<td>Fri, 22 Mar 2013 20:55:06 +0100</td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Od:
</th>
<td>Michal Ondreička <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:chalan@elsonet.sk"><chalan@elsonet.sk></a></td>
</tr>
<tr>
<th nowrap="nowrap" valign="BASELINE" align="RIGHT">Pre:
</th>
<td>Steve Holdoway <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:steve@greengecko.co.nz"><steve@greengecko.co.nz></a></td>
</tr>
</tbody>
</table>
<br>
<br>
<pre>dont understand.... my localtime is also set correctly, see
root@oscam:~# ls -lh /etc/localtime
lrwxrwxrwx 1 root root 37 Mar 22 17:20 /etc/localtime ->
/usr/share/zoneinfo/Europe/Bratislava
still date show -1 hour... please help correct should by 20:54, but date
show 19:54, thank you
Dňa 22.03.2013 20:07, Steve Holdoway wrote / napísal(a):
> The time is being set correctly, but you're not setting localtime. Search for that...
>
> On 23/03/2013, at 7:35 AM, Michal Ondreička <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:chalan@elsonet.sk"><chalan@elsonet.sk></a> wrote:
>
>> hi, current time is +1hod
>>
>> root@oscam:~# cat /etc/timezone
>> Europe/Bratislava
>>
>> root@oscam:~# date
>> Fri Mar 22 18:32:04 UTC 2013
>>
>> if i set it to correct time with
>>
>> date 032219322013
>>
>> root@oscam:~# date
>> Fri Mar 22 19:32:01 UTC 2013
>>
>> and do ntpdate or reboot, it revert back
>>
>> root@oscam:~# ntpdate tik.cesnet.cz
>> 22 Mar 18:34:05 ntpdate[12418]: step time server 195.113.144.201 offset -3503.609381 sec
>>
>> i have
>>
>> root@oscam:~# uname -a
>> Linux oscam 3.6.9-voyage #1 SMP Tue Dec 11 09:53:27 HKT 2012 i586 GNU/Linux
>>
>> im helpless can somebody help me?
>>
>> michael
>>
</pre>
<br>
</div>
<br>
</blockquote>
I was going to say that as your date command is reporting UTC,
then your timezone isn't working. Here, you've shown why... your
timezone files are missing. Looks like you need to apt-get
install / reinstall tzdata<br>
</blockquote>
<br>
<br>
</div>
<br>
</body>
</html>