在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.相关推荐

  1. mysql 启动报错 ERROR The server quit without updating PID file

    mysql 启动报错 : ERROR! The server quit without updating PID file (/usr/local/var/mysql/bogon.pid). 今天莫名 ...

  2. 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). ...

  3. 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 ...

  4. Zabbix启动失败,提示Zabbix-agent.servic never wrote its PID file,failing

    原由:zabbix界面上提示几台机器连接不通,于是登录这几台服务器,然后ping Zabbix Server这台主机,发现都能ping通,但是Zabbix的界面却显示连接不通就很奇怪 1.根据zabb ...

  5. Redis安装+启动报错

    Redis安装+启动报错 首先Windows下安装 下载地址:https://github.com/MSOpenTech/redis/releases%E3%80%82  redis官方不支持wind ...

  6. 【总结】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 ...

  7. 解决执行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) 其实 ...

  8. linux yum nothing,Centos6.9 yum安装htop报错解决过程

    今天在学习linux过程中需要安装htop,但是我在直接yum -y install htop之后,系统提示: No package htop available. Error: Nothing to ...

  9. 解决阿里云CentOS8 yum安装appstream报错,更新yum后无法makecache的问题

    问题 CentOS 8 yum安装软件时,提示无法从appstream下载 [root@iZwz99xeomvq1omj9cu7tuZ yum.repos.d]# yum -y install epe ...

最新文章

  1. 06Chrome调试工具
  2. Oracle 权限介绍及管理
  3. Java设计模式(学习整理)---单例模式
  4. 64位win7中使用vs2013为python3.4安装pycrypto-2.6.1插件报Unable to find vcvarsall.bat异常解决方式...
  5. ITK:将矢量图像投射为另一种类型
  6. [Python设计模式] 第1章 计算器——简单工厂模式
  7. Spark的RDD操作之Join大全
  8. Multilink ppp多链接PPP协议的配置
  9. js(javascript)取得当前时间小时,分钟,秒 以及毫秒
  10. codevs 4927 线段树练习5 线段树基本操作模板
  11. 802.11 与wifi
  12. 常用 25/26 Flash 系列器件型号、ID、容量对照表
  13. html向上无间隔滚动文字(图片)
  14. MySQL异构同步_详解MySQL数据库异构数据同步
  15. 抖音搬运视频如何伪原创
  16. Gradient Descent for one-hidden-layer-function(单隐藏层神经网络的梯度下降)
  17. 如何实现网页分享到微信,微博,空间
  18. 程序员的呓语---萎缩的情商
  19. Unity3d物理引擎
  20. java (基础、框架)思维脑图

热门文章

  1. 【这是一个还没有被证实是否有效的小白修炼手册】数据结构入门第一课基本概念
  2. SRE运维工程师笔记-文件查找和压缩
  3. 参数估计之矩估计和极大似然估计概述
  4. 解决win10系统点击飞行模式后找不到WiFi连接问题
  5. java web构建_使用Java构建一个宁静的Web服务
  6. 使用jsp实现用户注册及登录
  7. python搜索pdf内容所在页码_使用pyPDF从文档中检索页码
  8. 小程序内配置公众号关注组件
  9. java短视频开发技术_看Java学员如何用前后端分离技术搭建短视频健身APP
  10. 移动硬盘数据丢失如何快速恢复?