After updating zabbix proxy to version 2.0.1 (from 1.8.12) it refuses to update configuration from server:
9263:20120707:203204.581 Received configuration data from server. Datalen 151068
9263:20120707:203204.774 [Z3005] query failed: [1452] Cannot add or update a child row: a foreign key constraint fails (`zabbix`.`config`, CONSTRAINT `c_config_2` FOREIGN KEY (`discovery_groupid`) REFERENCES `groups` (`groupid`)) [insert into config (configid,refresh_unsupported,discovery_groupid,snmptrap_logging) values (1,600,0,1);]
9263:20120707:203204.774 failed to update local proxy cofiguration copy: database error
At first, i've upgraded the database using sql script from the sources. Then, after seeing this error, i've dropped the database and loaded it from the scratch from schema.sql,
but the error remained the same.
The server is 2.0.1 already and working fine.
- is duplicated by
-
ZBX-7504 Adding a passive proxy fails with a foreign key restraint error
- Closed