首页 > 代码库 > rocks sync users 异常问题
rocks sync users 异常问题
rocksCluster 执行
# rocks sync users
后出现下面的报警信息,会在所有终端出现,影响工作。
Message from syslogd@hadoop-9 at Dec 31 16:34:14 ...
aceback (most recent call last):
Message from syslogd@hadoop-9 at Dec 31 16:34:14 ...
File "/opt/rocks/sbin/411-alert-handler", line 362, in <module>
Message from syslogd@hadoop-9 at Dec 31 16:34:14 ...
Message from syslogd@hadoop-9 at Dec 31 16:34:14 ...
ndler.run(filename, signature)
Message from syslogd@hadoop-9 at Dec 31 16:34:14 ...
File "/opt/rocks/sbin/411-alert-handler", line 319, in run
Message from syslogd@hadoop-9 at Dec 31 16:34:14 ...
Message from syslogd@hadoop-9 at Dec 31 16:34:14 ...
me.sleep(random.uniform(0, 30))
Message from syslogd@hadoop-9 at Dec 31 16:34:14 .
另外用户无法同步到计算机点
在计算机节点hadoop-9上执行
# 411get --verbose /etc.passwd
出现下面的问题:
Error: Could not reach a master server. Masters:[http://x.x.x.x:372/411.d/ (-1)]
看到是http访问,于是去frontend上检查http服务,正常,但是372端口没有数据
想到之前配置过代理,删除配置,重启httpd,372端口正常了
#lsof -i:372
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
httpd 14979 root 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
httpd 22599 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
httpd 22600 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
httpd 22601 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
httpd 22602 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
httpd 22603 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
httpd 22604 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
httpd 22605 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
httpd 22606 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
执行
# rocks sync users
测试,一切正常
来自为知笔记(Wiz)
rocks sync users 异常问题
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。