A description of the problem
Today, the Zabbix server and Zabbix proxy are upgraded to 3.2.1. First stop Zabbix server and upgrade Zabbix proxy and then upgrade Zabbix server. Zabbix Proxy Upgrade When there is no life error, can proceed smoothly. However, the following error was reported when upgrading Zabbix server:
4250:20161010:001506.980 using configuration file:/opt/app/zabbix/conf/zabbix_server.conf 4250:20161010:001506.998 Current database Version (mandatory/optional): 03000000/03000000 4250:20161010:001506.998 required Mandatory version: 03020000 4250:20161010:001506.998 starting automatic database Upgrade 4250:20161010:001507.010 [Z3005] Query failed: [10 [] Can ' t DROP ' history_log_2 '; Check that column/key exists [drop index history_log_2 on History_log] 4250:20161010:001507.011 database upgrade failed
Previously, a table partition was made to the Zabbix database.
Two problem solving
Reference Documentation:
http://john88wang.blog.51cto.com/2165294/1771082
https://zabbix.com/forum/showthread.php?p=189543
This article is from the Linux SA John blog, so be sure to keep this source http://john88wang.blog.51cto.com/2165294/1860011
Upgrade Zabbix to 3.2.1 Report Database upgrade failed error