Some error of the Oracle connection TNS-03505 OR TNS-12541 (original)
Source: Internet
Author: User
connection|error|oracle| Original
(original) configuration Tnsname is a very easy problem, nothing to say, before also never missed, but today when the configuration of two small problems (these two problems are configured with the GUI will not come out, I think the Java startup is too slow, manual configuration Tnsname.ora appear)
C:\>tnsping 100
TNS Ping Utility for 32-bit windows:version 9.2.0.1.0-production on 15-oct-2004 12:38:38
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
F:\oracle\ora92\network\admin Qlnet.ora
Used HOSTNAME Adapter to resolve the alias
Attempting to Contacts (description= (Connect_data= (sid=*) (service_name=100)) (Address= (PROTOCOL=TCP) (HOST=100) (PORT =1521)))
Tns-12541:tns:no Listener
View server-side monitoring, lsnrctl status, results are normal
Absolutely right ....
*******************************************************************
Or is
C:\>tnsping 226
TNS Ping Utility for 32-bit windows:version 9.2.0.1.0-production on 15-oct-2004 12:40:12
Copyright (c) 1997 Oracle Corporation. All rights reserved.
Used parameter files:
F:\oracle\ora92\network\admin Qlnet.ora
tns-03505:failed to resolve name (meaning there is no 226 in file Tnsname.ora)
View Tnsname.ora
DESCRIPTION = (=
(Address_list =
(address = (PROTOCOL = TCP) (HOST = 192.168.6.226) (PORT = 1521))
)
(Connect_data =
(service_name = Oracas)
)
)
Absolutely right ...
Finally, the reason for the above two problems is that there should be more than one space in the front of TNS ... Cold, incredibly is this kind of mistake ...
So when you configure it, be careful about the details.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service