Time increasing by an hour every minute

Discussion in 'Linux Virtual Machine' started by DrewSA, Oct 22, 2012.

  1. DrewSA

    DrewSA Bit poster

    Messages:
    1
    Running:
    Host - OSX 10.7.4
    Parallels 7.0.15107
    VM - Ubuntu 11.10

    At first I was trying to run some tests with an ntp server. I installed ntpd, changed the time settings to manual and change the setting in Parallel's VM configuration to not sync the time. Then the problem began. Every minute the time started increasing an hour. I purged ntp assuming it to be the source of the error. However it still persisted. ntpdate will reset the time for me, but the time keeps increasing an hour every minute. After some googling I found some issues with Windows and Parallels having similiar issues, albeit in a different version of Parallels.

    Does anyone have any idea how I can fix this?
     
  2. HeikkiL

    HeikkiL Member

    Messages:
    25
    I know this is an old thread, but I'm now experiencing the exact same issue with the combination Fedora 17 + the latest Parallels Desktop 8. The same thing happened with Parallels 7, and I actually updated to v8 hoping the problem would've been solved, but no such luck.

    As DrewSA above, I've tried several combinations of NTP and/or chrony, but it seems they have no part in this; it's Parallels that's causing this. If I set the "Sync with Mac OS X" setting on, the clocks stay in sync just fine. The problem is, that I need to keep my Mac and Fedora in separate time, but this is now impossible, because Fedora's time keeps increasing one hour every few minutes. I have also completely removed and reinstalled Parallels, but the problem remains.

    I'd be grateful for any help or pointers, where to look and what to try...
     
  3. HeikkiL

    HeikkiL Member

    Messages:
    25
    A few observations (and a solution) to my problem above, in case someone else is struggling with the same issue.

    If I kill all prltoolsd processes, the clock advancing stops. So it seems that Parallels really is the reason for this behavior. But if I kill prltoolsd altogether, I lose some of the integration features of Parallels.

    Luckily, "prltoolsd -h" tells us that there's an option "-T" that disables time synchronization. So, what I finally did was this:

    - open /etc/rc.d/init.d/prltoolsd in vi (or the editor of your choice)

    - locate the line that says
    PRLTOOLSD_OPTIONS="-p $pidfile"

    - add the -T option, so that the line now says
    PRLTOOLSD_OPTIONS="-p $pidfile -T"

    - save the file (you need to be root for this)

    - restart your VM

    This worked for me: now the clock no longer advances an hour every few minutes. I guess that the modification above also disables time syncing between the guest VM and the host, so if you ever need to sync those two again, I assume you need to remove the -T option.
     
  4. Rubicon

    Rubicon Bit poster

    Messages:
    3
    I have just experienced the same issue. Mac OSX Server 10.8.5 running OSX 10.8.5 in Parallels. Everything was fine until I updated Parallels and updated the Tools. I have not been able to resolve this. I don't have the rc.d directory in etc, so your solution will not work for me. I am going to uninstall and reinstall and see if it resolves the issue.
     
  5. Rubicon

    Rubicon Bit poster

    Messages:
    3
    Removed the Parallels application and supporting files in user and system preferences. Re-installed and still have the same issue. I found the prltoolsd file at /usr/bin/, it already has the T option for syncing the time. The Parallels tools uninstaller just spins and never completes. This was a clean install to run one application. Created another VM and installed my application and it working just ok. Not a answer to the problem but my best solution.
     
  6. Rubicon

    Rubicon Bit poster

    Messages:
    3
    Spoke to soon. Its happening again....
     

Share This Page