码迷,mamicode.com
首页 > 其他好文 > 详细

zabbix配置报错

时间:2018-07-15 00:16:15      阅读:243      评论:0      收藏:0      [点我收藏+]

标签:mmu   reserve   with   star   fat   Owner   zab   input   php   

系统:
CentOS release 6.8 (Final)
Server version: 5.7.22
zabbix-3.0.3
php-5.6.36

MySQL是可以登陆的。已经在zabbix配置文件配置了。
[root@iZ89pfagr8ob5qZ src]# mysql -uzabbix -pzabbix --socket=/var/lib/mysql/mysql.sock
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 5.7.22-log MySQL Community Server (GPL)

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type ‘help;‘ or ‘\h‘ for help. Type ‘\c‘ to clear the current input statement.

mysql>

zabbix启动看起来没问题。可status
[root@iZ89pfagr8ob5qZ src]# /etc/init.d/zabbix_server start
Starting zabbix_server: [ OK ]
[root@iZ89pfagr8ob5qZ src]# /etc/init.d/zabbix_server status
zabbix_server dead but subsys locked
[root@iZ89pfagr8ob5qZ src]#

zabbix 日志
1040:20180714:213341.389 using configuration file: /etc/zabbix/zabbix_server.conf
1040:20180714:213341.390 [Z3001] connection to database ‘zabbix‘ failed: [2002] Can‘t connect to local MySQL server through socket
‘/var/lib/mysql/mysql.sock‘ (13) 1040:20180714:213341.391 Got signal [signal:11(SIGSEGV),reason:1,refaddr:(nil)]. Crashing ...
1040:20180714:213341.391 ====== Fatal information: ======

这怎么搞?

zabbix配置报错

标签:mmu   reserve   with   star   fat   Owner   zab   input   php   

原文地址:http://blog.51cto.com/6753650/2142597

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!