ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=1/FAILURE)

简介: firewalld启动报错ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=1/FAILURE)

firewalld启动报错

ExecStart=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS (code=exited, status=1/FAILURE)


firewalld 是CentOS7的默认防火墙,用python作配置文件,一般对python进行升级,python2和python3的不兼容导致firewalld启动异常


vim /usr/sbin/firewalld  用vim打开文件,把/usr/bin/python改成/usr/bin/python2,问题解决可以启动防火墙。

目录
相关文章
|
应用服务中间件 Linux 开发工具
CentOS7下启动Nginx出现Failed to start nginx.service:unit not found
CentOS7下启动Nginx出现Failed to start nginx.service:unit not found
3721 0
CentOS7下启动Nginx出现Failed to start nginx.service:unit not found
|
3月前
|
网络协议 Linux
搭建FTP报错:Job for vsftpd.service failed because the control process exited with error code. See
搭建FTP报错:Job for vsftpd.service failed because the control process exited with error code. See
260 3
|
Shell Docker 容器
Docker - 解决同步容器与主机时间报错:Error response from daemon: Error processing tar file(exit status 1): invalid symlink "/usr/share/zoneinfo/UTC" -> "../usr/share/zoneinfo/Asia/Shanghai"
Docker - 解决同步容器与主机时间报错:Error response from daemon: Error processing tar file(exit status 1): invalid symlink "/usr/share/zoneinfo/UTC" -> "../usr/share/zoneinfo/Asia/Shanghai"
1252 0
Docker - 解决同步容器与主机时间报错:Error response from daemon: Error processing tar file(exit status 1): invalid symlink "/usr/share/zoneinfo/UTC" -> "../usr/share/zoneinfo/Asia/Shanghai"
|
8月前
|
Shell
etcd.service: main process exited, code=exited, status=203/EXEC
etcd.service: main process exited, code=exited, status=203/EXEC
245 1
|
关系型数据库 MySQL 数据库
ERROR! MariaDB is running but PID file could not be found
在CentOS7.6上安装了MariaDB10.3,采用的yum方式安装的,用命令查看数据库的状态会报错误
172 0
|
关系型数据库 MySQL Linux
linux 安装mysql ERROR:Job for mysqld.service failed See “systemctl status mysqld.service”
linux 安装mysql ERROR:Job for mysqld.service failed See “systemctl status mysqld.service”
303 0
sshd报错status=203/EXEC,/sbin/sshd permission denied
sshd报错status=203/EXEC,/sbin/sshd permission denied
259 0
|
Linux 虚拟化
安装centos7 报错[FAILED] Failed to start Switch Root. see 'systemctl status initrd-switch-root.service' for details
安装centos7 报错[FAILED] Failed to start Switch Root. see 'systemctl status initrd-switch-root.service' for details
24682 0

热门文章

最新文章

下一篇
开通oss服务