CentOS同步時間提示“the NTP socket is in use”解決方案

來源:互聯網
上載者:User

在使用ntpdate同步時間的時候,若出現“the NTP socket is in use,exiting”,即可按以下方法解決。


一、先關閉ntpdate
service ntpdate stop

二、然後再執行時間同步
ntpdate us.pool.ntp.org

三、最後再看看時間是否正確
date

若出現時區不對導致時間不同的問題(如使用美國VPS,時區是西部地區的時區),請參考http://www.centoscn.com/CentOS/2013/0412/242.html

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.