メインコンテンツまでスキップ

データベーススキーマが更新されていないため、更新後にAIQUMサービスを開始できませんでした

Views:
2
Visibility:
Public
Votes:
0
Category:
active-iq-unified-manager
Specialty:
OM
Last Updated:

環境

  • Active IQ Unified Manager(AIQUM)9.6以降
  • OnCommand Unified Manager(OCUM)9.5以降
  • すべてのOSプラットフォーム

問題

  • AIQUMを更新すると、AIQUMサービスが失敗します。
  • のメッセージは /var/log/ocum/ocumserver.log 、データベースが更新されなかったことを示しています。

2023-08-31 11:07:17,734 ERROR [oncommand] [ServerService Thread Pool -- 118] [o.s.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataSourceInformationServiceImpl': Unsatisfied dependency expressed through field 'dataSourceCacheService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataSourceCacheService': Unsatisfied dependency expressed through field 'ontapConnectionInfoProvider'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataSourceManager': Unsatisfied dependency expressed through field 'dataSourceEntityManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'dataSourceEntityManager': Unsatisfied dependency expressed through field 'session'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'hibernateSessionProxyFactoryBean': Unsatisfied dependency expressed through field 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'migrationVersionVerifier': Invocation of init method failed; nested exception is java.lang.IllegalStateException: The database schema is not up to date.  Run the 'db update' tool to bring the schema up to date.

  • でデータベースのセットアップエラーが発生しました /var/log/ocum/dbsetup.log

2023-08-31 11:05:35,721 DEBUG [main] [c.n.dfm.migrations.DbMain] Database setup error
org.springframework.dao.TransientDataAccessResourceException: StatementCallback; SQL [DROP DATABASE IF EXISTS test;]; (conn=16) Schema 'test' does not exist, but schema directory './test/' was found. This must be resolved manually (e.g. by moving the schema directory to another location).; nested exception is java.sql.SQLTransientConnectionException: (conn=16) Schema 'test' does not exist, but schema directory './test/' was found. This must be resolved manually (e.g. by moving the schema directory to another location).

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.