VMware Cloud Community
Takcloud
Contributor
Contributor

problem in date on vmware esxi 5

hi

im set time from time configuration on vmware and set time

but when login to ssh and run date command show another time

but in vmware > configuration > time configuration time is correct

and ntp is run

Reply
0 Kudos
7 Replies
beckham007fifa

try restarting management network

Regards, ABFS
Reply
0 Kudos
beckham007fifa

do you have ntp configured?

Regards, ABFS
Reply
0 Kudos
Takcloud
Contributor
Contributor

hi

yes im configuration ntp

please see attached picScreenshot from 2014-01-09 12_06_39.png

Reply
0 Kudos
beckham007fifa

okie, could you please share /var/log/syslog.log file, also meanwhile try restarting ntpd service /etc/init.d/ntpd restart

Regards, ABFS
Reply
0 Kudos
Takcloud
Contributor
Contributor

~ # tail /var/log/syslog.log

2014-01-09T09:05:01Z syslog[791464]: starting hostd probing.

2014-01-09T09:05:16Z syslog[791464]: hostd probing is done.

2014-01-09T09:05:57Z root: ntpd Stopping ntpd

2014-01-09T09:05:57Z ntpd[537325]: ntpd exiting on signal 1

2014-01-09T09:05:57Z root: ntpd Starting ntpd

2014-01-09T09:05:57Z ntpd[791518]: ntpd 4.2.6p2@1.2194-o Fri Dec 16 03:55:00 UTC 2011 (1)

2014-01-09T09:05:57Z ntpd[791519]: proto: precision = 0.454 usec

2014-01-09T09:05:57Z ntpd[791519]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123

2014-01-09T09:05:57Z ntpd[791519]: Listen normally on 1 lo0 127.0.0.1 UDP 123

2014-01-09T09:05:57Z ntpd[791519]: Listen normally on 2 vmk0 199.201.123.226 UDP 123

Reply
0 Kudos
beckham007fifa

is it possible to send the complete file, or follow this link yourself and confirm whether you have sync done correctly?

VMware KB: Troubleshooting NTP on ESX and ESXi 4.x / 5.x

Regards, ABFS
Reply
0 Kudos
john23
Commander
Commander

Configuring ntp in esxi is quite tricky.... I also struggled a lot... but in 4.1 timeframe..

what is the command output of ntpdate and ntpq..... from esxi console..

If commands are not available copy these binary in esxi  /bin folder...if doesn't work let me know.


Thanks -A Read my blogs: www.openwriteup.com
Reply
0 Kudos