*SOLVED* Time inside vps differs from the host machine
Hi, I'm having a little problem here... I have openvz running on a Pentium 3.2 HT with the following information: Linux test.server.com 2.6.8-022stab077.1-smp #1 SMP Fri Apr 21 17:02:34 MSD 2006 i686 i686 i386 GNU/Linux This is running on Fedora Core 4 and I have a VPS with debian-3.1. The problem is that the times on the host machine and vps are messed up... Look: This was on the host machine: [root@test ~]# date Wed Jun 14 16:57:19 EDT 2006 [root@test ~]# clock Wed 14 Jun 2006 04:57:30 PM EDT -0.356429 seconds This was on the VPS: vps:~# date Wed Jun 14 20:57:50 UTC 2006 How come the three times are different? Shouldn't they all be the same? Thanks for the help... Eugenio Pacheco
Re: Time inside vps differs from the host machine
Yes, this is the same. Your VPS uses UTC time, but your Hardware Node uses EDT (Eastern Standard Time), which differs from UTC and equals (UTC - 4). Thus, everithing is ok. However, you can tune VPS or HN to use the same time standart. It depends on Linux distribution how to do it.