Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help...insufficient privileges error...

Status
Not open for further replies.

Chewie71

MIS
Sep 4, 2001
89
US
Greetings,

I'm trying to setup a second db server using RMAN DUPLICATE. I've gotten the connection working, but it seems my sysdba user on the auxiliary box doesn't have the right privileges to it's own database? I've created the password file in $ORACLE_HOME/dbs so that shouldn't be the problem.

$ rman target sys/syspass@dbname

...gets this result...

RMAN-00554: initialization of internal recovery manager package failed
RMAN-04005: error from target database:
ORA-01031: insufficient privileges

Going into SQLPlus...
$ sqlplus /nolog
SQL> connect sys/syspass@dbname as sysdba

gets this result...

ERROR:
ORA-01031: insufficient privileges


Any help is appreciated...

Thanks,
Matt
 
I think I figured it out. I guess an empty database has to be in place first so you can assign a PW to SYSDBA? I created one with dbca then went through the duplicate steps and it seems to be fine now.

Nowhere in the RMAN duplicate stuff I was looking at did it say the db had to be pre-created. I figured going through all the steps and precreating the directories, pfile/spfile, and orapw file was it, and RMAN would take care of the rest.

Guess not...

Thanks,
Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top