From: James O. <jo...@re...> - 2004-08-21 18:46:36
|
I get this error everytime I try to update /create deletion policys in the database: [root@mon-01 bin]# ./perfparse-db-tool --reset_host_delete_policy test-wms-app "UPDATE perfdata_host SET raw_delete_policy_type = 'template', bin_delete_policy_type = 'template', raw_delete_policy_name = 'Raw Default', bin_delete_policy_name = 'Bin Default' WHERE host_name = 'test-wms-app'" failed: Cannot add or update a child row: a foreign key constraint fails Any ideas what is causing this? I have upgraded to perfparse 0.99.09, and previously was running 99.07. I have been getting this error since I first installed perfparse. There is currently no data in the delete policy tables. James |