28 reputation
14
bio website
location
age
visits member for 3 years, 7 months
seen Apr 28 '11 at 12:36

Jan
30
awarded  Notable Question
Mar
10
awarded  Popular Question
Oct
4
awarded  Popular Question
Apr
15
comment ntpdate: no server suitable for synchronization found
thanks for your help. my ntpd's version > version with the bug. i don't think i have any firewall enabled but with a local router's ip, ntpdate -b ip from command line works. when i added it to rc.local to run and reset the time each time the machine boots. it doesn't work. what's strange is if i do /etc/rc.local directly from the command line, it can work.. do you have any idea what may cause this behavior? thanks
Apr
15
asked ntpdate: no server suitable for synchronization found
Apr
14
awarded  Scholar
Apr
14
accepted time / timezone of Linux VM on Hyper-V
Apr
14
comment time / timezone of Linux VM on Hyper-V
@Chris S, I appreciate your help. i think my problem is that the linux VM has to be in UTC, but the host hyper-v isn't. yes your answer would work for vm when it has the same tz as the hyper-v host. i have to do above,and i think anyone who wants to keep the linux vm in a different timezone from the hyper-v host. the problem is that ntpd isn't consistent! sometime it would work, sometime it doesn't. if i explicit run ntpdate it can work..
Apr
13
comment time / timezone of Linux VM on Hyper-V
@Chris S, thanks for your reply, sorry that i am too thick. what i taken from above is 1>the vm takes Hyper-V's time as the initial time (CMOS clock) and appends it's timezone to it 2>after boot, force ntpdate sync to the correct time through a ntpserver 3>after this using the ntpd to maintain correct timing. this process needs to repeat each time the machine is booted. my setup doesn't have a rc.conf.. were you referring to a specific link for OS's Time Zone setting? i am in the process of trying to figure out how to do above step 2 and 3. please comment if i am on the right path. many thanks
Apr
13
comment time / timezone of Linux VM on Hyper-V
thanks Greg for your help. i think the problem you solved is different from mine. i am having trouble to set the correct time at boot time, i think yours is for syncing time when clock is running incorrectly (time skew/drift).
Apr
13
comment time / timezone of Linux VM on Hyper-V
@Chris S, thanks for your answer, but i am not sure i understand it. or can translate this to action:). as you said, the VM is taking the Hyper-v's current time as UTC time then set it to it's EDT timezone. i think i've disabled the time sync--by disabling the integrationservice's time sync (which isn't installed), i can set NTP up, but i think this is different. the initial time is wrong. i need to somehow break the link between hyper-v and vm on reboot, or when booting up, to get the time from NTP, but i dont know how to do this.
Apr
13
awarded  Student
Apr
13
asked time / timezone of Linux VM on Hyper-V