Home Linux Server Handling the error “Failed to start firewalld.service: Unit is masked.”

Handling the error “Failed to start firewalld.service: Unit is masked.”

by Thạch Phạm
Published: Last Updated on
A+A-
Reset

Handling the error “Failed to start firewalld.service” with a few extremely simple commands with AZDIGI.

I. Overview

In the process of using VPS, there are some cases where you need to use Firewalld, but when you start up, you get an error and the log will show “Failed to start firewalld.service: Unit is masked.

[root@template /]# systemctl start firewalld
Failed to start firewalld.service: Unit is masked.

You don’t need to worry too much about this, the cause of this error can be understood simply because the Firewalld service has been disabled (masked) and cannot be started with the system. You need to open (unmask) to be able to start Firewalld.

You can learn more about Filewalld at the homepage by following the link: https://firewalld.org/

II. Handling Instructions

Step 1: Run the command Unmask Firewalld

You can use the following command:

AZDIGI Tutorial
systemctl unmask --now firewalld
    

If you receive the message below, you have successfully unmasked.

[root@template /]# systemctl unmask --now firewalld
Removed symlink /etc/systemd/system/firewalld.service.

Step 2: Restart Firewalld

Now you can restart Firewalld with the following command:

AZDIGI Tutorial
systemctl start firewalld
systemctl status firewalld
    
Handling the error "Failed to start firewalld.service

III. Summary

Thus, AZDIGI showed you how to handle the error Failed to start firewalld.service: Unit is masked quickly with just a few simple commands. Hope this article will help you solve it successfully!

If you find the article helpful, please share it widely. In addition, you can refer to some other articles on Linux knowledge at the link below:

If you need assistance, you can contact support in the ways below:

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign