OpenVZ Forum


Home » General » Support » Help w/ ntpdate
Help w/ ntpdate [message #15455] Tue, 31 July 2007 22:15 Go to next message
wastedfluid is currently offline  wastedfluid
Messages: 6
Registered: July 2007
Junior Member
Hi guys.

Need some additional help.

Running OpenVZ..

Imaging Ubuntu 6.06LTS.

Issue is the timesync. I have two os's on OPENVZ. "101" and "102"

Both 101 + 102 are Ubuntu 6.06.

ntpdate on 102:

admin@jbodystreet:~$ ntpdate       
31 Jul 22:12:54 ntpdate[7359]: no servers can be used, exiting
admin@jbodystreet:~$ 


ntpdate on 101:
root@phantom:/# ntpdate
31 Jul 18:13:17 ntpdate[7569]: no servers can be used, exiting
root@phantom:/# 


And NTPDATE on the actual box:
[root@sp4639a vz]# ntpdate
31 Jul 18:13:33 ntpdate[6739]: no servers can be used, exiting
[root@sp4639a vz]#


For some reason, VZCTL "101" matches the boxes time. "102" does not.

Thanks for your help in advance..

[Updated on: Wed, 01 August 2007 03:06]

Report message to a moderator

Re: Help w/ ntpdate [message #15462 is a reply to message #15455] Wed, 01 August 2007 05:34 Go to previous message
den is currently offline  den
Messages: 494
Registered: December 2005
Senior Member
Hi!

Basically, it is impossible to change system time from a VE as, by default, it does not have a CAP_SYS_TIME, so ntpdate will not work in VE anyhow.

As for a date difference, the answer looks to be simple. The difference is measured in hours. So, most likely, these VEs have different timezone settings and/or one treats system time in GMT, while second don't.

Regards,
Den
Previous Topic: Does kernel 2.6.18-028stab035.1-ovz-enterprise have drbd module enabled?
Next Topic: Network Setup for Multiple Subnets
Goto Forum:
  


Current Time: Sat Aug 02 17:25:31 GMT 2025

Total time taken to generate the page: 0.53760 seconds