I've got zabbix on ubuntu 12.04 and when I did the upgrade, it's failing to handle the database upgrade. It was working perfectly before, and I can't find any reference to this error. Any one have ideas?
3026:20131113:090044.440 Starting Zabbix Server. Zabbix 2.2.0 (revision 40163).
3026:20131113:090044.440 ****** Enabled features ******
3026:20131113:090044.440 SNMP monitoring: YES
3026:20131113:090044.440 IPMI monitoring: YES
3026:20131113:090044.440 WEB monitoring: YES
3026:20131113:090044.440 VMware monitoring: YES
3026:20131113:090044.440 Jabber notifications: YES
3026:20131113:090044.440 Ez Texting notifications: YES
3026:20131113:090044.440 ODBC: YES
3026:20131113:090044.440 SSH2 support: YES
3026:20131113:090044.440 IPv6 support: YES
3026:20131113:090044.440 ******************************
3026:20131113:090044.440 using configuration file: /etc/zabbix/zabbix_server.conf
3026:20131113:090044.444 current database version (mandatory/optional): 02010040/02010040
3026:20131113:090044.444 required mandatory version: 02020000
3026:20131113:090044.444 starting automatic database upgrade
3026:20131113:090044.445 [Z3005] query failed: [1060] Duplicate column name 'state' [alter table items add state integer default '0' not null]
3026:20131113:090044.445 database upgrade failed
3026:20131113:090044.440 Starting Zabbix Server. Zabbix 2.2.0 (revision 40163).
3026:20131113:090044.440 ****** Enabled features ******
3026:20131113:090044.440 SNMP monitoring: YES
3026:20131113:090044.440 IPMI monitoring: YES
3026:20131113:090044.440 WEB monitoring: YES
3026:20131113:090044.440 VMware monitoring: YES
3026:20131113:090044.440 Jabber notifications: YES
3026:20131113:090044.440 Ez Texting notifications: YES
3026:20131113:090044.440 ODBC: YES
3026:20131113:090044.440 SSH2 support: YES
3026:20131113:090044.440 IPv6 support: YES
3026:20131113:090044.440 ******************************
3026:20131113:090044.440 using configuration file: /etc/zabbix/zabbix_server.conf
3026:20131113:090044.444 current database version (mandatory/optional): 02010040/02010040
3026:20131113:090044.444 required mandatory version: 02020000
3026:20131113:090044.444 starting automatic database upgrade
3026:20131113:090044.445 [Z3005] query failed: [1060] Duplicate column name 'state' [alter table items add state integer default '0' not null]
3026:20131113:090044.445 database upgrade failed
) then we could continue discussion.
Comment