Ntp--server dropped:Strata too hight

前段时间现场遇到window系统无法更新ntp服务器时间问题:

解决步骤: 将上面两行,添加到 /etc/ntp.conf 文件中,重启ntp服务:systemctl restart ntpd.service  ,问题解决

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

备注下ntp问题排查时,做的抓包处理:

1 . 你在ntp服务器上,执行抓包命令: #tcpdump -i  ens192   udp   port   123    #回车,等待数据输出 
              注:  ens192    为望京测试机 网卡名称,需ifconfig查看深圳服务器的实际网卡名称,并替换;  123为 ntp服务端口不需修改
   2.  在安装动态的window电脑上,更新时间请求到ntp服务器:
      
注: 服务器栏里,输入*****交管局ntp服务器地址
     3. 点击立即更新,执行有结果时(成功或失败),去服务器查看步骤1里的输出:
          3.1  没有输出-----说明没有收到ntp请求。
           
            处理方案: 请网管协助界面网络请求不通问题

           3.2 有如下输出(红圈两行),说明收到请求
           
              处理方案:如此时动态window时间仍不对,且输出也有截图的两行数据,说明服务器收到请求,且返回数据,只能排查window系统了。
        或者将抓取包,写到文件里( /opt/ntp_log.cap ),发给我分析也行:
                         #tcpdump -i  ens192   udp   port   123    -w   /opt/ntp_log.cap      
                    注:  ens192    为望京测试机 网卡名称,需ifconfig查看深圳服务器的实际网卡名称,并替换;  123为 ntp服务端口不需修改



安卓APP访问CAN有如下报错05-16 18:09:54.015 8022 8022 D can_test: nCanFd = 67 05-16 18:09:54.015 8022 8022 D can_test: Send can_id 05-16 18:09:54.013 8022 8022 I com.bin.cantest: type=1400 audit(0.0:444): avc: denied { ioctl } for path="socket:[114169]" dev="sockfs" ino=114169 ioctlcmd=0x8933 scontext=u:r:system_app:s0 tcontext=u:r:system_app:s0 tclass=can_socket permissive=1 05-16 18:09:54.015 8022 8022 D can_test: Send Error frame[0] 05-16 18:09:54.013 8022 8022 I com.bin.cantest: type=1400 audit(0.0:445): avc: denied { bind } for scontext=u:r:system_app:s0 tcontext=u:r:system_app:s0 tclass=can_socket permissive=1 05-16 18:09:54.013 8022 8022 I com.bin.cantest: type=1400 audit(0.0:446): avc: denied { write } for path="socket:[114169]" dev="sockfs" ino=114169 scontext=u:r:system_app:s0 tcontext=u:r:system_app:s0 tclass=can_socket permissive=1 05-16 18:09:54.020 0 0 W audit : audit_lost=15 audit_rate_limit=5 audit_backlog_limit=64 05-16 18:09:54.020 0 0 E audit : rate limit exceeded 05-16 18:09:54.060 305 388 W APM::AudioPolicyEngine: getDevicesForStrategy() unknown strategy: -1 05-16 18:09:54.060 459 477 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4 05-16 18:09:54.150 459 1215 E TaskPersister: File error accessing recents directory (directory doesn't exist?). 05-16 18:09:56.930 274 401 D AudioHardwareTiny: do_out_standby,out = 0xea043b70,device = 0x2 05-16 18:09:56.932 274 401 D alsa_route: route_set_controls() set route 24 05-16 18:09:56.941 274 401 D AudioHardwareTiny: close device 05-16 18:09:56.943 459 477 I system_server: oneway function results will be dropped but finished with status OK and parcel size 4 05-16 18:10:00.010 620 620 D KeyguardClockSwitch: Updating clock:
最新发布
06-13
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值