我是靠谱客的博主 奋斗苗条,这篇文章主要介绍1、zookeeper 没有到主机的路由,现在分享给大家,希望可以做个参考。

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

zkServer.sh status查看当前状态  zk启动不成功

在zookeeper.out文件中报错如下

java.net.NoRouteToHostException: 没有到主机的路由

解决思路,先互相ping一下看是否能够ping通,如果可以ping通,可能是防火墙的原因

======================================================

  1.   1、临时状态、永久查询

     

    临时状态查询:

     service iptables status

     service ip6tables status

    永久状态查询:

     chkconfig --list | grep iptables

     

     

  2. 2

    2、重启、临时关闭、永久关闭   

    临时关闭、启动:

     service iptables stop /start

     service ip6tables stop /start

    永久关闭、启动:

     chkconfig --level 2345 iptables off /on

     chkconfig --level 2345 ip6tables off/on

     

    END

(2)RHEL 7防火墙设置

  1.     1、临时状态、永久查询

    临时状态查看:

     systemctl status firewalld

    永久状态查看:

     systemctl list-unit-files | grep firewalld

     

     

  2. 2、重启、临时关闭、永久关闭 

    临时重启:

     systemctl stop firewalld

    永久关闭或开启:

     systemctl disable firewalld

     

     

转载于:https://my.oschina.net/u/3551274/blog/1790707

最后

以上就是奋斗苗条最近收集整理的关于1、zookeeper 没有到主机的路由的全部内容,更多相关1、zookeeper内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(112)

评论列表共有 0 条评论

立即
投稿
返回
顶部