Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vmware guest time always wrong, won't sync [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
plut0
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 272

PostPosted: Fri May 22, 2009 1:46 pm    Post subject: vmware guest time always wrong, won't sync [SOLVED] Reply with quote

I have two virtual machines running on vmware server 2 that have constant time issues, drifting ahead or back. I have ntp enabled but the times never sync. The output of ntpq shows inaccurate offset and jitter times, even though the time is correct at the moment:

Code:
ntpq -np
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 192.168.0.1     72.167.54.201    3 u   59   64   17    3.605  -896.36 629.407
 192.168.0.6     216.14.97.75     2 u   56   64   17    0.107  -911.21 634.827


I suspect it has something to do with vmware. How do I get these machines to sync correctly?


Last edited by plut0 on Wed May 27, 2009 12:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Fri May 22, 2009 2:15 pm    Post subject: Reply with quote

VMWare tools support host-guest time synchronisation.
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
plut0
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 272

PostPosted: Fri May 22, 2009 3:25 pm    Post subject: Reply with quote

VMware tools installed and time synchronization is enabled.
Back to top
View user's profile Send private message
gentoo_ram
Guru
Guru


Joined: 25 Oct 2007
Posts: 475
Location: San Diego, California USA

PostPosted: Fri May 22, 2009 8:38 pm    Post subject: Reply with quote

Then don't run ntp. Just run the host/guest time sync daemon. If you have both running, they may be "fighting" each other.
Back to top
View user's profile Send private message
plut0
Apprentice
Apprentice


Joined: 21 Dec 2004
Posts: 272

PostPosted: Wed May 27, 2009 12:27 pm    Post subject: Reply with quote

I shut off NTP and let vmware do the syncing alone. This didn't work either as the time kept drifting in the future. I was able to solve the issue though thanks to this link: http://www.glump.net/howto/fix_drifting_clock_in_vmware_linux_host_windows_guest
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum