zabbix通过yum安装,启动报错zabbix-agent.service never wrote its PID file. Failing.
在cenots7安装zabbix,选择好需要的版本,根据手册执行:
zabbix官网安装说明
查看状态:
[root@localhost ~]# systemctl status zabbix-agent
● zabbix-agent.service - Zabbix AgentLoaded: loaded (/usr/lib/systemd/system/zabbix-agent.service; disabled; vendor preset: disabled)Active: activating (auto-restart) (Result: resources) since 六 2021-05-08 10:20:40 CST; 6s agoProcess: 35969 ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE (code=exited, status=0/SUCCESS)5月 08 10:20:40 localhost.localdomain systemd[1]: zabbix-agent.service never wrote its PID file. Failing.
5月 08 10:20:40 localhost.localdomain systemd[1]: Failed to start Zabbix Agent.
5月 08 10:20:40 localhost.localdomain systemd[1]: Unit zabbix-agent.service entered failed state.
5月 08 10:20:40 localhost.localdomain systemd[1]: zabbix-agent.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
解决办法,执行以下命令:
[root@localhost ~]# getenforce
Enforcing
[root@localhost ~]# setenforce 0
[root@localhost ~]# getenforce
Permissive
执行完毕后,再次查看状态:
[root@localhost ~]# systemctl status zabbix-agent
● zabbix-agent.service - Zabbix AgentLoaded: loaded (/usr/lib/systemd/system/zabbix-agent.service; disabled; vendor preset: disabled)Active: active (running) since 六 2021-05-08 10:23:14 CST; 7s agoProcess: 38354 ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE (code=exited, status=0/SUCCESS)Main PID: 38356 (zabbix_agentd)CGroup: /system.slice/zabbix-agent.service├─38356 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
zabbix通过yum安装,启动报错zabbix-agent.service never wrote its PID file. Failing.相关推荐
- mysql 启动报错 ERROR The server quit without updating PID file
mysql 启动报错 : ERROR! The server quit without updating PID file (/usr/local/var/mysql/bogon.pid). 今天莫名 ...
- Mysql启动报错:The server quit without updating PID file (/usr/local/mysql/data/buq224xi.pid).
Linux服务器Mysql启动报错提示: The server quit without updating PID file (/usr/local/mysql/data/buq224xi.pid). ...
- mysql5.5启动报错:The server quit without updating PID file ([FAILED]localhost.localdomain.pid)....
刚安装完了mysql 5.5.23,启动时报错: [root@localhost /]# service mysqld restart MySQL server PID file could not ...
- Zabbix启动失败,提示Zabbix-agent.servic never wrote its PID file,failing
原由:zabbix界面上提示几台机器连接不通,于是登录这几台服务器,然后ping Zabbix Server这台主机,发现都能ping通,但是Zabbix的界面却显示连接不通就很奇怪 1.根据zabb ...
- Redis安装+启动报错
Redis安装+启动报错 首先Windows下安装 下载地址:https://github.com/MSOpenTech/redis/releases%E3%80%82 redis官方不支持wind ...
- 【总结】ElasticSearch 安装启动报错max file descriptors [32768] for elasticsearch process is too low, increase
ElasticSearch 安装启动报错max file descriptors [32768] for elasticsearch process is too low, increase to a ...
- 解决执行Mysql报错: ERROR: The server quit without updating PID file (/data/xxx.pid)
昨天在Linux中安装mysql-8.0.28时遇到了这个报错: ERROR! The server quit without updating PID file (/data/xxx.pid) 其实 ...
- linux yum nothing,Centos6.9 yum安装htop报错解决过程
今天在学习linux过程中需要安装htop,但是我在直接yum -y install htop之后,系统提示: No package htop available. Error: Nothing to ...
- 解决阿里云CentOS8 yum安装appstream报错,更新yum后无法makecache的问题
问题 CentOS 8 yum安装软件时,提示无法从appstream下载 [root@iZwz99xeomvq1omj9cu7tuZ yum.repos.d]# yum -y install epe ...
最新文章
- 06Chrome调试工具
- Oracle 权限介绍及管理
- Java设计模式(学习整理)---单例模式
- 64位win7中使用vs2013为python3.4安装pycrypto-2.6.1插件报Unable to find vcvarsall.bat异常解决方式...
- ITK:将矢量图像投射为另一种类型
- [Python设计模式] 第1章 计算器——简单工厂模式
- Spark的RDD操作之Join大全
- Multilink ppp多链接PPP协议的配置
- js(javascript)取得当前时间小时,分钟,秒 以及毫秒
- codevs 4927 线段树练习5 线段树基本操作模板
- 802.11 与wifi
- 常用 25/26 Flash 系列器件型号、ID、容量对照表
- html向上无间隔滚动文字(图片)
- MySQL异构同步_详解MySQL数据库异构数据同步
- 抖音搬运视频如何伪原创
- Gradient Descent for one-hidden-layer-function(单隐藏层神经网络的梯度下降)
- 如何实现网页分享到微信,微博,空间
- 程序员的呓语---萎缩的情商
- Unity3d物理引擎
- java (基础、框架)思维脑图