首页 > 代码库 > rocks sync users 异常问题

rocks sync users 异常问题

rocksCluster 执行
  1. # rocks sync users
后出现下面的报警信息,会在所有终端出现,影响工作。
  1. Message from syslogd@hadoop-9 at Dec 31 16:34:14 ...
  2. aceback (most recent call last):
  3. Message from syslogd@hadoop-9 at Dec 31 16:34:14 ...
  4. File "/opt/rocks/sbin/411-alert-handler", line 362, in <module>
  5. Message from syslogd@hadoop-9 at Dec 31 16:34:14 ...
  6. Message from syslogd@hadoop-9 at Dec 31 16:34:14 ...
  7. ndler.run(filename, signature)
  8. Message from syslogd@hadoop-9 at Dec 31 16:34:14 ...
  9. File "/opt/rocks/sbin/411-alert-handler", line 319, in run
  10. Message from syslogd@hadoop-9 at Dec 31 16:34:14 ...
  11. Message from syslogd@hadoop-9 at Dec 31 16:34:14 ...
  12. me.sleep(random.uniform(0, 30))
  13. Message from syslogd@hadoop-9 at Dec 31 16:34:14 .
另外用户无法同步到计算机点
在计算机节点hadoop-9上执行
  1. # 411get --verbose /etc.passwd
出现下面的问题:
  1. Error: Could not reach a master server. Masters:[http://x.x.x.x:372/411.d/ (-1)]
看到是http访问,于是去frontend上检查http服务,正常,但是372端口没有数据
想到之前配置过代理,删除配置,重启httpd,372端口正常了
  1. #lsof -i:372
  2. COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
  3. httpd 14979 root 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
  4. httpd 22599 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
  5. httpd 22600 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
  6. httpd 22601 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
  7. httpd 22602 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
  8. httpd 22603 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
  9. httpd 22604 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
  10. httpd 22605 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
  11. httpd 22606 apache 6u IPv6 448713008 0t0 TCP *:ulistproc (LISTEN)
执行
  1. # rocks sync users
测试,一切正常


来自为知笔记(Wiz)


rocks sync users 异常问题