Was this page helpful?

Reset the date-time on the VM

    Table of contents
    No headers

    It's possible for the VM clock drift sometimes.  The easiest way to reset the clock is to use an online time server.

    Log into the VM and execute the following command:

    ntpdate -s time.nist.gov
    
    Was this page helpful?
    Tag page
    Viewing 5 of 5 comments: view all
    This command does not work for me. Debian returns the following error message:
    -bash: ntpdate: command not found

    I'm running MindTouch Core 9.02.2 (VM package).
    Posted 07:33, 30 Jul 2009
    Hi mvaughan,
    You may install "ntpdate" command by root user as:

    # apt-get update
    # apt-get install ntpdate

    Hope this helps.
    Posted 01:41, 31 Jul 2009
    Thank you! Yes, that helped.

    Also discovered that I had to enable internet-bound traffic with the following command:

    # route add default gw 192.168.10.1

    ...where 192.168.10.1 is my Internet gateway/router. Then the apt-get commands were successful, and finally, so was the ntpdate command.
    Posted 07:12, 31 Jul 2009
    It's a fantastic news. :)
    Posted 17:59, 1 Aug 2009
    If you wish to update the time and date on our MindTouch Core 10+ systems running from the VM Virtual Appliance, simply install VMWare Tools onto the VM and it will take care of automatically syncing the VM's clock to the hosts. When following the VMWare Tools install instructions, to mount the CD-Rom properly, you must use the command:

    #mount /dev/cdrom /media/cdrom
    Note: You may have a different designation for your CDROM device, mine was /dev/cdrom1. To determine yours, check your /dev directory by:
    #cd /dev
    and
    #ls

    You might also want to update your timezone to the proper locale either before or after the VMWare Tools Install...

    To set correct timezone:
    #dpkg-reconfigure tzdata

    Follow the onscreen graphical prompts to select your proper timezone. When done, your local time and the UTC will be displayed.
    Posted 14:14, 5 May 2011
    Viewing 5 of 5 comments: view all
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by