背景

安装Hadoop生态系统时同步时间命令:

sudo ntpdate ntp1.aliyun.com

报错:

 6 Jun 18:48:31 ntpdate[25295]: the NTP socket is in use, exiting

Solve

该ntp服务可能正在运行,假您已安装service。

hadoop@slave2:~$ sudo ntpdate pool.ntp.org6 Jun 18:45:09 ntpdate[2962]: the NTP socket is in use, exiting
hadoop@slave2:~$ sudo service ntp stop
hadoop@slave2:~$ sudo ntpdate ntp1.aliyun.com6 Jun 18:48:17 ntpdate[2991]: adjust time server 120.25.115.20 offset 0.002264 sec

如果没有安装service:

[hadoop@master ~]$ sudo ntpdate ntp1.aliyun.com6 Jun 18:48:31 ntpdate[25295]: the NTP socket is in use, exiting
[hadoop@master ~]$ sudo service ntp stop
Redirecting to /bin/systemctl stop ntp.service
Failed to stop ntp.service: Unit ntp.service not loaded.
[hadoop@master ~]$ sudo pkill -9 -f ntp
Killed
[hadoop@master ~]$ sudo ntpdate ntp1.aliyun.com6 Jun 18:50:35 ntpdate[25325]: adjust time server 120.25.115.20 offset -0.000052 sec

the NTP socket is in use, exiting相关推荐

  1. ntpdate[31915]: the NTP socket is in use, exiting

    [root@master local]# ntpdate cn.pool.ntp.org 10 Oct 13:24:36 ntpdate[31915]: the NTP socket is in us ...

  2. 解决the NTP socket is in use, exiting问题

    解决the NTP socket is in use, exiting问题 # ntpdate ntp.api.bz 21 Sep 14:39:09 ntpdate[24744]: the NTP s ...

  3. ntpdate报错the NTP socket is in use, exiting

    客户端使用ntpdate与NTP服务器进行时钟同步时,报错"the NTP socket is in use, exiting",如下: [root@h3 vdsm]# ntpda ...

  4. linux中使用ntpdate命令进行时间更新时出现the NTP socket is in use, exiting

    问题描述:linux服务器中使用ntpdate命令进行时间更新时出现提示the NTP socket is in use, exiting 解决办法:这个错误的原因是存在已经启动的ntpdate服务, ...

  5. 在ntpdate同步时间的时候出现“the NTP socket is in use, exiting”

    故障描述: centos下使用如下命令手动同步服务器时间 #/usr/sbin/ntpdate ntp.api.bz 出现"the NTP socket is in use, exiting ...

  6. ntpdate解决同步时间报错 the NTP socket is in use, exiting

    ntpdate解决同步时间报错 the NTP socket is in use, exiting  在HBase启动服务前首先查看集群时间是否同步 <第一步> 检查是否安装ntpd,nt ...

  7. 解决时间同步问题:ntpdate[1899]: the NTP socket is in use, exiting

    同步集群时间时,使用命令:ntpdate hadoop01,出现: ntpdate[1899]: the NTP socket is in use, exiting 原因:ntpdate 的端口123 ...

  8. ntpdate解决同步时间报错:the NTP socket is in use, exiting

    一:关闭NTP服务 直接输入:service ntpd stop 关闭ntpd服务. 再进行时间同步. 再打开ntpd服务. 二:没有安装NTP服务 安装NTP服务: 输入:yum install - ...

  9. linux ntp端口 修改,Linux时间配置(修改时间 修改日期 ntpd ntpdate NTP socket exiting)...

    修改linux的时间可以使用date指令 修改日期: 时间设定成2013年11月1日的命令如下: #date -s 01/11/2013 修改时间: 将系统时间设定成上午10点18分0秒的命令如下. ...

最新文章

  1. 小程序点击图片自动播放视频,停止上一个视频播放
  2. 架构语言ArchiMate -业务层(Business Layer)
  3. config.php开启redis,微擎如何开启redis,redis开启方法详解
  4. 光缆故障测试_简单的测试可以防止最严重的故障
  5. 04.卷积神经网络 W3.目标检测(作业:自动驾驶 - 汽车检测)
  6. java中如何使用反射调用方法以及获得类中的属性
  7. Linux shell 下的复制和粘贴(Copy Paste Operation on Linux shell)
  8. javacv入门指南:序章_建立开放文化的循序渐进指南
  9. MIME媒体类型:简介,作用(描述并标记多媒体内容),示例
  10. mysql防止误操作之prompt命令提示符
  11. 2022年电子电路铜箔行业上下游产业链分析预测及市场规模供需平衡度研究
  12. (译)Cocos2d_for_iPhone_1_Game_Development_Cookbook:1.5播放视频文件
  13. java-php-python-springboot网上租贸系统计算机毕业设计
  14. Namecheap无法登录、无法修改密码
  15. mysql help_深入理解mysql帮助命令(help)
  16. 实习收获之软件思想误区的纠正
  17. [原]我和她同居的日子 一
  18. dell电脑更新win11后黑屏但有鼠标(已解决)
  19. 国企银行秋招不完全指南
  20. 基于Arduino和AIDA64的lcd1602显示电脑状态

热门文章

  1. 中国移动基于ARM/x86服务器的Ceph性能对比
  2. jquery中ajax格式
  3. 『Linux基础 - 4 』linux常用命令(1)
  4. PAT 1038. 统计同成绩学生
  5. Android开源工具库
  6. grunt的学习和使用
  7. 前端编码风格规范(3)—— JavaScript 规范
  8. ArcGIS下的多节点可达性分析
  9. 可以改动的option组件_uni-app WebView 组件通信
  10. powergrep linux版本,PowerShell实现简单的grep功能