配置zabbix proxy代理时出错:failed to update local proxy configuration copy: dat
3008:20130804:230634.344 query failed: Cannot delete or update a parent row: a foreign key constraint fails (`zabbix`.`opgroup`, CONSTRAINT `c_opgroup_2` FOREIGN KEY (`groupid`) REFERENCES `groups` (`groupid`)) [delete from groups where groupid in (1,2,4);delete from dchecks where dcheckid=2;
delete from drules where druleid=2;
delete from interface where interfaceid=1;
delete from hosts where (hostid between 10065 and 10079 or hostid in (10047,10056,10060,10081,10082,10083,10084));
]
3008:20130804:230634.344 failed to update local proxy configuration copy: database error 主服务器与代理各自用本地数据库,导入数据库文件也成功了的,访问用户权限测试正常。
shell> mysql -u<username> -p<password> zabbix < database/mysql/schema.sql
shell> mysql -u<username> -p<password> zabbix < database/mysql/images.sql
shell> mysql -u<username> -p<password> zabbix < database/mysql/data.sql
现在不知道哪里出错了。
页:
[1]