mongos 集群无法启动

  • 启动mongos
./mongos  --configdb 192.168.100.201:21000,192.168.100.202:21000,192.168.100.204:21000  --port 20000   --logpath  /data/mongodbtest/mongos/log/mongos.log --fork  
about to fork child process, waiting until server is ready for connections.  
forked process: 4394  
ERROR: child process failed, exited with error number 1 
  • 日志文件
error upgrading config database to v6 :: caused by :: DistributedClockSkewed clock skew of the cluster 192.168.100.201:21000,192.168.100.202:21000,  
192.168.100.204:21000 is too far out of bounds to allow distributed locking.  
  • 解决

– 原因:主机之间时钟有相差,约几百毫秒吧。重新同步ok。

date命令:
date :查看当前时间,结果如下:Tue Mar 4 01:36:45 CST 2014
date -s 09:38:40 :设置当前时间,结果如下:Tue Mar 4 09:38:40 CST 2014
展开阅读全文

没有更多推荐了,返回首页

©️2019 CSDN 皮肤主题: 技术黑板 设计师: CSDN官方博客
应支付0元
点击重新获取
扫码支付

支付成功即可阅读