Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346552

Summary: clock on orion.eclipse.org is way off
Product: Community Reporter: Boris Bokowski <bokowski>
Component: vserversAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Boris Bokowski CLA 2011-05-19 18:06:29 EDT
admin@orion:~> date
Thu May 19 14:16:53 EDT 2011

Boris-Bokowskis-MacBook-Pro:~ bokowski$ date
Thu 19 May 2011 18:06:02 EDT
Comment 1 Boris Bokowski CLA 2011-05-19 18:07:07 EDT
I don't want to just fix this once - shouldn't the time be synchronized using a time server?
Comment 2 Denis Roy CLA 2011-05-19 18:44:39 EDT
You won't be able to change the hardware clock; virtual servers should be pulling their clock from the hypervisor. Seems the host server is not syncing properly.  I will check it.
Comment 3 Denis Roy CLA 2011-05-20 09:54:29 EDT
I had encountered this before with other vservers -- for some reason, the timezone is computed twice, and short of setting an incorrect time on the host, I have a hard time getting it to work.

Easiest solution is to tell the domU to use an independent (from the host) clock:
echo 1 > /proc/sys/xen/independent_wallclock

... and to sync with an external source.
rdate -s build.eclipse.org


I've added this to a cron, so your clock should now always be in sync with build.eclipse.org's (which is synced from an external source).