Solved

RMAN

Posted on 2006-10-23
2
734 Views
Last Modified: 2013-12-11
When I type rman Target sys/password@oracle_sid

I get the following error:

Recovery Manager: Release 9.2.0.1.0 - 64bit Production

Copyright (c) 1995, 2002, Oracle Corporation.  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-12154: TNS:could not resolve service name


I don't know how to resolve this error. The listener and the database are running.
0
Comment
Question by:sikyala
2 Comments
 
LVL 8

Accepted Solution

by:
Pierrick LOUBIER earned 500 total points
ID: 17796581
Assuming OS authentification is enabled, you just have to set your environment variable ORACLE_SID on the database server, then :
rman target /

If you wish to use Oracle Net authentification, or if you must connect from a remote client (not directly on the DB server), you have to edit the file TNSNAMES.ORA located in <ORACLE_HOME>/network/admin and configure host, port and service to reach.
0
 

Author Comment

by:sikyala
ID: 17796610
You are right the problem was I didn't have a tnsnames.ora file. Once I created it and put an entry for the database in it. RMAN worked. Thank You!
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
Via a live example, show how to take different types of Oracle backups using RMAN.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now