Time Synchronization is always incorrect. It may be due to time zone settings.

Source: Internet
Author: User

Recently, Nagios has been studied.
Oldboy said the software has strict requirements on "Time Synchronization. However, I chose to act as a virtual machine on the Nagios server when I learned rhce. At that time, I found that time synchronization is always incorrect. To this end, we have also tried to install "VMware Tools ". Although the installation is successful, the time synchronization is still inaccurate (the error may be more than six hours ).
This time, we can change the number of virtual machines. However, I really don't want to wait any longer. What do you do ...... Fortunately, it didn't take much time to solve this problem.
Search for the keyword "15 Aug 00:33:03 ntpdate [15395]: adjust time server 202.112.31.197 offset-0.180265 sec" on Baidu and read two articles. Although I did not understand it, I realized that the problem may occur when I select "Time Zone" when installing centos. However, I felt that I should not be so careless at the time. Can I still choose the "Time Zone?
Fortunately, centos on this virtual machine was installed in "full multi-user mode. Then, I chose the "init 5" command to try again.
Go to the centos desktop, find "time" in the upper right corner, right-click "time", and select the "Adjust Date & time" menu item in the pop-up menu.
650) This. width = 650; "Title =" .jpg "alt =" wkiom1pwvathj0gqaaieuxcctos659.jpg "src =" http://s3.51cto.com/wyfs02/M01/46/40/wKiom1PwvAThJ0GqAAIEUxCCtos659.jpg "/>

In the displayed Properties dialog box, select the "Time Zone" tab and find that the current time zone was actually set in the western United States (not sure what the specific place name is ). I move the mouse, find the location of East Asia, and then click the arrow to find "Shanghai ". After positioning, you can click "OK" to exit.
650) This. width = 650; "Title =" .jpg "alt =" wkiol1pwvfmsly06aamdtivnuiq529.jpg "src =" http://s3.51cto.com/wyfs02/M00/46/42/wKioL1PwvfmSLY06AAMDtIVnUIQ529.jpg "/>

Now let's look at the time. It's already the current time.

 

The problem is not difficult to solve, but it has plagued me for more than three years.

This article is from the "dark-matter" blog, please be sure to keep this source http://gagarin.blog.51cto.com/1056957/1541393

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.