我在centos上编译zabbix 3.2(使用db2)
当我启用“DBSchema”配置时(在zabbix_server.conf中),zabbix_server无法启动。
我将zabbix服务器的调试级别更改为5,结果为:
tail -f /var/log/zabbix_server.log
4293:20170108:082441.986 In DBcheck_version()
4293:20170108:082441.986 In DBconnect() flag:0
4293:20170108:082441.998 query without transaction detected
4293:20170108:082441.999 query [txnlev:0] [set current schema='ZABBIX']
4293:20170108:082441.999 End of DBconnect():0
4293:20170108:082441.999 query [txnlev:0] [select 1 from syscat.tables where tabschema=user and lower(tabname)='dbversion']
4293:20170108:082442.031 DBcheck_version() "dbversion" does not exist
4293:20170108:082442.031 query [txnlev:0] [select 1 from syscat.columns where tabschema=user and lower(tabname)='config' and lower(colname)='server_check_interval']
4293:20170108:082442.051 Cannot upgrade database: the database must correspond to version 2.0 or later. Exiting ...
4293:20170108:082442.053 End of DBcheck_version():FAIL
我不知道这个问题。
已设置db2配置,并且每个操作都正常并且Web安装步骤已通过,但zabbix_server无法启动