FirewallD is not running
时间: 2023-07-01 19:25:49 浏览: 134
这个错误通常是由于防火墙服务没有运行导致的。以下是在 CentOS 7 中启动防火墙服务的步骤:
1. 打开终端并使用 root 用户登录。
2. 启动防火墙服务:
```
systemctl start firewalld
```
3. 检查防火墙服务是否正在运行:
```
systemctl status firewalld
```
如果防火墙服务正在运行,则您应该看到“active (running)”的消息。
4. 如果您希望防火墙服务在系统启动时自动启动,请执行以下命令:
```
systemctl enable firewalld
```
这将在系统启动时自动启动防火墙服务。
如果您遇到任何问题,可以通过查看防火墙日志文件(例如/var/log/firewalld)或使用firewall-cmd命令来检查和更改防火墙规则。
相关问题
FirewallD is not running [root@VM-16-9-centos mydata]# firewall-cmd --reload FirewallD is not running
FirewallD is a firewall management tool used in CentOS and other Linux distributions. The error message "FirewallD is not running" indicates that the FirewallD service is not currently active or running on your system.
To resolve this issue, you can try starting the FirewallD service using the following command:
```
sudo systemctl start firewalld
```
If the service starts successfully, you should see a message indicating that the FirewallD service has started. You can then try running the `firewall-cmd --reload` command again to reload the firewall rules.
If the issue persists, you may need to check if the FirewallD service is enabled to start at boot. You can do this by running the following command:
```
sudo systemctl enable firewalld
```
This will ensure that the FirewallD service starts automatically when you boot your system.
root@iZwz9gy07uaim1n7tie62dZ:~# firewall-cmd --reload firewall-cmd --list-all FirewallD is not running FirewallD is not running
根据提供的引用内容,您的问题是关于防火墙的状态和配置的。根据引用中的信息,防火墙服务FirewallD没有运行。您可以尝试重新加载防火墙配置并查看防火墙的状态。
以下是在Linux系统中重新加载防火墙配置并查看防火墙状态的命令示例:
```shell
root@iZwz9gy07uaim1n7tie62dZ:~# firewall-cmd --reload
root@iZwz9gy07uaim1n7tie62dZ:~# firewall-cmd --list-all
```
如果防火墙服务FirewallD正在运行,您将看到防火墙的配置信息。如果防火墙服务没有运行,您将看到"FirewallD is not running"的提示。
阅读全文