Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to turn off and turn on firewalld Firewall by RHEL7.2

Shulou Source: shulou.com Published: 2022-06-01 02:44:09 09月30日 Update

In this issue, the editor will bring you about how RHEL7.2 turns off and turns on firewalld Firewall. The article is rich in content and analyzes and narrates for you from a professional point of view. I hope you can get something after reading this article.

Today, when testing ogg, we converted the target database from the saloris system to the Oracle 12c environment of the redhat 7.2system.

The state of the ABENDED in which the pump_sos process is started. When the parameters RMTHOST and MGRPORT are both set, but cannot be started, check the report prompt OGG-01224 TCP/IP errpr 113 (No route to host) error.

GGSCI (node01) 4 > view report pump_sos

2017-02-15 22:26:29 ERROR OGG-01668 PROCESS ABENDING.

I suddenly realized whether the firewall of redhat7.2 was turned on. Log in to the system and verify it. Sure enough, running's

[root@otars ~] # systemctl status firewalld

● firewalld.service-firewalld-dynamic firewall daemon

Loaded: loaded (/ usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)

Active: active (running) since Wed 2017-02-15 21:59:23 CST; 31min ago

Main PID: 1094 (firewalld)

CGroup: / system.slice/firewalld.service

└─ 1094 / usr/bin/python-Es / usr/sbin/firewalld-nofork-nopid

Feb 16 05:52:16 otars systemd [1]: Starting firewalld-dynamic firewall daemon...

Feb 15 21:59:23 otars systemd [1]: Started firewalld-dynamic firewall daemon.

[root@otars ~] # systemctl stop firewalld

After stop has lost firewalld on the destination side, verify whether pump_sos can be started on the source side. Sure enough, the pump_sos process status is RUNNING.

[root@otars ~] # systemctl disable firewalld

Removed symlink / etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.

Removed symlink / etc/systemd/system/basic.target.wants/firewalld.service.

You need to use the enable command to turn on the firewall

[root@otars ~] # systemctl enable firewalld

Created symlink from / etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service to / usr/lib/systemd/system/firewalld.service.

Created symlink from / etc/systemd/system/basic.target.wants/firewalld.service to / usr/lib/systemd/system/firewalld.service.

The above is how to turn off and turn on the firewalld firewall that the editor shared with you. If you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Tags: Firewall fire protection status system content command goal process analysis verification sure enough operating system professional small and medium rich content parameters that is awareness data database Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn OPPO Reno Microsoft MySQL Shulou Information