Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the solution for zookeeper cluster to encounter not route host on centerOS7

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

Zookeeper cluster encountered on centerOS7 not route host solution is what, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

Today, when I was doing a zookeeper cluster, I encountered not route host. The machine is 3 centerOS7.

Knowledge: centerOS7 defaults to firewalld as its default firewall, so it has nothing to do with iptable.

The next step is to turn off the firewalld firewall.

1. Stop the firewalld service

Systemctl stop firewalld

two。 Turn off the firewaller service

Systemctl disable firewalld

The following deleted statements appear

Rm'/ etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service'rm'/ etc/systemd/system/basic.target.wants/firewalld.service'

3. Edit / etc/sysconfig/selinux file

# SELINUX=enforcingSELINUX=disabled / / set its SELINUX=disabled

4. Set setenforce 0

[root@#localhost bin] # setenforce 0

In this way, the firewalld firewall is turned off, and the zookeeper cluster can be started according to the normal process.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 235

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report