I am in the process of configuring an RMAN backup. I created a recovery catalog. I get the following error while trying to connect to the target database as shown:
RMAN> connect target sys/xxxxx@oratest;

Error message is ORA-01031.

    Requires Free Membership to View

You are getting this error message because the account that you are trying to connect to does not have sufficient privileges. What you may not realize is that when RMAN connects to the target database, it connects as SYSDBA whether you indicate it or not. So right now, you are probably saying that there still shouldn't be a problem because SYS and sign on as SYSDBA. But your CONNECT command includes "@oratest". This means that you are not connecting locally. Even if the target database is on the same server, it is not considered a local connection this way. Since it is not a local connection, you must have configured your database to allow SYSDBA connections remotely. This is done by creating a password file with the ORAPWD utility. Then set REMOTE_LOGIN_PASSWORDFILE to EXCLUSIVE in your parameter file and bounce the database. You should now be able to connect SYS AS SYSDBA remotely and the above will not receive the ORA-1031 error message.

This was first published in March 2004

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: