解决CentOS 7安装zabbix 3.0 无法启动zabbix-server的问题

解决CentOS 7安装zabbix 3.0 无法启动zabbix-server的问题[segfault at 18 ip 00007f78842b4bd0 sp 00007fff1995a818 error 4 in libpthread-2.17.so[7f78842ab000+16000]]

解决CentOS 7安装zabbix 3.0 无法启动zabbix-server的问题

[root@localhost sbin]# service zabbix-server start
Redirecting to /bin/systemctl start  zabbix-server.service
Job for zabbix-server.service failed. See 'systemctl status zabbix-server.service' and 'journalctl -xn' for details.
[root@localhost sbin]# journalctl -xn
-- Logs begin at Mon 2016-08-15 17:11:32 PDT, end at Mon 2016-08-15 19:34:58 PDT. --
Aug 15 19:34:48 localhost.localdomain systemd[1]: Failed to start Zabbix Server.
-- Subject: Unit zabbix-server.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit zabbix-server.service has failed.
-- 
-- The result is failed.
Aug 15 19:34:48 localhost.localdomain systemd[1]: Unit zabbix-server.service entered failed state.
Aug 15 19:34:52 localhost.localdomain systemd[1]: Starting Zabbix Server...
-- Subject: Unit zabbix-server.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit zabbix-server.service has begun starting up.
Aug 15 19:34:58 localhost.localdomain systemd[1]: zabbix-server.service holdoff time over, scheduling restart.
Aug 15 19:34:58 localhost.localdomain systemd[1]: Stopping Zabbix Server...
-- Subject: Unit zabbix-server.service has begun shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit zabbix-server.service has begun shutting down.
Aug 15 19:34:58 localhost.localdomain systemd[1]: Starting Zabbix Server...
-- Subject: Unit zabbix-server.service has begun with start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit zabbix-server.service has begun starting up.
Aug 15 19:34:58 localhost.localdomain systemd[1]: zabbix-server.service: control process exited, code=killed status=11
Aug 15 19:34:58 localhost.localdomain systemd[1]: Failed to start Zabbix Server.
-- Subject: Unit zabbix-server.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit zabbix-server.service has failed.
-- 
-- The result is failed.
Aug 15 19:34:58 localhost.localdomain systemd[1]: Unit zabbix-server.service entered failed state.
Aug 15 19:34:58 localhost.localdomain kernel: zabbix_server[46512]: segfault at 18 ip 00007f78842b4bd0 sp 00007fff1995a818 error 4 in libpthread-2.17.so[7f78842ab000+16000]

1. 问题所在

  • zabbix_server[46512]: segfault at 18 ip 00007f78842b4bd0 sp 00007fff1995a818 error 4 in libpthread-2.17.so[7f78842ab000+16000]

2. 产生原因

Centos7 中 gnutls.x86_64 (gnutls.x86_64 3.3.8-14.el7_2 ) 版本过高,需要降级 3.1.18-8.el7(1.20)

3. 解决办法

1. 点我去下载gnutls-3.1.18-8.el7.x86_64.rpm

2. 降级gnutls

rpm -Uvh --force  gnutls-3.1.18-8.el7.x86_64.rpm
  • 备注:
    如果遇到其他库依赖gnutls 3.3.8 卸载即可

    [root@localhost ~]# rpm -Uvh --force gnutls-3.1.18-8.el7.x86_64.rpm
    warning: gnutls-3.1.18-8.el7.x86_64.rpm: Header V4 DSA/SHA1 Signature, key ID 192a7d7d: NOKEY
    error: Failed dependencies:
    gnutls(x86-64) = 3.3.8-12.el7 is needed by (installed) gnutls-dane-3.3.8-12.el7.x86_64
    gnutls(x86-64) = 3.3.8-12.el7 is needed by (installed) gnutls-utils-3.3.8-12.el7.x86_64
    [root@localhost ~]# yum -y remove gnutls-dane-3.3.8-12.el7.x86_64

3. 重启zabbix

systemctl  restart  zabbix-server.service   
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值