cyrus 发表于 2019-1-19 08:43:40

zabbix配置报错

  系统:
CentOS release 6.8 (Final)
Server version: 5.7.22
zabbix-3.0.3
php-5.6.36
  MySQL是可以登陆的。已经在zabbix配置文件配置了。
#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
# /etc/init.d/zabbix_server start
Starting zabbix_server:                                    
# /etc/init.d/zabbix_server status
zabbix_server dead but subsys locked
#
  zabbix 日志
1040:20180714:213341.389 using configuration file: /etc/zabbix/zabbix_server.conf
1040:20180714:213341.390 connection to database 'zabbix' failed: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (13)1040:20180714:213341.391 Got signal . Crashing ...
1040:20180714:213341.391 ====== Fatal information: ======
  这怎么搞?



页: [1]
查看完整版本: zabbix配置报错