the NTP socket is in use, exiting
在ntpdate同步時間的時候出現“the NTP socket is in use, exiting”
故障描述:
rhel5下使用如下命令手動同步伺服器時間
#/usr/sbin/ntpdate 192.168.1.10
出現“the NTP socket is in use, exiting”錯誤。如下:
1 Nov 08:53:41 ntpdate[16201]: the NTP socket is in use, exiting
問題分析:
出現該錯誤的原因是系統ntpd伺服器正在執行中,通過 ps aux | grep ntpd 檢視,會看到ntpd正在執行。
ntp 16265 0.0 0.0 23388 5028 ? SLs 08:54 0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g root 16267 0.0 0.0 23388 1668 ? S 08:54 0:00 ntpd -u ntp:ntp -p /var/run/ntpd.pid -g root 16270 0.0 0.0 61148 744 pts/1 S+ 08:54 0:00 grep ntpd
解決方法:
NTP服務被佔用導致計劃任務未成功執行,停止NTP服務,再執行ntpdate同步命令,同步成功。
#service ntpd stop
#/usr/sbin/ntpdate 192.168.1.10
相關推薦
the NTP socket is in use, exiting
在ntpdate同步時間的時候出現“the NTP socket is in use, exiting” 故障描述: rhel5下使用如下命令手動同步伺服器時間 #/usr/sbin/ntpdate 192.168.1.10 出現“the NTP socket is in use, exiting”錯
解決the NTP socket is in use, exiting問題
機房中的ESX4的伺服器時間不對,ESX Server的時間準確比較重要,因為其上的VM(虛擬主機)的時間與其同步。在ESX4上使用NTP伺服器同步時間,卻遇到了“the NTP socket is in use, exiting”的問題,操作過程命令如下: [[ema
Ecplise匯入工程報Cannot import *** because the project name is in use問題
Ecplise匯入工程時,報如下錯誤: 原因在於工程中有相同的工程名,匯入報上面的錯誤,解決辦法: 開啟工程目錄下面的.project檔案 修改 <?xml version="1.0" encoding="UTF-8"?> <projectDescri
Eclipse報The default workspace'xxxxx' is in use or cannot be created Pl
原因:出現這種情況一般是workspace的配置檔案中出現了.lock檔案(workspace/.metadata/.lock),鎖定了workspace。把.lock檔案刪除即可。如果該檔案不能刪除,可能是因為javaw.exe程序未結束,結束該程序及eclipse.exe程序即可刪除。 正常情況下,如果
雙擊Eclipse提示“The default workspace “xxxx” is in use or cannot be created Please choose a different on
原因 出現這種情況一般是workspace的配置檔案中出現了.lock檔案(workspace/.metadata/.lock),鎖定了workspace。 解決 把.lock檔案刪除即可。 如果該檔案不能刪除,可能是因為javaw.exe程序未結束,結束該程序及eclipse
kali 2016:mount ntfs 分區只讀 --Falling back to read-only mount because the NTFS partition is in an unsafe state.
start ack umount part fas mnt fast pan fsp mount ntfs 分區 mount /dev/sdb1 /mnt/d 提示: The disk contains an unclean file system (0, 0).Metad
Springmvc rest 傳遞json報415錯誤(The server refused this request because the request entity is in a forma
Springmvc rest 傳遞json報415錯誤 報錯如下:(The server refused this request because the request entity&nb
VxVM報錯“Some volumes in the disk group are in use”的原因和解決方法
在使用SYMANTEC的VxVM卷管理軟體時,執行vxdg deport磁碟組(disk group)時報錯“Some volumes in the disk group are in use”,形如: # vxdg deport testdg VxVM vxdg ERROR V-5-1-584 D
The Global Economy is in Trouble
The Global Economy is in TroubleFears about slowing economic growth and rising interest rates have led to a flash crash of the markets this week.Amazon she
The Athens Proxy Is In Beta! 🚀 – Project Athens – Medium
The Athens Proxy Is In Beta! 🚀Today we released v0.2.0 of Athens which we’re dubbing Beta.TL;DRYou can now run a server that stores all your Go depen
nginx 報錯 : [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead
最近升級到 nginx 1.15,reload之後所有帶 ssl 的站點都報這個警告了,查了很多資料,最後在 github 上面找到了一條相關的英文說明: ( https://github.com/voxpupuli/puppet-nginx/issues/1224 ) 本人
nginx配置SSL後報錯nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl"
最近伺服器升級了Nginx版本到1.15.0 在配置SSL證書後執行./nginx -s reload 報錯 nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" 雖然這只是
Cannot declare class apphomecontrollerCases because the name is already in use
con images src 沖突 一個 參考 case in use ready Cannot declare class app\home\controller\Cases because the name is already in use 命名空間沖突了 use
解決Tomact啟動時問題,Port 8080 required by Tomcat v8.0 Server at localhost is already in use. The server ma
相信做軟體開發這個行業的,有時候不是你的程式程式碼出現了Bug,而是你的電腦也出現了一些千奇百怪的問題。 好了,我們來切入正題吧:看以下截圖,然後小夥伴不要慌, 以下是解決方案:1.首先開啟你的cmd命令(電腦按住Win+R鍵),然後在code裡敲netstat -ano|findstr 8
docker: Error response from daemon: Conflict. The container name "/mysql" is already in use by conta
docker: Error response from daemon: Conflict. The container name “/mysql” is already in use by container “27e9834dce87b6cac674945d7
在pycharm中執行jupyter notebook遇到“The port 8888 is already in use, trying another port”問題
連續試了幾次在pycharm中執行notebook今天終於成功了。之前一直想在pycharm中用notebook結合pycharm的智慧提示和notebook以cell執行程式碼的特點,但是在執行的時候總是出現錯誤: “The port 8888 is alre
Resolve "The snapshot is currently in use by an AMI" Errors
EBS-backed Amazon Machine Images (AMIs) include EBS snapshots; if you attempt to delete an EBS snapshot associated with an active AMI, you rec
Error running Tomcat8: Address localhost:1099 is already in use錯誤
eight 天使 sof tasklist cat ace bsp stat ont 以下內容參考至:https://my.oschina.net/u/1157906/blog/205907 今天使用IntelliJ IDEA 運行web項目的時候,遇到了 Error ru
加壓壓縮文件報錯gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now
child tdi tex save 重新 屬性 保存 div sta 壓縮包是直接weget 後面加官網上的tar包地址獲取的 [[email protected]/* */ ~]# tar -zxvf /home/hadoop/hadoop-2.6.5-
Determining if ip address is already in use for device eth0
determining if ip address is already in use for device eth0系統重啟網絡服務會提示Determining if ip address is already in use for device eth0提示。但是使用又沒有問題呢,那麽怎麽關閉這個顯示呢,