zabbix报错Unable to determine current Zabbix database version: the table “dbversion“ was not found.

报错如下

zabbix报错Unable to determine current Zabbix database version: the table “dbversion“ was not found.

 原因:数据库没有导入/create.sql.gz 文件

解决方法:

先找到create.sql.gz文件在哪

find / | grep create.sql.gz

zabbix报错Unable to determine current Zabbix database version: the table “dbversion“ was not found.

 然后执行

zcat /usr/share/doc/zabbix-server-mysql-4.0.46/create.sql.gz | mysql -uzabbix -pzabbix zabbix

-u 后面是用户名 -p 后面是密码

问题解决:

zabbix报错Unable to determine current Zabbix database version: the table “dbversion“ was not found.

 

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/dff897eccf.html