target database connection error [message #293553] |
Mon, 14 January 2008 01:30 |
sushilkumarmohanty
Messages: 27 Registered: January 2008 Location: Bangalore
|
Junior Member |
|
|
hi all,
I am using Oracle 9.2.0 in solaris 8.
I have created one catalog database on a separate server and production is on separate.
when i am trying to connect to target database
RMAN> rman catalog lman/lman target sys/$4$@rman
instead of onnecting to target database it is onnecting to same catalog database.
can anybody tell me whatis the exact procedure to connect to target database in separate server.
Thank U.
|
|
|
|
|
Re: target database connection error [message #293568 is a reply to message #293558] |
Mon, 14 January 2008 02:28 |
sushilkumarmohanty
Messages: 27 Registered: January 2008 Location: Bangalore
|
Junior Member |
|
|
Hi,
When I am pinging
bash-2.03$ tnsping rman
TNS Ping Utility for Solaris: Version 9.2.0.1.0 - Production on 14-JAN-2008 07:3
8:20
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
/ora0/app/oracle/product/OraHome1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = flash)(PORT = 1521))) (CONNECT_DATA = (SID = rman) (SERVER = DEDICATED))
)
OK (40 msec)
My target server is flash.
My target and catalog databse both have same sid rman.
But when I am connecting using rman
bash-2.03$ rman catalog lman/lman target sys/$4$@rman
Recovery Manager: Release 9.2.0.1.0 - 64bit Production
Copyright (c) 1995, 2002, Oracle Corporation. All rights reserved.
connected to target database: RMAN (DBID=1529266785)
connected to recovery catalog database
Can you plz tell me how to solve this problem.
Thank U.
|
|
|
|
|
Re: target database connection error [message #293944 is a reply to message #293553] |
Tue, 15 January 2008 13:50 |
dzt52r
Messages: 19 Registered: July 2007 Location: PA
|
Junior Member |
|
|
on server where catalog database resides.
create an alias in tnsnames file, call it targrm that
points to target database.
then
rman catalog lman/lman target sys/$4$@targrm
This will connect you to both the catalog and target databases.
|
|
|