適用於資料庫和應用程式的 NetWorker 模組 9.x 精靈 RMAN 還原失敗,並顯示訊息 ORA-12514

Summary: 適用於資料庫和應用程式的 NetWorker 模組 (NMDA) 9.x 精靈 Oracle Recovery Manager (RMAN) 還原失敗,並顯示訊息 ORA-12514。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

使用 NMDA 9.x 精靈建立 RMAN 還原時,還原回原始資料庫作為備份來源可能會失敗,並出現下列錯誤:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of startup command at 01/13/2017 19:32:34
ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Recovery Manager complete.

Cause

在精靈選項期間選擇「 」時,可能會出現此問題,是否要軟體在執行恢復之前關閉目標資料庫並以掛載模式啟動資料庫?如果使用者選擇“是”,並且正在使用 Oracle 資料庫身份驗證連接到目標資料庫,則 Oracle 偵聽器必須具有目標資料庫的有效條目。

Resolution

使用 Oracle netmgrnetca 工具,為目標資料庫添加資料庫偵聽位置。若要確保正確完成此操作,可以在資料庫關閉時使用 CLI 連接到目標資料庫進行驗證。

比如:
PS C:\> rman target user/passwd@SID

Recovery Manager: Release 12.1.0.2.0 - Production on Thu Jan 19 16:01:11 2017
 
Copyright (c) 1982, 2014, Oracle and/or its affiliates.  All rights reserved.
 
connected to target database (not started)

RMAN>
或者,使用操作系統身份驗證連接到目標資料庫(適用於 UNIX 或 Linux),或者不要在嚮導選項期間關閉目標資料庫。
Article Properties
Article Number: 000056705
Article Type: Solution
Last Modified: 22 Sept 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.