Zabbix 3.0 upgrading databases to zabbix3.4

Source: Internet
Author: User
Error message:
[Z3005] Query failed: [1091] Can ' t DROP ' id '; Check that column/key exists [ALTER TABLE history_text drop column ID]
Slow query:62.783980 sec, "ALTER TABLE history_text drop column ID"

Here's how to fix it:
1. Login database, expand the ID field of Zabbix history_text table

Use Zabbix;
ALTER TABLE History_text Add ID bigint (unsigned) not NULL;

2. Kill the Zabbix_server process

Ps-ef |grep Zabbx_server|awk ' {print $} ' |xargs kill-9

3. Start
/usr/local/zabbix/sbin/zabbix_server-c/usr/local/zabbix/etc/zabbix_server.conf

Zabbix 3.0 upgrading databases to zabbix3.4

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.