| error in tns connection [message #317747] |
Sat, 03 May 2008 00:47  |
mbhavin Messages: 30 Registered: May 2008 Location: INDIA |
Member |

|
|
i am getting this error when i try to connect to rman 8.1.7.1.1
to my hrdb database which is in 9.2.x.x
i am trying to connect from command prompt
rman target sys/pwd@hrdb
error
******************************************************************
Recovery Manager: Release 8.1.7.1.1 - Production
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
|
|
|
| Re: error in tns connection [message #317749 is a reply to message #317747 ] |
Sat, 03 May 2008 01:09   |
Michel Cadot Messages: 17697 Registered: March 2007 Location: Nanterre, France, http://... |
Senior Member |
|
|
| Quote: | ORA-12154: TNS:could not resolve the connect identifier specified
Cause: A connection to a database or other service was requested using a connect identifier, and the connect identifier specified could not be resolved into a connect descriptor using one of the naming methods configured. For example, if the type of connect identifier used was a net service name then the net service name could not be found in a naming method repository, or the repository could not be located or reached.
Action:
- If you are using local naming (TNSNAMES.ORA file):
- Make sure that "TNSNAMES" is listed as one of the values of the NAMES.DIRECTORY_PATH parameter in the Oracle Net profile (SQLNET.ORA)
- Verify that a TNSNAMES.ORA file exists and is in the proper directory and is accessible.
- Check that the net service name used as the connect identifier exists in the TNSNAMES.ORA file.
- Make sure there are no syntax errors anywhere in the TNSNAMES.ORA file. Look for unmatched parentheses or stray characters. Errors in a TNSNAMES.ORA file may make it unusable.
- If you are using directory naming:
- Verify that "LDAP" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
- Verify that the LDAP directory server is up and that it is accessible.
- Verify that the net service name or database name used as the connect identifier is configured in the directory.
- Verify that the default context being used is correct by specifying a fully qualified net service name or a full LDAP DN as the connect identifier
- If you are using easy connect naming:
- Verify that "EZCONNECT" is listed as one of the values of the NAMES.DIRETORY_PATH parameter in the Oracle Net profile (SQLNET.ORA).
- Make sure the host, port and service name specified are correct.
- Try enclosing the connect identifier in quote marks. See the Oracle Net Services Administrators Guide or the Oracle operating system specific guide for more information on naming.
|
Regards
Michel
|
|
|
|
|
| Re: error in tns connection [message #317785 is a reply to message #317763 ] |
Sat, 03 May 2008 09:31   |
Michel Cadot Messages: 17697 Registered: March 2007 Location: Nanterre, France, http://... |
Senior Member |
|
|
| Quote: | please tell me where i might have been mistaken even my tnsname.ora is perfectly
|
Are you sure? Some times it seems OK but it is not (like a "}" instead of a ")" hard to see the difference at first sight)
Are you sure you use the correct tnsnames.ora (check TNSADMIN variable, local tnsnames.ora, in /etc or /var/opt/oracle, in ?/network/admin)?
Are you sure you have no other naming methods in sqlnet.ora?
Regards
Michel
[Updated on: Sat, 03 May 2008 09:31]
|
|
|
|
| Re: error in tns connection [message #318021 is a reply to message #318008 ] |
Mon, 05 May 2008 06:22   |
Michel Cadot Messages: 17697 Registered: March 2007 Location: Nanterre, France, http://... |
Senior Member |
|
|
| Quote: | what thing i need to check so that i can come out of this problem
|
All the points I mentioned and you didn't answer.
For the other errors, my telescope is broken and I can't see over your shoulder.
Regards
Michel
|
|
|
|
| Re: error in tns connection [message #318151 is a reply to message #318148 ] |
Mon, 05 May 2008 22:58   |
Michel Cadot Messages: 17697 Registered: March 2007 Location: Nanterre, France, http://... |
Senior Member |
|
|
| Michel Cadot wrote on Sat, 03 May 2008 16:31 | | Quote: | please tell me where i might have been mistaken even my tnsname.ora is perfectly
|
Are you sure? Some times it seems OK but it is not (like a "}" instead of a ")" hard to see the difference at first sight)
Are you sure you use the correct tnsnames.ora (check TNSADMIN variable, local tnsnames.ora, in /etc or /var/opt/oracle, in ?/network/admin)?
Are you sure you have no other naming methods in sqlnet.ora?
|
Answer all these questions.
Regards
Michel
|
|
|
|
|
| Re: error in tns connection [message #318245 is a reply to message #318240 ] |
Tue, 06 May 2008 03:59   |
Michel Cadot Messages: 17697 Registered: March 2007 Location: Nanterre, France, http://... |
Senior Member |
|
|
| Quote: | there was some compatibiliy problem
|
which ones? Please share your experience with us.
| Quote: | if i wan't to do point in time recovery of the tablespace without shutting down the database then is it possible
|
It depends on what your really want to achieve.
Point in time recovery is not a goal in itself.
Regards
Michel
|
|
|
|
| Re: error in tns connection [message #318603 is a reply to message #318596 ] |
Wed, 07 May 2008 04:46   |
Michel Cadot Messages: 17697 Registered: March 2007 Location: Nanterre, France, http://... |
Senior Member |
|
|
Dropping a user lead to a multiple a internal small transactions.
Aborting in the middle may in inconsistencies in memory structures. And it seems you are in this case.
I don't see no other way than to restart the database to solve this.
Regards
Michel
|
|
|
|
|
| Re: error in tns connection [message #318614 is a reply to message #318605 ] |
Wed, 07 May 2008 05:44   |
Michel Cadot Messages: 17697 Registered: March 2007 Location: Nanterre, France, http://... |
Senior Member |
|
|
Start a topic per question.
This one begins to be a real mess unusable for anyone else.
What is the relation between "error in tns connection", drop user, backup tables, error in database creation, "no such file or directory", tablespace recovery...
Regards
Michel
|
|
|
| Re: error in tns connection [message #318620 is a reply to message #318614 ] |
Wed, 07 May 2008 06:00  |
mbhavin Messages: 30 Registered: May 2008 Location: INDIA |
Member |

|
|
i am new to this forum usage so sorry for not describing the correct format ok ,
i thought i can ask any queries that i came accross
|
|
|