1. 程式人生 > >zabbix配置報錯

zabbix配置報錯

red crash comm gist ive rac etc centos with

系統:
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配置報錯