- 论坛徽章:
- 0
|
如题,新装的RHEL71,RPM安装好MYSQL 5.7.16和需要PHP包,配置好zabbix_server.conf的数据库项后,启动总出错。换用RHEL7.0就没问题!!!有谁搞定的,请指教。
zabbix_server.conf配置如下:
- [root@localhost Zabbix]# egrep -v '(^#|^$)' /etc/zabbix/zabbix_server.conf
- LogFile=/var/log/zabbix/zabbix_server.log
- LogFileSize=0
- PidFile=/var/run/zabbix/zabbix_server.pid
- DBName=zabbix
- DBUser=zabbix
- DBPassword=zabbix123
- DBSocket=/var/lib/mysql/mysql.sock
- StartPollers=5
- VMwareCacheSize=256M
- SNMPTrapperFile=/var/log/snmptt/snmptt.log
- AlertScriptsPath=/usr/lib/zabbix/alertscripts
- ExternalScripts=/usr/lib/zabbix/externalscripts
复制代码
zabbix_server.log内容如下:
- 23620:20161013:124455.080 Starting Zabbix Server. Zabbix 2.2.15 (revision 62888).
- 23620:20161013:124455.080 ****** Enabled features ******
- 23620:20161013:124455.080 SNMP monitoring: YES
- 23620:20161013:124455.080 IPMI monitoring: YES
- 23620:20161013:124455.080 WEB monitoring: YES
- 23620:20161013:124455.080 VMware monitoring: YES
- 23620:20161013:124455.080 Jabber notifications: YES
- 23620:20161013:124455.080 Ez Texting notifications: YES
- 23620:20161013:124455.080 ODBC: YES
- 23620:20161013:124455.081 SSH2 support: YES
- 23620:20161013:124455.081 IPv6 support: YES
- 23620:20161013:124455.081 ******************************
- 23620:20161013:124455.081 using configuration file: /etc/zabbix/zabbix_server.conf
- 23620:20161013:124455.081 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ...
- 23620:20161013:124457.085 syncing history data...
- 23620:20161013:124457.085 syncing history data done
- 23620:20161013:124457.085 syncing trends data...
- 23620:20161013:124457.085 syncing trends data done
- zabbix_server [23620]: [file:'log.c',line:236] lock failed: [22] Invalid argument
- zabbix_server [23620]: [file:'log.c',line:236] lock failed: [22] Invalid argument
- 23624:20161013:124505.125 Starting Zabbix Server. Zabbix 2.2.15 (revision 62888).
- 23624:20161013:124505.126 ****** Enabled features ******
- 23624:20161013:124505.126 SNMP monitoring: YES
- 23624:20161013:124505.126 IPMI monitoring: YES
- 23624:20161013:124505.126 WEB monitoring: YES
- 23624:20161013:124505.126 VMware monitoring: YES
- 23624:20161013:124505.126 Jabber notifications: YES
- 23624:20161013:124505.126 Ez Texting notifications: YES
- 23624:20161013:124505.126 ODBC: YES
- zabbix_server [23624]: [file:'log.c',line:236] lock failed: [43] Identifier removed
- 23651:20161013:124635.284 Starting Zabbix Server. Zabbix 2.2.15 (revision 62888).
- 23651:20161013:124635.284 ****** Enabled features ******
- 23651:20161013:124635.285 SNMP monitoring: YES
- 23651:20161013:124635.285 IPMI monitoring: YES
- 23651:20161013:124635.285 WEB monitoring: YES
- 23651:20161013:124635.285 VMware monitoring: YES
- 23651:20161013:124635.285 Jabber notifications: YES
- 23651:20161013:124635.285 Ez Texting notifications: YES
- 23651:20161013:124635.285 ODBC: YES
- 23651:20161013:124635.285 SSH2 support: YES
- 23651:20161013:124635.285 IPv6 support: YES
- 23651:20161013:124635.285 ******************************
- 23651:20161013:124635.285 Got signal [signal:15(SIGTERM),sender_pid:1,sender_uid:0,reason:0]. Exiting ...
- zabbix_server [23624]: [file:'log.c',line:236] lock failed: [43] Identifier removed
复制代码
|
|