rman error

[oracle@newmac bin]$ export ORACLE_HOME=/oracle/app/oracle/product/11.2.0/db
[oracle@newmac bin]$ export ORACLE_SID=post
[oracle@newmac bin]$ cd /oracle/app/oracle/product/11.2.0/db
[oracle@newmac db]$ TNS_ADMIN=/oracle/app/oracle/product/11.2.0/db/network/admin
[oracle@newmac db]$ tnsping post

TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 23-SEP-2013 12:41:47

Copyright (c) 1997, 2009, Oracle.  All rights reserved.

Used parameter files:


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = newmac)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = post)))
OK (60 msec)
[oracle@newmac db]$ ./rman catalog rman/rman@post target /
bash: ./rman: No such file or directory
[oracle@newmac db]$ rman catalog rman/rman@post target /

Recovery Manager: Release 11.2.0.1.0 - Production on Mon Sep 23 12:42:51 2013

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

connected to target database: POST (DBID=4292858366)
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00554: initialization of internal recovery manager package failed
RMAN-04004: error from recovery catalog database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
[oracle@newmac db]$ lsnrctl start

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 23-SEP-2013 12:43:06

Copyright (c) 1991, 2009, Oracle.  All rights reserved.

TNS-01106: Listener using listener name LISTENER has already been started
[oracle@newmac db]$
jcob_lAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

slightwv (䄆 Netminder) Commented:
The target and catalog are pointing to the same database:  POST.

I don't believe you can do this.

If you are trying to back up the rman catalog database, check the online docs:

Backing Up the Recovery Catalog

http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmcatdb.htm#i1011365

If you are trying to do something else, please explain what it is you are trying to do.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jcob_lAuthor Commented:
post is different database..

rman catalog is in test

we want to register post datbase in rman catalog in test db


which step I make error
0
slightwv (䄆 Netminder) Commented:
>>rman catalog is in test


Then you should set your ORACLE_SID to test not post.

re: [oracle@newmac bin]$ export ORACLE_SID=post
0
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

jcob_lAuthor Commented:
I did so far this much

what is next

[oracle@newmac dbs]$ export ORACLE_SID=test
[oracle@newmac dbs]$ export ORACLE_HOME=/oracle/app/oracle/product/11.2.0/db[oracle@newmac dbs]$ TNS_ADMIN=/oracle/app/oracle/product/11.2.0/db/network/admin
[oracle@newmac dbs]$ TNS_ADMIN=/oracle/app/oracle/product/11.2.0/db/network/admin
0
slightwv (䄆 Netminder) Commented:
>>what is next

Depends on what you are trying to do.

If you want to connect with rman and the catalog, then the command you have is fine.

The issue was 'TARGET /' connects to whatever your ORACLE_SID is set to.  In your initial post, that was POST.
0
jcob_lAuthor Commented:
ok
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.