IT分销/经销HAhacmpxntpd

xntpd自动关闭问题求助

B机作为备机,与A机同时启动xntpd进程(smitty xntpd or startsrc -g xntpd都试过)但B机的此进程一会就挂掉:提示:the request could not be passed to the xntpd,start the subsystem and try your command again...纠结在vi /etc/ntp.conf的server配置与A机一样原来怀疑是HA...显示全部
B机作为备机,与A机同时启动xntpd进程(smitty xntpd or startsrc -g xntpd都试过)
但B机的此进程一会就挂掉:
提示:the request could not be passed to the xntpd,start the subsystem and try your command again...
纠结
在vi /etc/ntp.conf的server配置与A机一样

原来怀疑是HA的问题,可是把HA 停了也是如此

谢谢大家 帮我分析下解决问题的思路与可能性收起
参与11

查看其它 10 个回答rhua310的回答

rhua310rhua310软件开发工程师安图特

设置备份网络时钟服务器的方法:

(1)创建并编辑连接备份网络时钟服务器的配置文件,例如可以指定该文件为/etc/ntpb.conf。

#cd /etc

#vi ntpb.conf回车,在配置文件中输入如下内容

broadcastclient

server Xx.Xx.Xx.Xx

driftfile /etc/ntp.drift

tracefile /etc/ntp.trace

编辑完毕,保存退出。

(2)启动与备份时钟服务器的连接

#xntpd –m –c /etc/ntpb.conf

(3)检查备份时钟服务器是否设置成功:

#lssrc –ls xntpd

出现如下所示结果,则设置成功:

Program name:
/usr/sbin/xntpd


Version:
3

主网络时钟服务器地址


Leap indicator:
00 (No leap second today.)


Sys peer:
X1.X1.X1.X1


Sys stratum:
2


Sys precision:
-17


Debug/Tracing:
DISABLED


Root distance:
0.000443


Root dispersion: 0.007721


Reference ID:
X1.X1.X1.X1


Reference time:
cf4c3b19.ce792000
Thu, Mar 18 2010 13:39:37.806


Broadcast delay: 0.003906 (sec)


Auth delay:
0.000122 (sec)

主网络时钟服务器地址


System flags:
bclient pll monitor filegen


System uptime:
12951 (sec)


Clock stability: 0.000336 (sec)


Clock frequency: 0.000000 (sec)


Peer: X1.X1.X1.X1

辅助网络时钟服务器地址


flags: (configured)(sys peer)


stratum:
1, version: 3


our mode: client, his mode: server


Peer: X2.X2.X2.X2


flags: (configured)(sys peer)


stratum:
2, version: 3


our mode: client, his mode: server

Subsystem
Group
PID
Status


xntpd
tcpip
385242
active

互联网服务 · 2010-04-19
浏览6201

回答者

rhua310
软件开发工程师安图特
擅长领域: 服务器lparAIX

rhua310 最近回答过的问题

回答状态

  • 发布时间:2010-04-19
  • 关注会员:0 人
  • 回答浏览:6201
  • X社区推广