Hi,
I've installed Zabbix 2.2 on a new server (CentOS 6). Everything seems OK but when I run zabbix Server it fails attempting to upgrade my database
I don't know why
Who could help?
Thanks
5748:20131115:113855.789 Starting Zabbix Server. Zabbix 2.2.0 (revision 40163).
5748:20131115:113855.798 ****** Enabled features ******
5748:20131115:113855.799 SNMP monitoring: YES
5748:20131115:113855.799 IPMI monitoring: YES
5748:20131115:113855.799 WEB monitoring: YES
5748:20131115:113855.799 VMware monitoring: YES
5748:20131115:113855.799 Jabber notifications: YES
5748:20131115:113855.799 Ez Texting notifications: YES
5748:20131115:113855.799 ODBC: YES
5748:20131115:113855.799 SSH2 support: YES
5748:20131115:113855.799 IPv6 support: YES
5748:20131115:113855.799 ******************************
5748:20131115:113855.799 using configuration file: /etc/zabbix/zabbix_server.conf
5748:20131115:113856.006 current database version (mandatory/optional): 02010000/02010000
5748:20131115:113856.006 required mandatory version: 02020000
5748:20131115:113856.006 starting automatic database upgrade
5748:20131115:113856.036 completed 0% of database upgrade
5748:20131115:113856.068 completed 1% of database upgrade
5748:20131115:113856.122 completed 2% of database upgrade
5748:20131115:113856.182 completed 3% of database upgrade
...
5748:20131115:113901.331 completed 36% of database upgrade
5748:20131115:113901.465 completed 37% of database upgrade
5748:20131115:113901.714 [Z3005] query failed: [1005] Can't create table 'zabbix.#sql-b6a_684' (errno: 150) [alter table application_template add constraint c_application_template_1 foreign key (applicationid) references applications (applicationid) on delete cascade]
5748:20131115:113901.714 database upgrade failed
I've installed Zabbix 2.2 on a new server (CentOS 6). Everything seems OK but when I run zabbix Server it fails attempting to upgrade my database
I don't know why
Who could help?
Thanks
5748:20131115:113855.789 Starting Zabbix Server. Zabbix 2.2.0 (revision 40163).
5748:20131115:113855.798 ****** Enabled features ******
5748:20131115:113855.799 SNMP monitoring: YES
5748:20131115:113855.799 IPMI monitoring: YES
5748:20131115:113855.799 WEB monitoring: YES
5748:20131115:113855.799 VMware monitoring: YES
5748:20131115:113855.799 Jabber notifications: YES
5748:20131115:113855.799 Ez Texting notifications: YES
5748:20131115:113855.799 ODBC: YES
5748:20131115:113855.799 SSH2 support: YES
5748:20131115:113855.799 IPv6 support: YES
5748:20131115:113855.799 ******************************
5748:20131115:113855.799 using configuration file: /etc/zabbix/zabbix_server.conf
5748:20131115:113856.006 current database version (mandatory/optional): 02010000/02010000
5748:20131115:113856.006 required mandatory version: 02020000
5748:20131115:113856.006 starting automatic database upgrade
5748:20131115:113856.036 completed 0% of database upgrade
5748:20131115:113856.068 completed 1% of database upgrade
5748:20131115:113856.122 completed 2% of database upgrade
5748:20131115:113856.182 completed 3% of database upgrade
...
5748:20131115:113901.331 completed 36% of database upgrade
5748:20131115:113901.465 completed 37% of database upgrade
5748:20131115:113901.714 [Z3005] query failed: [1005] Can't create table 'zabbix.#sql-b6a_684' (errno: 150) [alter table application_template add constraint c_application_template_1 foreign key (applicationid) references applications (applicationid) on delete cascade]
5748:20131115:113901.714 database upgrade failed

Comment