It is also possible that the database has not registered with the listener. Try restarting the database and try...
connecting again to see whether this resolves the problem. Note that it can take 60 seconds for a database to register with a listener.
Finally, check the sqlnet.ora file to determine whether NAMES.DIRECTORY_PATH = (HOSTNAME). Comment this line out and try connecting again. When this parameter is set to HOSTNAME, SQL*Plus is using only the hostname to attempt to identify the remote database SID and resolve the address.
Dig Deeper on Oracle database installation, upgrades and patches
Related Q&A from Maria Anderson
We would like to migrate our database from Oracle 8.1.7 to Oracle 10g. We would like to know the impact for our application developed using Delphi ...continue reading
Can I use /var/opt/oracle/oratab to specify listener information?continue reading
I have been trying to install Oracle 8.1.7 on SUSE Linux 9.0 and got the error: "Error in invoking target install of makefile /opt/oracle/...../*.mk."continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.