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

The firewall starts the error message Failed to start firewalld.service: Unit is

2025-04-09 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

I. failure phenomenon

1. Start the firewall

# systemctl start firewalld

Failed to start firewalld.service: Unit is masked.

(failed to start the firewall: the firewall is locked)

II. Solutions

1. Unlock the firewall

# systemctl unmask firewalld

Output the following results:

Removed symlink / etc/systemd/system/firewalld.service.

(remove symbolic links)

2. Start firewalld again:

# systemctl start firewalld

3. Check the firewalld status:

# systemctl status firewalld

Output the following results:

● firewalld.service-firewalld-dynamic firewall daemon

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

Active: active (running) since four 2019-06-06 14:59:42 CST; 6s ago

Docs: man:firewalld (1)

Main PID: 31046 (firewalld)

Tasks: 2

Memory: 25.9M

CGroup: / system.slice/firewalld.service

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

June 06 14:59:41 node-3 systemd [1]: Starting firewalld-dynamic firewall daemon...

14:59:42 node-3 systemd [1]: Started firewalld-dynamic firewall daemon.

4Active: active (running) indicates that the firewall has been started.

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: 0

*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