zabbix_agentd [6539]: Is this process already running? Could not lock PID file [/var/run/zabbix/zabbix_agentd.pid]: [11] Resource temporarily unavailable.

查看zabbix_agentd.log日志:详情如下:

zabbix_agentd [6539]: Is this process already running? Could not lock PID file [/var/run/zabbix/zabbix_agentd.pid]: [11] Resource temporarily unavailable.

#cat  /etc/zabbix/zabbix_agentd.conf

PidFile=/var/run/zabbix/zabbix_agentd.pid                    #指定pid路径.

注释掉:PidFile=/var/run/zabbix/zabbix_agentd.pid

重新查看zabbix_agentd.log日志:详情如下:

error:zabbix_agentd [6839]: Is this process already running? Could not lock PID file [/tmp/zabbix_agentd.pid]: [11] Resource temporarily unavailable.

解决办法:

#ln  -s  /tmp/zabbix_agentd.pid   /var/run/zabbix/zabbix_agentd.pid

posted @ 2022-10-24 23:15  呼长喜  阅读(627)  评论(0编辑  收藏  举报