Wednesday, June 16, 2010

Setting up system date/time on Linux VMs

Many times while using the Linux Based Virtual Machines[VMs]  on VMWare lab manager you may figure out that your web based applications is giving the unpredictible results such as Timeouts or Login expired on too frequent basis.

Check out if this has something to take with the out of synch system watch with the Network time server.
In order to set the time on Linux Server in such a scenario, you also will have to make sure that the hardware clock is also set properly.


# hwclock --set --date="12/16/2009 16:45:05"
# date -s "16 dec 2009 20:35:30"