RMAN connection [message #663599] |
Sat, 10 June 2017 14:12 |
|
prash2017
Messages: 14 Registered: June 2017
|
Junior Member |
|
|
When I tried for :
$ : rman target sys/oracle@trgt
$ : rman catalog rman/rman@catdb
doesnot work. Error is:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
ORA-12523: TNS:listener could not find instance appropriate for the client connection
but when tried separately:
$. oraenv
$ :trgt
$ :rman target /
rman>exit
$ :. oraenv
$ :catdb
$ :rman catalog rman/rman
which works. But it is not useful for practicals with CATALOG, DUPLICATE etc..
Please reply..
|
|
|
Re: RMAN connection [message #663600 is a reply to message #663599] |
Sat, 10 June 2017 14:18 |
|
Michel Cadot
Messages: 68731 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Welcome to the forum.
Please read OraFAQ Forum Guide and How to use [code] tags and make your code easier to read.
Also always post your Oracle version, with 4 decimals, as solution depends on it.
Copy and paste your RMAN session, the WHOLE session, like that:
>rman target /
Recovery Manager: Release 11.2.0.4.0 - Production on Sam. Juin 10 21:16:21 2017
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: MIKB2 (DBID=288523517)
RMAN> exit
Recovery Manager complete.
>rman catalog rman/rman@catdb
Recovery Manager: Release 11.2.0.4.0 - Production on Sam. Juin 10 21:16:45 2017
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
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-12154: TNS:could not resolve the connect identifier specified
This will let no doubt about what you do and get.
[Updated on: Sat, 10 June 2017 14:18] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Re: RMAN connection [message #663610 is a reply to message #663609] |
Sat, 10 June 2017 23:46 |
|
Michel Cadot
Messages: 68731 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Michel Cadot wrote on Sat, 10 June 2017 21:18
Welcome to the forum.
Please read OraFAQ Forum Guide and How to use [code] tags and make your code easier to read.
Also always post your Oracle version, with 4 decimals, as solution depends on it.
Copy and paste your RMAN session, the WHOLE session, like that:
>rman target /
Recovery Manager: Release 11.2.0.4.0 - Production on Sam. Juin 10 21:16:21 2017
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
connected to target database: MIKB2 (DBID=288523517)
RMAN> exit
Recovery Manager complete.
>rman catalog rman/rman@catdb
Recovery Manager: Release 11.2.0.4.0 - Production on Sam. Juin 10 21:16:45 2017
Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
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-12154: TNS:could not resolve the connect identifier specified
This will let no doubt about what you do and get.
|
|
|
|
|
|
|
|
|
|
Re: RMAN connection [message #663624 is a reply to message #663621] |
Sun, 11 June 2017 12:29 |
John Watson
Messages: 8963 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
It looks as though your catdb database is not dynamically registered with the listener. Is it actually started? On what machine? Can you connect to it with SQL*Plus?
|
|
|
Re: RMAN connection [message #663625 is a reply to message #663621] |
Sun, 11 June 2017 12:42 |
John Watson
Messages: 8963 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
And another thing - why are you requesting a pooled connection rather than a dedicated connection? If you have not configured a database resident connection pool, it won't work.
|
|
|
|
|
|
Re: RMAN connection [message #663643 is a reply to message #663621] |
Mon, 12 June 2017 07:32 |
|
EdStevens
Messages: 1376 Registered: September 2013
|
Senior Member |
|
|
prash2017 wrote on Sun, 11 June 2017 10:09Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pc01.localdomain)(PORT=1521)))
Services Summary...
Service "CATDB" has 1 instance(s).
Instance "CATDB", status UNKNOWN, has 1 handler(s) for this service...
Service "Oracle8" has 1 instance(s).
Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
Service "TRGT" has 1 instance(s).
Instance "TRGT", status UNKNOWN, has 1 handler(s) for this service...
Service "TRGT1" has 1 instance(s).
Instance "TRGT1", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
You seem to have difficulty following directions. I asked for "copying the entire command and entire result, and pasting the text into your message?" (emphasis mine, here). So why did you not do as asked? the part you left out could also contain useful information. This entire thread has been an exercise in near-futility with people asking you for very specific information, and you continually giving incomplete responses ...
|
|
|