檢視次數:

請依照以下步驟解決此問題:

  1. 確認資料庫中的 SQL Schema 版本是否與 Apex One 伺服器的 Critical Patch Build 版本相同。

    1. 在主控台檢查 Apex One 的 Build 與版本。前往 Help > About
    2. 檢查 Apex One 資料庫的 DB Schema 版本。
    3. 使用 Microsoft SQL Server Management Studio 登入資料庫。
    4. 執行 SQL 查詢:select * from TBL_OSCEDB_INFO
    5. Database Schema Version 會顯示在 KEYVALUE 欄位。以下為正常環境的範例:

      • 查詢 Database Schema Version:

        Database Schema

      • Apex One Build 與版本:

        Database Schema

  2. 如果 Apex One 資料庫的 Schema 版本與 Build 號不同,請執行以下操作:

    1. 確認資料庫伺服器為 SQL 2012 或以上版本,因為 SQL 2008 不受支援。
    2. 確認 Apex One 資料庫未啟用以下設定:

      • SQL Cluster
      • Mirroring
      • Apex One 資料庫在可用性群組中
      • SQLAlwaysOn
    3. 手動升級 Apex One 資料庫 Schema:

      1. 以系統管理員身分開啟 CMD,並切換至 C:\Program Files (x86)\Trend Micro\Apex One\PCCSRV\Admin\Utility\SQL
      2. 輸入 UpgradeSQLSchema.bat 並按下 Enter。
      3. 檢查 SqlMigration.log 確認指令執行成功。

      成功執行的日誌範例:

      Publishing to database 'ApexOne01' on server ‘SQL_SERVER’. Initializing deployment (Start) Initializing deployment (Complete) Analyzing deployment plan (Start) Analyzing deployment plan (Complete) Updating database (Start) Processed 14336 pages for database 'ApexOne01', file 'ApexOne01' on file 1. Processed 7 pages for database 'ApexOne01', file 'ApexOne01_log' on file 1. BACKUP DATABASE successfully processed 14343 pages in 2.045 seconds (54.793 MB/sec). Altering [dbo].[ofn_ConvertEngVerStr2Int]... Altering [dbo].[ofn_VersionCompare3DotString]... Altering [dbo].[osp_cb_dbQueryPolicyTrackingClientInfoData]... Altering [dbo].[osp_cb_dbSetScanConfig]... Altering [dbo].[osp_cb_dbUpdateAffectedClientStatLog]... Altering [dbo].[osp_cb_dbUpdateAllLogsToStatLogs]... Refreshing [dbo].[osp_cb_dbGetOutDateAgentCount]... Refreshing [dbo].[osp_cb_dbComputeClientUpdateStatus]... Update complete. Updating database (Complete) Successfully published database. 
    4. 如果問題仍然存在,請同時在受影響的 Apex One 伺服器與用戶端上執行 CDT,並在受影響的機器上執行「Update Now」,再將收集的日誌與附有時間戳記的錯誤截圖提供給 Trend Micro 技術支援 以取得進一步協助。