[oracle@rac11g1 ~]$ rman target haha/haha@rac11g
Recovery Manager: Release 11.2.0.3.0 - Production on Mon Jul 29 23:27:12 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
Recovery Manager: Release 11.2.0.3.0 - Production on Mon Jul 29 23:27:12 2013
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privileges
环境是rac双节点
这个问题解决的有点崎岖,要求如下:从其他机器可以远程上来备份恢复,且不允许使用sys用户
1、创建用户haha
2、赋予sysdba
3、报如上错误
解决:如果是rac,所有的节点都需要给该用户赋予sysdba。且密码文件要存在!
我这个问题解决了半下午,就是因为测试了所有的东西,却没注意rac的另外节点是否给该用户赋予了sysdba!
是否所有节点可查询
select * from gv$pwfile_users;