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!

RMAN - ORA-12154 TNS:could not resolve service name

Status
Not open for further replies.

RogersJ

Technical User
Apr 23, 2003
11
US
I have an Oracle 9.2.0.5 database on HPUX-11.0

When the target database is open I can connect to it using RMAN and sqlplus.

Now that I want to perform a recovery of the control file the database is in nomount mode.

I can still connect with sqlplus, but when I connect using RMAN I get:
ORA-12154 TNS:could not resolve service name

Lsnrctl status shows a status of blocked for this database.


Any help would be great.

Jan
 
I expect the database shold be mounted although not neccessarily open to connect with RMAN.
 
Most probably your RMAN is launched from another ORACLE_HOME: this error clearly states that tnsnames.ora file used by rman doesn't contain an appropriate entry. You may either add that entry or make rman to use another (correct) tnsnames.ora file by seting TNS_ADMIN environment variable.

Regards, Dima
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top