ubuntu FirewallD is not running
时间: 2023-11-16 17:59:18 浏览: 116
Ubuntu系统使用的是ufw防火墙,而不是FirewallD。如果你想启动ufw防火墙,可以使用以下命令:sudo ufw enable。如果你想停止ufw防火墙,可以使用以下命令:sudo ufw disable。如果你想检查ufw防火墙的状态,可以使用以下命令:sudo ufw status。如果你想开放某个端口,可以使用以下命令:sudo ufw allow <端口号>/<协议>。例如,如果你想开放80端口,可以使用以下命令:sudo ufw allow 80/tcp。
相关问题
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"的提示。
阅读全文