hi,

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...

michael

Dňa 22.03.2013 21:28, Steve Holdoway wrote / napísal(a):
On 23/03/13 09:05, Michal Ondreička wrote:
hi, i was also trying

root@oscam:~# remountrw
root@oscam:~# dpkg-reconfigure tzdata
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
    LANGUAGE = (unset),
    LC_ALL = (unset),
    LC_PAPER = "sk_SK.UTF-8",
    LC_ADDRESS = "sk_SK.UTF-8",
    LC_MONETARY = "sk_SK.UTF-8",
    LC_NUMERIC = "sk_SK.UTF-8",
    LC_TELEPHONE = "sk_SK.UTF-8",
    LC_IDENTIFICATION = "sk_SK.UTF-8",
    LC_MEASUREMENT = "sk_SK.UTF-8",
    LC_TIME = "sk_SK.UTF-8",
    LC_NAME = "sk_SK.UTF-8",
    LANG = "sk_SK.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: unable to initialize frontend: Dialog
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.)
debconf: falling back to frontend: Readline
Configuring tzdata
------------------

Please select the geographic area in which you live. Subsequent configuration questions will narrow this down by presenting a list of
cities, representing the time zones in which they are located.

1. Africa 3. Antarctica 5. Arctic 7. Atlantic 9. Indian 11. SystemV 13. Etc
  2. America  4. Australia   6. Asia    8. Europe    10. Pacific  12. US
Geographic area: 8

Please select the city or region corresponding to your time zone.

1. Amsterdam 9. Bucharest 17. Isle_of_Man 25. Luxembourg 33. Oslo 41. Sarajevo 49. Uzhgorod 57. Zaporozhye 2. Andorra 10. Budapest 18. Istanbul 26. Madrid 34. Paris 42. Simferopol 50. Vaduz 58. Zurich 3. Athens 11. Chisinau 19. Jersey 27. Malta 35. Podgorica 43. Skopje 51. Vatican 4. Belfast 12. Copenhagen 20. Kaliningrad 28. Mariehamn 36. Prague 44. Sofia 52. Vienna 5. Belgrade 13. Dublin 21. Kiev 29. Minsk 37. Riga 45. Stockholm 53. Vilnius 6. Berlin 14. Gibraltar 22. Lisbon 30. Monaco 38. Rome 46. Tallinn 54. Volgograd 7. Bratislava 15. Guernsey 23. Ljubljana 31. Moscow 39. Samara 47. Tirane 55. Warsaw 8. Brussels 16. Helsinki 24. London 32. Nicosia 40. San_Marino 48. Tiraspol 56. Zagreb
Time zone: 7

cp: cannot stat `/usr/share/zoneinfo/Europe/Bratislava': No such file or directory

Current default time zone: 'Europe/Bratislava'
Local time is now:      Fri Mar 22 20:02:26 UTC 2013.
Universal Time is now:  Fri Mar 22 20:02:26 UTC 2013.

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?

thank you very much..


-------- Pôvodná správa --- Original Message --------
Predmet:        Re: [Voyage-linux] problem with date alix
Dátum:  Fri, 22 Mar 2013 20:55:06 +0100
Od:     Michal Ondreička <cha...@elsonet.sk>
Pre:    Steve Holdoway <st...@greengecko.co.nz>



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<cha...@elsonet.sk>  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
>>



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



_______________________________________________
Voyage-linux mailing list
Voyage-linux@list.voyage.hk
http://list.voyage.hk/mailman/listinfo/voyage-linux

Reply via email to