跳转到主内容

将AIQUM Windows从9.12升级到9.13失败、并对UM执行数据库创建命令失败

Views:
3
Visibility:
Public
Votes:
0
Category:
active-iq-unified-manager<a>2009702414.</a>
Specialty:
om
Last Updated:

适用场景

  • ActiveIQ Unified Manager (AIQUM) 9.12.
  • Windows平台

问题描述

  • 将AIQUM Windows从9.12升级到9.13失败
  • 错误:

Database creation command failed for UM.Installer will exit now. Refer logs for more details

  • C:\ProgramData\NetApp\OnCommandAppData\ocum\log\dbsetup.log:
ERROR [main] [c.n.dfm.migrations.DbMain] Unexpected error: StatementCallback; SQL [ALTER TABLE ocum.alert_script_audit MODIFY snmpDestination VARCHAR(512)]; (conn=12) Cannot add or update a child row: a foreign key constraint fails (`ocum`.`#sql-2b6c_c`, CONSTRAINT `alert_script_audit_eventId_FK` FOREIGN KEY (`eventId`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT); nested exception is java.sql.SQLIntegrityConstraintViolationException: (conn=12) Cannot add or update a child row: a foreign key constraint fails (`ocum`.`#sql-2b6c_c`, CONSTRAINT `alert_script_audit_eventId_FK` FOREIGN KEY (`eventId`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT)
DEBUG [main] [c.n.dfm.migrations.DbMain] Database setup error
...
...
 
Caused by: java.sql.SQLIntegrityConstraintViolationException: (conn=12) Cannot add or update a child row: a foreign key constraint fails (`ocum`.`#sql-2b6c_c`, CONSTRAINT `alert_script_audit_eventId_FK` FOREIGN KEY (`eventId`) REFERENCES `event` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT)

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.