Failed to stop firewalled.service: Unit firewalled.service not loaded.
时间: 2024-05-20 20:13:39 浏览: 22
这个错误提示说明你尝试停止一个名为“firewalled”的服务,但是该服务并没有被加载。这可能是因为该服务不存在或者被命名不正确。
你可以使用systemctl命令来列出所有已加载的服务,看看是否存在名为“firewalled”的服务。你也可以使用systemctl status命令来查看该服务的状态和详细信息。
如果你确定想要停止一个不存在的服务,你可以忽略该错误提示,因为它并不会影响系统的正常运行。
相关问题
Failed to stop firewalled.service: Unit firewalled.service not loaded
This error message indicates that the "firewalled.service" unit is not currently loaded on your system, so it cannot be stopped. This may be because the service is not installed or enabled on your system.
To resolve this issue, you can try the following steps:
1. Check if the "firewalled" package is installed on your system using the command: `sudo yum list installed firewalled` or `sudo apt list --installed firewalled`
2. If the package is not installed, install it using the appropriate package manager. For example, on CentOS/RHEL systems, you can install it using the command: `sudo yum install firewalld`
3. Once the package is installed, enable and start the service using the command: `sudo systemctl enable firewalld && sudo systemctl start firewalld`
4. After the service is started, you can try stopping it again using the command: `sudo systemctl stop firewalld`
If you continue to encounter issues, you may need to investigate further to determine the root cause of the problem.
相关推荐
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)