RMAN-03002,ORA-27191报错
作者:互联网
**背景:恢复数据库控制文件报错**
**报错内容如下:**
```bash
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 06/30/2021 10:44:56
ORA-27191: sbtinfo2 returned error
Additional information: 3480
RMAN>
Recovery Manager complete.
```
**卸载重新安装NBU8.1客户端**
```bash
卸载步骤
# rpm -e VRTSnbclt
error: Failed dependencies:
VRTSnbclt >= 8.1.1.0 is needed by (installed) VRTSnbjava-8.1.1.0-1517731851.x86_64
VRTSnbclt >= 8.1.1.0 is needed by (installed) VRTSnbcfg-8.1.1.0-1517731820.x86_64
先卸载两个依赖包
# rpm -e VRTSnbjava-8.1.1.0-1517731851.x86_64
# rpm -e VRTSnbcfg-8.1.1.0-1517731820.x86_64
NBU客户端服务可以不用停在卸载
# rpm -e VRTSnbclt
再删除安装目录/usr/openv
# rm -rf /usr/openv
```
**安装NBU8.1客户端**
```bash
需要重新获取token(这边获取需要找管理NBU服务器人员重新获取)
1.删除之前NBU Server上的缓存(10.20.142.1)
# /usr/openv/netbackup/bin/bpclntcmd -clear_host_cache
2.在克隆的NBU客户端上执行/usr/openv/netbackup/bin/nbcertcmd -deleteAllCertificates 删除已有的认证,此步骤可能需要停止NBU服务或者卸载重装二选一
3.检查是否能获取CA证数认证
# /usr/openv/netbackup/bin/nbcertcmd -getCAcertificate
CA certificate stored successfully from server GD-PS-NBUAP.
4.这一步不要卸载将新获取的token输入进入
# /usr/openv/netbackup/bin/nbcertcmd -getCertificate -token -server GD-PS-NBUAP
Authorization Token: 输入新获取的token
5.检查是否与NBU Server建立连接输出如下内容
# /usr/openv/netbackup/bin/bpclntcmd -pn
expecting response from server GD-PS-NBUAP
GDVADMTOLBDB *NULL* 10.20.30.174 51290
6.查看NBU Client版本
# more /usr/openv/netbackup/bin/version
NetBackup-SuSE3.0.76 8.1.1
```
重新获取的token安装客户端还是报错
==到NBU Server服务器上查看原因是另一台主机10.20.30.174对应之前的主机名GDVUOLBDB现在主机名修改成GDVADMTOLBDB删除之前的对应内容==
再重新获取token安装
标签:8.1,bin,NBU,token,报错,usr,27191,RMAN,openv 来源: https://blog.51cto.com/u_14224160/2957424