Problem solve Get help with specific problems with your technologies, process and projects.

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 …
    (ADDRESS = (PROTOCOL = TCP)(HOST = server_a)(PORT = 1521))
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.

Dig Deeper on Oracle database installation, upgrades and patches

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.