Q

ORA-12545 error message at login

When I tried to log in to a database on Oracle 9i I received an error message, "ORA-12545."

When I tried to log in to a database on Oracle 9i I received an error message, "ORA-12545." I checked for faults in the dns setup by pinging databasename on the cmd prompt but it was running OK. Can you suggest a solution to this?
This error usually indicates that the TCP/IP protocol cannot resolve a host name. You may have a syntax error in your tnsnames.ora file, specifically in the ADDRESS parameters. Your tnsnames.ora file on the client you are attempting to connect from should look similar to this …
ORCL =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server_a)(PORT = 1521))
    (CONNECT_DATA = (SERVICE_NAME = orcl)
    )
  )
The most likely cause of this error is that the HOST name is incorrect or misspelled. If the HOST name is correct, confirm that this host exists by typing 'nslookup hostname' at the operating system command prompt. If the host does exist and your attempt to connect still fails, add the HOST name and IP address into your local hosts file and attempt to connect again. If this still fails, try replacing the HOST name in your tnsnames.ora file with the server's IP address and attempt to connect again.

If these suggestions do not resolve your problem, you should turn on Oracle Net tracing to gather further information

that may assist in troubleshooting. The Oracle9i Release 2 (9.2) Net Services Administrator's Guide includes a section on troubleshooting Oracle net services.

This was first published in February 2007

Dig deeper on Oracle database installation, upgrades and patches

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close