I'm trying to install zabbix on a new (virtual) server. But i have troubles with the zabbix_agentd on the zabbix server. I get the error below and don't know how to fix it... Can someone help me out or point me in the correct direction?

Error logging zabbix_agentd (on zabbix server):
16795:20130325:144550.564 Starting Zabbix Agent [server-adres]. Zabbix 2.0.3 (revision 30485).
16795:20130325:144550.580 listener failed: zbx_tcp_listen() fatal error: unable to serve on any address [[-]:10050]

configuration zabbix_agentd on the zabbix server:

PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
DebugLevel=4 # for now
Server=127.0.0.1
ServerActive=127.0.0.1
Hostname=server-adress also tried ip adress, same error

with command netstat:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 31428/./zabbix_agen
tcp 0 0 0.0.0.0:10051 0.0.0.0:* LISTEN 5690/./zabbix_serve

Tags: None
 
 
解决方法:
 
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:10051 0.0.0.0:* LISTEN

Yup, according to the output you already have processes listening on ports 10050 and 10051 (probably Zabbix processes you started up before). If you are trying to restart the agent/server processes after changing configuration stuff, you MUST kill the processes before you can start new ones up. Do that by running these commands:

1. To kill Zabbix Server - "killall -TERM zabbix_server"
2. To kill Zabbix agentd - "killall -TERM zabbix_agentd"

 
 

最新文章

  1. 用c的数组简单的模拟了入栈
  2. git 教程(4)--版本回退
  3. 对象映射组件Tiny Mapper
  4. Servlet跳转方式
  5. mysql---多表关联
  6. java 四种逻辑运算符
  7. [C#技术] .NET平台开源JSON库LitJSON的使用方法
  8. div 固定宽高 水平垂直居中方法
  9. 在eclipse中创建web项目
  10. js--3目运算符
  11. (转载)oracle的v$sqlarea表
  12. 基于python2.7通过boto3实现ec2表格化
  13. Python Cookbook(第3版)中文版:15.19 从C语言中读取类文件对象
  14. Redis 事务相关
  15. PAT1107:Social Clusters
  16. jdk7_ConcurrentHashMap 图示
  17. WEB学习笔记6-正确闭合HTML标签
  18. python内置函数整理
  19. JAXB--@XmlElementWrapper注解和泛型一起使用
  20. 【Unity】4.7 摄像机

热门文章

  1. [BZOJ4832]抵制克苏恩(概率期望DP)
  2. [P4063][JXOI2017]数列(DP)
  3. 【找规律】【二进制拆分】hdu6129 Just do it
  4. Problem B: 判断回文字符串
  5. JavaScript 匹配字符串偶数位置的字符 及匹配 $ 符号
  6. [典型漏洞分享]上传导致的应用层DOS攻击
  7. sql 查询慢的48个原因分析
  8. appium+python自动化48-长按(long_press)
  9. 解决新浪微博API调用限制 突破rate_limit_status瓶颈
  10. JS的join方法