centos7 FirewallD is not running
时间: 2023-12-06 10:38:54 浏览: 114
要检查CentOS 7上的FirewallD是否正在运行,可以使用以下命令:
```shell
systemctl status firewalld
```
如果FirewallD未运行,则可以使用以下命令启动它:
```shell
systemctl start firewalld
```
如果您想在系统启动时启用FirewallD,请使用以下命令:
```shell
systemctl enable firewalld
```
如果您想停止FirewallD,请使用以下命令:
```shell
systemctl stop firewalld
```
如果您想禁用FirewallD,请使用以下命令:
```shell
systemctl disable firewalld
```
相关问题
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.
Xmanager7 FirewallD is not running
Xmanager7出现"FirewallD is not running"的错误可能有几个原因。首先,确保防火墙已经关闭。可以使用以下命令来停止防火墙服务:sudo systemctl stop firewalld.service。这将停止防火墙服务,允许Xmanager7正常运行。
如果问题仍然存在,可能是由于Xmanager7与xfce界面之间的兼容性问题造成的。根据引用中的描述,使用xdmcp界面可能会导致崩溃,而使用xstart界面可能会显示不完整的界面。为了解决这个问题,您可以尝试配置lightdm。如果尚未配置lightdm,请使用以下命令创建配置文件:sudo vi /etc/lightdm/lightdm.conf。然后,根据您的需求进行相应的配置。这可能有助于解决界面显示的问题。
总结来说,要解决"FirewallD is not running"错误,您可以通过停止防火墙服务和配置lightdm等方式来解决。这样可以确保Xmanager7正常运行,并避免界面显示的问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [xmanager远程桌面centos7](https://blog.csdn.net/junbujianwpl/article/details/52801952)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文
相关推荐












