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 - 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 - 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 - 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]$
Who is Participating?
slightwv (䄆 Netminder)Connect With a Mentor 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


If you are trying to do something else, please explain what it is you are trying to do.
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
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
7 new features that'll make your work life better

It’s our mission to create a product that solves the huge challenges you face at work every day. In case you missed it, here are 7 delightful things we've added recently to monday to make it even more awesome.

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
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.
jcob_lAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.