* [Sysadmins] Time zone в VPS OpenVZ
@ 2008-04-23 15:40 Roman Savochenko
2008-04-23 15:45 ` Dmitry V. Levin
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Roman Savochenko @ 2008-04-23 15:40 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 679 bytes --]
Приветствую Всех
Подскажите пожалуйста как установить корректную временную зону в VDS OpenVZ.
Попытка запуска сервиса clock приводит к такому результату:
root@ntp_server ~]# /etc/rc.d/init.d/clock start
Setting system clock (utc): hwclock: Cannot access the Hardware Clock
via any known method.
Use --debug option to see the details of our search for an access method.
[FAILED]
Today's date: Wed Apr 23 19:08:57 MSD 2008
При этом в HS время:
[root@serverN dev]# date
Wed Apr 23 18:08:57 EEST 2008
С уважением, Роман
[-- Attachment #2: rom_as.vcf --]
[-- Type: text/x-vcard, Size: 218 bytes --]
begin:vcard
fn:Roman Savochenko
n:Savochenko;Roman
adr;dom:;;;Dneprodzerjinsk
email;internet:rom_as@diyaorg.dp.ua
title:NIP "DIYA"
tel;work:NIP "DIYA"
tel;cell:+380679859815
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] Time zone в VPS OpenVZ
2008-04-23 15:40 [Sysadmins] Time zone в VPS OpenVZ Roman Savochenko
@ 2008-04-23 15:45 ` Dmitry V. Levin
2008-04-23 15:48 ` [Sysadmins] ime " Konstantin A. Lepikhov
2008-04-24 4:40 ` [Sysadmins] Time " Ivan Fedorov
2 siblings, 0 replies; 7+ messages in thread
From: Dmitry V. Levin @ 2008-04-23 15:45 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 721 bytes --]
On Wed, Apr 23, 2008 at 06:40:08PM +0300, Roman Savochenko wrote:
> Подскажите пожалуйста как установить корректную временную зону в VDS OpenVZ.
> Попытка запуска сервиса clock приводит к такому результату:
> root@ntp_server ~]# /etc/rc.d/init.d/clock start
> Setting system clock (utc): hwclock: Cannot access the Hardware Clock
> via any known method.
> Use --debug option to see the details of our search for an access method.
> [FAILED]
> Today's date: Wed Apr 23 19:08:57 MSD 2008
>
> При этом в HS время:
> [root@serverN dev]# date
> Wed Apr 23 18:08:57 EEST 2008
Самое простое -- это скопировать /etc/sysconfig/clock из HN в VE.
Было бы хорошо, если бы vzctl create делал это сам.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] ime zone в VPS OpenVZ
2008-04-23 15:40 [Sysadmins] Time zone в VPS OpenVZ Roman Savochenko
2008-04-23 15:45 ` Dmitry V. Levin
@ 2008-04-23 15:48 ` Konstantin A. Lepikhov
2008-04-23 15:52 ` Dmitry V. Levin
2008-04-23 15:55 ` Roman Savochenko
2008-04-24 4:40 ` [Sysadmins] Time " Ivan Fedorov
2 siblings, 2 replies; 7+ messages in thread
From: Konstantin A. Lepikhov @ 2008-04-23 15:48 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Hi Roman!
Wednesday 23, at 06:40:08 PM you wrote:
> Приветствую Всех
>
> Подскажите пожалуйста как установить корректную временную зону в VDS OpenVZ.
> Попытка запуска сервиса clock приводит к такому результату:
> root@ntp_server ~]# /etc/rc.d/init.d/clock start
> Setting system clock (utc): hwclock: Cannot access the Hardware Clock via
> any known method.
> Use --debug option to see the details of our search for an access method.
>
>
> [FAILED]
> Today's date: Wed Apr 23 19:08:57 MSD 2008
>
> При этом в HS время:
> [root@serverN dev]# date
> Wed Apr 23 18:08:57 EEST 2008
>
> С уважением, Роман
Так зачем вам hwclock крутить? Зона задается через tzset или содержимое
/etc/localtime с соответствущим сдвигом относительно GMT.
--
WBR et al.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] ime zone в VPS OpenVZ
2008-04-23 15:48 ` [Sysadmins] ime " Konstantin A. Lepikhov
@ 2008-04-23 15:52 ` Dmitry V. Levin
2008-04-23 15:55 ` Roman Savochenko
1 sibling, 0 replies; 7+ messages in thread
From: Dmitry V. Levin @ 2008-04-23 15:52 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 1098 bytes --]
On Wed, Apr 23, 2008 at 07:48:38PM +0400, Konstantin A. Lepikhov wrote:
> Wednesday 23, at 06:40:08 PM you wrote:
>
> > Приветствую Всех
> >
> > Подскажите пожалуйста как установить корректную временную зону в VDS OpenVZ.
> > Попытка запуска сервиса clock приводит к такому результату:
> > root@ntp_server ~]# /etc/rc.d/init.d/clock start
> > Setting system clock (utc): hwclock: Cannot access the Hardware Clock via
> > any known method.
> > Use --debug option to see the details of our search for an access method.
> >
> >
> > [FAILED]
> > Today's date: Wed Apr 23 19:08:57 MSD 2008
> >
> > При этом в HS время:
> > [root@serverN dev]# date
> > Wed Apr 23 18:08:57 EEST 2008
> >
> > С уважением, Роман
> Так зачем вам hwclock крутить? Зона задается через tzset или содержимое
> /etc/localtime с соответствущим сдвигом относительно GMT.
Речь идёт о синхронизации /etc/localtime между HN и VE.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] ime zone в VPS OpenVZ
2008-04-23 15:48 ` [Sysadmins] ime " Konstantin A. Lepikhov
2008-04-23 15:52 ` Dmitry V. Levin
@ 2008-04-23 15:55 ` Roman Savochenko
1 sibling, 0 replies; 7+ messages in thread
From: Roman Savochenko @ 2008-04-23 15:55 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]
Konstantin A. Lepikhov wrote:
> Hi Roman!
>
> Wednesday 23, at 06:40:08 PM you wrote:
>
>
>> Приветствую Всех
>>
>> Подскажите пожалуйста как установить корректную временную зону в VDS OpenVZ.
>> Попытка запуска сервиса clock приводит к такому результату:
>> root@ntp_server ~]# /etc/rc.d/init.d/clock start
>> Setting system clock (utc): hwclock: Cannot access the Hardware Clock via
>> any known method.
>> Use --debug option to see the details of our search for an access method.
>>
>>
>> [FAILED]
>> Today's date: Wed Apr 23 19:08:57 MSD 2008
>>
>> При этом в HS время:
>> [root@serverN dev]# date
>> Wed Apr 23 18:08:57 EEST 2008
>>
>> С уважением, Роман
>>
> Так зачем вам hwclock крутить? Зона задается через tzset или содержимое
> /etc/localtime с соответствущим сдвигом относительно GMT.
Копирование /etc/localtime из HS в VPS решило проблему.
С уважением, Роман
[-- Attachment #2: rom_as.vcf --]
[-- Type: text/x-vcard, Size: 218 bytes --]
begin:vcard
fn:Roman Savochenko
n:Savochenko;Roman
adr;dom:;;;Dneprodzerjinsk
email;internet:rom_as@diyaorg.dp.ua
title:NIP "DIYA"
tel;work:NIP "DIYA"
tel;cell:+380679859815
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] Time zone в VPS OpenVZ
2008-04-23 15:40 [Sysadmins] Time zone в VPS OpenVZ Roman Savochenko
2008-04-23 15:45 ` Dmitry V. Levin
2008-04-23 15:48 ` [Sysadmins] ime " Konstantin A. Lepikhov
@ 2008-04-24 4:40 ` Ivan Fedorov
2008-04-24 5:28 ` Veaceslav Grecea
2 siblings, 1 reply; 7+ messages in thread
From: Ivan Fedorov @ 2008-04-24 4:40 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
2008/4/23 Roman Savochenko :
> Подскажите пожалуйста как установить корректную временную зону в VDS
> OpenVZ.
Я просто копирую файл временной зоны из /usr/share/... в /etc/localtime.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: http://getfiregpg.org
iEYEARECAAYFAkgQD0oACgkQMJy3oC+NmVu2VACcCmPx0cENoXwWyrsSO93FSprF
DhEAnimHiey4uBKzbEKqtLmhWX+4hQa6
=bBnz
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Sysadmins] Time zone в VPS OpenVZ
2008-04-24 4:40 ` [Sysadmins] Time " Ivan Fedorov
@ 2008-04-24 5:28 ` Veaceslav Grecea
0 siblings, 0 replies; 7+ messages in thread
From: Veaceslav Grecea @ 2008-04-24 5:28 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
On Четверг 24 апреля 2008, Ivan Fedorov wrote:
> 2008/4/23 Roman Savochenko :
> > Подскажите пожалуйста как установить корректную временную зону в VDS
> > OpenVZ.
>
> Я просто копирую файл временной зоны из /usr/share/... в /etc/localtime.
Убрать /etc/localtime, настроить /etc/sysconfig/clock и сделать
service clock tzset ?
--
wbr, slavutich
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-04-24 5:28 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-23 15:40 [Sysadmins] Time zone в VPS OpenVZ Roman Savochenko
2008-04-23 15:45 ` Dmitry V. Levin
2008-04-23 15:48 ` [Sysadmins] ime " Konstantin A. Lepikhov
2008-04-23 15:52 ` Dmitry V. Levin
2008-04-23 15:55 ` Roman Savochenko
2008-04-24 4:40 ` [Sysadmins] Time " Ivan Fedorov
2008-04-24 5:28 ` Veaceslav Grecea
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git