NetWorker:NMDA Oracle 备份:身份验证被拒绝(第 11 代数据库)。

Summary: NMDA Oracle 备份无法正确运行针对 Oracle 11g 数据库的命令前脚本。

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

Oracle 备份失败并显示错误:

Thu Oct 17 14:57:37 2024
Thu Oct 17 14:57:37 2024
Executing command: /usr/bin/nsr_pre_testSIST.sh
Set the signal's handler.
Cannot su to "oracle" : Authentication is denied.
Cannot su to "oracle" : Authentication is denied.
The command executed successfully: /usr/bin/nsr_pre_testSIST.sh
Reset the signal's handler.
Pre-processing command succeeded.

Cause

在 NMDA Oracle 备份期间, nsrdasv 使用 Oracle 的 API 连接数据库进行作系统身份验证。
在此过程中, nsrdasv 以 oracle 用户指定的身份使用 SYSBACKUP连接,后跟 SYSDBA(如果第一个连接不成功)。
当 nsrdasv 完成与数据库的连接后,它将恢复为 UID 0 (root) 并运行预命令脚本。 

问题出在没有 SYSBACKUP 角色的 Oracle DB 11g 上;在 SYSBACKUP 尝试失败后, nsrdasv无法将 uid/gid 恢复为“root”。
这会导致 nsrdasv 在尝试 SYSDBA 角色时保存不正确的作系统 uid/gid(oracle 的);恢复 UID 时,它会恢复到不正确的 UID/GID。

Resolution

此问题的代码修复在 19.12、19.10.0.7 和 19.11.0.3 版本中提供。

Affected Products

NetWorker Module for Databases and Applications

Products

NetWorker Family, NetWorker Module
Article Properties
Article Number: 000312013
Article Type: Solution
Last Modified: 07 Aug 2025
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.