Skip to Main Content

Berkeley DB Family

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Why does RMAN automatically attempt to connect to the database?

RuthsarianOct 12 2021

I am on a RHEL server with Oracle 19c. I issue the command 'rman' with no parameters. I am expecting to receive an RMAN> prompt at which point I can issue a connect command.
However RMAN immediately connects to whatever database I have specified by ORACLE_SID. Furthermore, if I unset ORACLE_SID and issue an 'rman' command with no parameters, I get an 'ORA_12162: TNS:net service name is incorrectly specified' error and no RMAN> prompt.
Why is this happening and how can I prevent rman from automatically attempting to connect to a database at startup?

Comments

Post Details

Added on Oct 12 2021
0 comments
269 views