VMware Communities > VMTN > Desktop Products > VMware Workstation > Discussions

This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
3 Replies Last post: Jun 29, 2008 10:52 AM by AWo
Reply

Time synchronization problem

Jun 29, 2008 6:45 AM

Click to view jon80's profile Enthusiast jon80 48 posts since
Dec 13, 2007

Having noted a time synchronisation error between the guestOS (various - see attached) and the hostOS (+MS Win XP x64 SP2+), I tried:

1. Ensuring that VMWare tools is installed

2. Updating the .vmx files with the following lines:

tools.syncTime = "TRUE"
tools.synchronize.restore = "TRUE"
tools.synchronize.resume.disk = "TRUE"

tools.synchronize.continue = "TRUE"
tools.syncrhonize.shrink = "TRUE"

(source: http://www.vmware.com/support/gsx3/doc/tools_guestd_sync_gsx.html)- GSX documentation (I am using *VMWare Workstation*)

3. Testing when restarting and pausing/resuming.

One guest machine running Win x64 is not updating the time with the hostOS (Win x64) when I tried:

1. pausing the guestOS

2. updating the time on the hostOS to 1 hour back

3. resuming the guestOS

Restarting the hostOS resolves the problem and the OSs are synchronized.

Is this a bug, or not supported?

It was also noted that

1. .vmx file needs to be updated when the hostOS is down.

2. there were issues in installing VMWare tools Red Hat Fedora 9, but unfortunately this OS seems to be unsupported.

(source: http://communities.vmware.com/message/953870#953870)


Attachments:
Reply Re: Time synchronization problem Jun 29, 2008 6:58 AM
Click to view AWo's profile Champion AWo 3,484 posts since
Nov 27, 2003
jon80 wrote:
It was also noted that
1. .vmx file needs to be updated when the hostOS is down.
What needs to be updated in the .vmx file?

To verify if the Tools are running do a:

"ps -e | grep ".vm."

You shold see several process starting with "vm". Post them.
Reply Re: Time synchronization problem Jun 29, 2008 10:38 AM
in response to: AWo
Click to view jon80's profile Enthusiast jon80 48 posts since
Dec 13, 2007
Nothing seems to be running:

--user@localhost ~--$ ps -e | grep ".vm."
--user@localhost ~--$ su -
Password:
--root@localhost ~--# ps -e | grep ".vm."
--root@localhost ~--# ps -e | grep "vm"
--root@localhost ~--#

1. re-installed the vm-ware tools package by running ./vmware-install.pl.

2. updated path file for installation (see output2.log attached)

3. installed gcc using yum

4. install program is prompting me for "location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]" how do I install these?


I hope I am on the right track...

With regards the lines to update, as posted above in color:

tools.syncTime = "TRUE"
tools.synchronize.restore = "TRUE"
tools.synchronize.resume.disk = "TRUE"
tools.synchronize.continue = "TRUE"
tools.syncrhonize.shrink = "TRUE"

Attached copy of .vmx file which does not reflect the updated lines somehow.

Reply Re: Time synchronization problem Jun 29, 2008 10:52 AM
in response to: jon80
Click to view AWo's profile Champion AWo 3,484 posts since
Nov 27, 2003
Your log file shows that first your system was missing the compiler "gcc" which you have installed, yet. Now is still the kernel source missing. That means you can't install the VMware Tools as they can't get compiled without the kernel source:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is not an existing directory.
What is the location of the directory of C header files that match your running
Kernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is not an existing directory.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

You have to install the kernel source and update them accordingly if your actual running kernel is newer than th eone on the installation media you use (that means if you did a kernel update since it was installed).

By the way, "tools.SyncTime" appears twice in your .vmx.

So, now I go and watch Germany beating Spain (hopefully) in the european football championship :-)

Message was edited by: AWo

Actions