zabbix问题-cannot create IPC key for path

zabbix问题-cannot create IPC key for path

问题现象

  1. zabbix_agentd [14005]: cannot create IPC key for path [/etc/zabbix/zabbix_agentd.conf] id [l]: [13] Permission denied
  2. zabbix_agentd [14005]: cannot create IPC key for path [./etc/zabbix/zabbix_agentd.conf] id [l]: [13] No such file or directory

解决办法

  1. 修改文件权限:chmod -R 755 /path/to/zabbix
  2. 使用绝对路径启动zabbix-agent:/path/to/zabbix/sbin/zabbix_agentd -c /path/to/zabbix/etc/zabbix_agentd.conf

问题原因

  1. 第一个问题描述是因为没有权限导致,因此需要加权限解决问题
  2. 第二个问题描述是因为没有找到配置文件(启动的时候使用了相对路径),因此需要使用绝对路径解决问题
原文地址:https://www.cnblogs.com/wanwz/p/13396961.html